mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
handle dash streams with no video stream
This commit is contained in:
parent
a1fe67f36c
commit
f2f2671cf1
@ -162,7 +162,7 @@ def parse_media_format(format_dict):
|
|||||||
if 'DASH' in format_str:
|
if 'DASH' in format_str:
|
||||||
is_hls = False
|
is_hls = False
|
||||||
is_dash = True
|
is_dash = True
|
||||||
if height > 0:
|
if height and height > 0:
|
||||||
height = f'{height}P'
|
height = f'{height}P'
|
||||||
else:
|
else:
|
||||||
format_str = None
|
format_str = None
|
||||||
|
Loading…
Reference in New Issue
Block a user