Features ✨
-
get_lyrics
: Thanks to @alexmercerind we now haveget_lyrics
, which returns the lyrics for a given song. To retrieve the requiredbrowseId
, callget_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 passingfeedbackTokens
, 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 atracks
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 withget_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 updateget_liked_songs
now returns the correcttrackCount
(previously erroneously in theduration
field)- artist results returned by
search
now have abrowseId
again get_artist
works again with channel IDs returned byget_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)