mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Fix problem with videos with no sound
This commit is contained in:
@ -88,7 +88,7 @@ def _choose_url(info, quality):
|
||||
|
||||
# Filter formats by file extension
|
||||
ext = 'mp4' if is_video else 'm4a'
|
||||
fmt_list = [x for x in info['formats'] if x['ext'] == ext]
|
||||
fmt_list = [x for x in info['formats'] if x['ext'] == ext and x['format_note'] != 'DASH video']
|
||||
if not len(fmt_list):
|
||||
return info['url']
|
||||
|
||||
|
Reference in New Issue
Block a user