[ie/radiko] Fix bug with downloader_options

Closes #8333
Authored by: bashonly
This commit is contained in:
bashonly 2023-10-13 14:23:39 -05:00
parent feebf6d02f
commit b931664231
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -154,7 +154,7 @@ class RadikoBaseIE(InfoExtractor):
sf['preference'] = -100 sf['preference'] = -100
sf['format_note'] = 'not preferred' sf['format_note'] = 'not preferred'
if not is_onair and timefree_int == 1 and time_to_skip: if not is_onair and timefree_int == 1 and time_to_skip:
sf['downloader_options'] = {'ffmpeg_args': ['-ss', time_to_skip]} sf['downloader_options'] = {'ffmpeg_args': ['-ss', str(time_to_skip)]}
formats.extend(subformats) formats.extend(subformats)
return formats return formats