Choose file_format from video_format

This commit is contained in:
Rafael Moraes
2026-02-25 21:58:17 -03:00
parent 97dfaad901
commit e5930173fb
+1 -1
View File
@@ -253,7 +253,7 @@ class SpotifyVideoInterface(SpotifyBaseInterface):
stream_url=video_urls,
widevine_pssh=widevine_pssh,
),
file_format="mp4",
file_format="mp4" if self.video_format == VideoFormat.MP4 else "webm",
)
logger.debug(f"Generated stream info: {stream_info}")