diff --git a/HISTORY.rst b/HISTORY.rst index a7db32c..66cb3ae 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,10 @@ History ======= +v0.8.8 +-------- +* Bugfix: OAuth Client ID, secret updated - tehkillerbee_ + v0.8.7 -------- * OAuth Client ID, secret updated - tehkillerbee_ diff --git a/docs/conf.py b/docs/conf.py index b357b28..86b080a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,7 +23,7 @@ author = "The tidalapi Developers" # The full version, including alpha/beta/rc tags -release = "0.8.7" +release = "0.8.8" # -- General configuration --------------------------------------------------- diff --git a/examples/simple.py b/examples/simple.py index bf62235..14a3817 100644 --- a/examples/simple.py +++ b/examples/simple.py @@ -20,7 +20,7 @@ import tidalapi from tidalapi import Quality -session_file1 = Path("tidal-session-oauth.json") +session_file1 = Path("tidal-session-oauthn.json") session = tidalapi.Session() # Load session from file; create a new OAuth session if necessary @@ -32,7 +32,7 @@ # Normal: Quality.low_320k (m4a 320k) # HiFi: Quality.high_lossless (FLAC) # HiFi+ Quality.hi_res_lossless (FLAC HI_RES) -session.audio_quality = Quality.high_lossless +session.audio_quality = Quality.hi_res_lossless # album_id = "77640617" # U2 / Achtung Baby (Max quality: HI_RES MQA, 16bit/44100Hz) # album_id = "110827651" # The Black Keys / Let's Rock (Max quality: LOSSLESS FLAC, 24bit/48000Hz) diff --git a/pyproject.toml b/pyproject.toml index 19f29b3..b1a029c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tidalapi" -version = "0.8.7" +version = "0.8.8" description = "Unofficial API for TIDAL music streaming service." authors = ["Thomas Amland "] maintainers = ["tehkillerbee "] diff --git a/tidalapi/__init__.py b/tidalapi/__init__.py index 6269019..b971258 100644 --- a/tidalapi/__init__.py +++ b/tidalapi/__init__.py @@ -17,4 +17,4 @@ User, ) -__version__ = "0.8.7" +__version__ = "0.8.8" diff --git a/tidalapi/session.py b/tidalapi/session.py index 11cccda..6e017c0 100644 --- a/tidalapi/session.py +++ b/tidalapi/session.py @@ -153,16 +153,12 @@ def __init__( # OAuth Client Authorization self.client_id = base64.b64decode( - base64.b64decode(b"V214bmVWTnVhR3RpVnpVdw==") - + base64.b64decode(b"VjJ4a1RFMUhiRFJXUVQwOQ==") + base64.b64decode(b"WmxneVNuaGtiVzUw") + + base64.b64decode(b"V2xkTE1HbDRWQT09") ).decode("utf-8") self.client_secret = base64.b64decode( - base64.b64decode( - b"VFZVMWRVOVZSbTFTUlVaeFpVaEtibE5yV2t0WmEzUlBWakI0YkZGWQ==" - ) - + base64.b64decode( - b"YkV4U01WcElZbFZzVDJSV2FGRlZSWGhKVm14b1FtUnVhRUphZWpBOQ==" - ) + base64.b64decode(b"TVU1dU9VRm1SRUZxZUhKblNrWktZa3RPVjB4bFFY") + + base64.b64decode(b"bExSMVpIYlVsT2RWaFFVRXhJVmxoQmRuaEJaejA9") ).decode("utf-8") # If client_secret not supplied, fall back to client_id (matching original behavior)