mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
handle dash formatless streams
This commit is contained in:
parent
ce50eaaac8
commit
7dd76a74b0
@ -661,7 +661,7 @@ class Media(models.Model):
|
|||||||
vformat = cformat
|
vformat = cformat
|
||||||
if vformat:
|
if vformat:
|
||||||
video_format = vformat['format'].lower()
|
video_format = vformat['format'].lower()
|
||||||
if ' ' in video_format or not video_format.lower().endswith('p'):
|
if 'dash' in video_format:
|
||||||
height = vformat.get('height', 0)
|
height = vformat.get('height', 0)
|
||||||
if height > 0:
|
if height > 0:
|
||||||
fmt.append(f'{height}p')
|
fmt.append(f'{height}p')
|
||||||
|
Loading…
Reference in New Issue
Block a user