Increase playlist count to 1000 by default if cannot get video count
This way, buttons will still appear even if there is a failure to read playlist metadata Fixes #220# Please enter the commit message for your changes. Lines starting
This commit is contained in:
parent
a0c51731af
commit
630e0137e0
@ -115,7 +115,7 @@ def get_playlist_page():
|
||||
|
||||
video_count = yt_data_extract.deep_get(info, 'metadata', 'video_count')
|
||||
if video_count is None:
|
||||
video_count = 40
|
||||
video_count = 1000
|
||||
|
||||
return flask.render_template(
|
||||
'playlist.html',
|
||||
|
Loading…
x
Reference in New Issue
Block a user