mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-24 17:56:38 +00:00
Add support for empty folder
This commit is contained in:
parent
64d4e93516
commit
cbe698b4b0
|
@ -367,5 +367,7 @@ def make_playlist(items, playlist_id):
|
||||||
)
|
)
|
||||||
title = json_folder_info[1][2]
|
title = json_folder_info[1][2]
|
||||||
items = json_items[-1]
|
items = json_items[-1]
|
||||||
|
if not isinstance(items, list):
|
||||||
|
return self.playlist_result([], folder_id, title)
|
||||||
|
|
||||||
return make_playlist(items, folder_id)
|
return make_playlist(items, folder_id)
|
||||||
|
|
Loading…
Reference in a new issue