Frequently asked questions for ytmusicapi
. Contributions are welcome, please submit a PR.
Please make sure that you don't have multiple Google accounts. ytmusicapi
might be returning results from a different account which is currently empty. You can set your account using X-Goog-AuthUser
in your headers file (numeric index) or by providing the id of a brand account with ytmusic = YTMusic(headers, "1234..")
. For more details see the reference
.
- songs: edit_song_library_status . Liking a song using rate_song does not add it to your library, only to your liked songs playlist.
- albums, playlists: rate_playlist
- artists: subscribe_artists . This will add the artist to your Subscriptions tab. The Artists tab is determined by the songs/albums you have added to your library.
- songs, videos:
RDAMVM
+videoId
- playlists, albums:
RDAMPL
+playlistId
Use get_watch_playlist_shuffle with the playlistId
or audioPlaylistId
(albums).
Call get_user_playlists with your own channelId
.
You can use youtube-dl for this purpose.
Yes. Videos are regular videos from YouTube, which can be uploaded by any user. Songs are actual songs uploaded by artists.
You can also add songs to your library, while you can't add videos.
There most certainly is, although you shouldn't run into it during normal usage. See related issues:
A browseId
is an internal, globally unique identifier used by YouTube Music for browsable content.