Skip to content

A feature-rich command-line audio/video downloader

[ie/radiko] Fix bug with `downloader_options`

bashonlyb9316642313b
diff --git a/yt_dlp/extractor/radiko.py b/yt_dlp/extractor/radiko.py
index 8c8fb1a8f9..c363d9ba5f 100644
--- a/yt_dlp/extractor/radiko.py
+++ b/yt_dlp/extractor/radiko.py
@@ -154,7 +154,7 @@ class RadikoBaseIE(InfoExtractor):
sf['preference'] = -100
sf['format_note'] = 'not preferred'
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)
return formats