From de32493da7de0d7c84ff2e31609f819f7611590a Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Mon, 2 Mar 2026 09:58:22 -0300 Subject: [PATCH] Use safe lookup for PSSH in seek table --- votify/interface/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/votify/interface/audio.py b/votify/interface/audio.py index 6141785..d3e5080 100644 --- a/votify/interface/audio.py +++ b/votify/interface/audio.py @@ -98,7 +98,7 @@ class SpotifyAudioInterface(SpotifyBaseInterface): file_id: str, ) -> str: seek_table_response = await self.api.get_seek_table(file_id) - pssh = seek_table_response["pssh_widevine"] + pssh = seek_table_response.get("pssh", seek_table_response.get("widevine_pssh")) logger.debug(f"Received PSSH: {pssh}")