[Youtube] Add linked album for ytmusic searches
- [x] I carefully read the contribution guidelines and agree to them.
Adds the linked album to the song when doing a ytmusic search. This is a draft and the current change is not visible. Some questions:
- To expose the linked album for use, is it alright to modify StreamInfoItem to add a new method called getPlaylist?
- Currently the code just returns the browseId of the album, is there any preferred structure to also return the name of the album as well?
The browseId currently does nothing, hopefully I can try to get the browse endpoint working for ytmusic. I also plan to add a method to get the linked artist as well.
is this still in progress ?
Kind of, it has been a while so I have to see if the changes even work now.
I added a new method (getPlaylistId) to StreamInfoItem. This PR introduces an useful value for the playlistId only for youtube music searches which is the browseId.
A better idea might be to replace the playlistId with the url of the playlist?