SpotiClub Patch v0.2.0
Some checks failed
CodeQL / Analyze (python) (push) Has been cancelled

This commit is contained in:
unknown
2025-12-17 22:37:14 +01:00
parent 1480047ecb
commit a1ca15f109
2 changed files with 2 additions and 1 deletions

View File

@@ -386,7 +386,7 @@ class AudioKeyManager(PacketsReceiver, Closeable):
if isinstance(country, str): if isinstance(country, str):
if AudioKeyManager._spoticlub_current_country != country: if AudioKeyManager._spoticlub_current_country != country:
AudioKeyManager._spoticlub_current_country = country AudioKeyManager._spoticlub_current_country = country
print(f"[SpotiClub API] Received {country} as the download country\n\n") print(f"\n\n[SpotiClub API] Received {country} as the download country\n\n")
new_serial = data.get("client_serial") new_serial = data.get("client_serial")
if isinstance(new_serial, str) and new_serial: if isinstance(new_serial, str) and new_serial:

View File

@@ -33,6 +33,7 @@ from Cryptodome.Signature import PKCS1_v1_5
from librespot import util from librespot import util
from librespot import Version from librespot import Version
from librespot.oauth import OAuth
from librespot.audio import AudioKeyManager from librespot.audio import AudioKeyManager
from librespot.audio import CdnManager from librespot.audio import CdnManager
from librespot.audio import PlayableContentFeeder from librespot.audio import PlayableContentFeeder