]> jfr.im git - yt-dlp.git/commitdiff
[ie/radiko] Fix bug with `downloader_options`
authorbashonly <redacted>
Fri, 13 Oct 2023 19:23:39 +0000 (14:23 -0500)
committerbashonly <redacted>
Fri, 13 Oct 2023 19:23:39 +0000 (14:23 -0500)
Closes #8333
Authored by: bashonly

yt_dlp/extractor/radiko.py

index 8c8fb1a8f90b2fc63df55245ee89c41ff67b1210..c363d9ba5f7b1763be56b3c3b9b1dcae14da01c0 100644 (file)
@@ -154,7 +154,7 @@ def _extract_formats(self, video_id, station, is_onair, ft, cursor, auth_token,
                     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