From e5930173fbeb8ebf9a4d3e1aef9a0b6a1d218052 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Wed, 25 Feb 2026 21:58:17 -0300 Subject: [PATCH] Choose file_format from video_format --- votify/interface/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/votify/interface/video.py b/votify/interface/video.py index 8b70180..7fe45aa 100644 --- a/votify/interface/video.py +++ b/votify/interface/video.py @@ -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}")