From 39f0e6428cf41dbfc6f3aa4103182bb19e98e075 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Thu, 26 Feb 2026 14:42:12 -0300 Subject: [PATCH] Fix playability check inversion --- votify/interface/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/votify/interface/interface.py b/votify/interface/interface.py index 8575a79..ebe9b32 100644 --- a/votify/interface/interface.py +++ b/votify/interface/interface.py @@ -49,7 +49,7 @@ class SpotifyInterface: if "__typename" in track_data and track_data["__typename"] != "Track": return VotifyMediaNotFoundException(track_id, track_data) - if track_data["playability"]["playable"]: + if not track_data["playability"]["playable"]: return VotifyMediaUnstreamableException(track_id, track_data) playback_info = await self.base.get_playback_info(