mirror of
https://github.com/glomatico/votify.git
synced 2026-10-15 12:22:20 +02:00
Use safe lookup for PSSH in seek table
This commit is contained in:
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user