sigma67 / ytmusicapi

Unofficial API for YouTube Music
https://ytmusicapi.readthedocs.io
MIT License
1.76k stars 209 forks source link

get_playlist: fix title for podcast episodes (#622) #623

Closed czifumasa closed 4 months ago

czifumasa commented 4 months ago

Quick fix for get_playlist method. Some playlist items had None as a title. (#622)

After refactor in (#612), title is resolved using watchEndpoint. Podcast episodes do not have one. They have browseEndpoint with pageType = MUSIC_PAGE_TYPE_NON_MUSIC_AUDIO_TRACK_PAGE instead.

sigma67 commented 4 months ago

Hi @czifumasa thanks for your persistence here.

On the weekend I also played around with get_playlist and found that for suggestions only, the author is not parsed correctly using your approach. Maybe you can have a look if you have time.