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

This commit is contained in:
czifumasa 2024-07-15 17:41:27 +02:00 • committed by GitHub
commit c39bb328a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,6 +137,9 @@ def parse_playlist_item(
album_index = index
elif page_type == "MUSIC_PAGE_TYPE_USER_CHANNEL":
user_channel_indexes.append(index)
# Non music videos, for example: podcast episodes
elif page_type == "MUSIC_PAGE_TYPE_NON_MUSIC_AUDIO_TRACK_PAGE":
title_index = index
# Extra check for rare songs, where artist is non-clickable and does not have navigationEndpoint
if artist_index is None and unrecognized_index is not None: