mirror of
https://github.com/glomatico/votify.git
synced 2026-10-02 22:12:21 +02:00
Restrict audio format check to mp4 and flac
This commit is contained in:
@@ -71,7 +71,7 @@ class SpotifyAudioInterface(SpotifyBaseInterface):
|
||||
)
|
||||
|
||||
if (
|
||||
audio_quality.file_format != "mp4"
|
||||
audio_quality.file_format not in {"mp4", "flac"}
|
||||
or audio_quality.premium
|
||||
and not self.api.premium_session
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user