github sigma67/ytmusicapi 0.12.0
v0.12.0

latest releases: 1.7.0, 1.6.0, 1.5.4...
3 years ago

Features ✨

  • get_lyrics: Thanks to @alexmercerind we now have get_lyrics, which returns the lyrics for a given song. To retrieve the required browseId, call get_watch_playlist to get the corresponding

  • edit_song_library_status: Adding songs to library is now possible. YouTube Music recently separated this feature from the Like Button for individual songs. You can now add or remove songs from your library by passing feedbackTokens, which are returned by endpoints that return songs (search,get_playlist,get_library_songs,get_album)

Changes ⚒

  • BREAKING get_watch_playlist no longer directly returns a list of tracks. Instead, a dictionary is now returned with a tracks key containing the same data it returned before. This change was made to provide additional data returned by the next endpoint, which can now be used with get_lyrics
  • get_song result now has a category field (thanks @maraid )

Fixes 🐞

  • search results parsing was broken by a YouTube Music update on December 16. 0.12.0 fixes any errors introduced by this update
  • get_liked_songs now returns the correct trackCount (previously erroneously in the duration field)
  • artist results returned by search now have a browseId again
  • get_artist works again with channel IDs returned by get_library_artists (future plans include a separate endpoint to list the songs in the library by a specific artist, a recently introduced YouTube Music feature)

Don't miss a new ytmusicapi release

NewReleases is sending notifications on new releases.