Skip to content

Apple Music MCP v0.22.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 07:49
668f486

Long playlists and big libraries are no longer silently cut off. Fixes from @melodysium (#78, #79).

Fixed

What Before Now
playlist tracks on a long playlist (macOS) Stopped at 500 tracks, said the playlist had 500, offset couldn't go further Real total (1-500 of 2253 tracks), offset pages to the end, a note says how to get the rest
playlist list with many playlists Text output stopped at 200 with no notice Every playlist, with limit/offset paging
Other text listings over 200 items (albums, artists) Stopped at 200 with no notice Every item
playlist copy Copied only the first 500 tracks Copies every track, and fails if the playlist changes mid-read
playlist delete audit log Logged at most 500 tracks Logs the real count
filter on playlist tracks (macOS) Searched only the first 500 tracks Searches the whole playlist
  • A track titled total: … can't hide itself from a listing or a copy.
  • A filtered playlist tracks read fails if the playlist changes mid-read, rather than reporting a short count as complete.
  • Reading a big page or a whole playlist goes 500 tracks per Music.app call, so it stays under the AppleScript timeout.
  • Windows/Linux add and remove: if Apple throttled a later page while reading a playlist, the read returned only the earlier pages as if they were the whole playlist. add could then report tracks that did land as dropped and miss duplicates, and remove could say a track wasn't there. Now a failed read is reported as one: add stops instead of skipping its duplicate check (pass allow_duplicates=True to add anyway), and remove says it couldn't read the playlist.

Changed

  • playlist now defaults to limit=500, on every OS. limit=0 means every track or playlist. macOS already returned 500 tracks by default; on Windows and Linux a call with no limit used to return the whole playlist. In text output the header and a closing note show when there's more. JSON and CSV hold just the page.
  • export follows limit. Pass limit=0 to export a whole playlist.