mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-02 05:07:55 +01:00
playlist_title is optional
This commit is contained in:
parent
603bce83e1
commit
686f8f60ba
@ -601,8 +601,10 @@ class RaiPlayRadioPlaylistIE(RaiPlayRadioBaseIE):
|
|||||||
entry.update({
|
entry.update({
|
||||||
'track': entry['title'],
|
'track': entry['title'],
|
||||||
'track_number': index,
|
'track_number': index,
|
||||||
'album': playlist_title,
|
'artist': playlist_creator,
|
||||||
'artist': playlist_creator})
|
})
|
||||||
|
if playlist_title:
|
||||||
|
entry['album'] = playlist_title
|
||||||
|
|
||||||
return self.playlist_result(
|
return self.playlist_result(
|
||||||
entries, playlist_id, playlist_title, playlist_description)
|
entries, playlist_id, playlist_title, playlist_description)
|
||||||
|
Loading…
Reference in New Issue
Block a user