kennethreitz
Integrates with Apple Music on macOS using Python and AppleScript to enable music playback control, library searching, playlist creation, and metadata retrieval.
Start playback in Music (iTunes).
Pause playback in Music (iTunes).
Skip to the next track.
Return to the previous track.
Search the Music library for tracks whose names contain the given query. Returns a list of tracks formatted as "Track Name - Artist".
Play the first track whose name exactly matches the given song name. Returns a confirmation message.
Create a new playlist with the given name and add tracks to it. 'songs' should be a comma-separated list of exact track names. Returns a confirmation message including the number of tracks added.
Return a summary of the Music library, including total tracks and user playlists.
Get information about the currently playing track. Returns the track name, artist, and album.
Get a list of all songs in the Music library. Returns a formatted list of all tracks with their names and artists.
No additional configuration required