get_library_sections_by_section_id_nearest
Find audio tracks in a Plex library section closest to a given music analysis. Specify section ID, type, values, limit, and max distance to retrieve tracks with similar audio characteristics.
Instructions
The nearest audio tracks.
GET /library/sections/{sectionId}/nearest
Args:
section_id: Section identifier
type: The metadata type to fetch (should be 10 for audio track)
values: The music analysis to center the search. Typically obtained from the musicAnalysis of a track
limit: The limit of the number of items to fetch; defaults to 50
max_distance: The maximum distance to search, defaults to 0.25
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| limit | No | ||
| values | No | ||
| section_id | Yes | ||
| max_distance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |