Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
History
=======

v0.8.8
--------
* Bugfix: OAuth Client ID, secret updated - tehkillerbee_

v0.8.7
--------
* OAuth Client ID, secret updated - tehkillerbee_
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions examples/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <thomas.amland@googlemail.com>"]
maintainers = ["tehkillerbee <tehkillerbee@users.noreply.github.com>"]
Expand Down
2 changes: 1 addition & 1 deletion tidalapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
User,
)

__version__ = "0.8.7"
__version__ = "0.8.8"
12 changes: 4 additions & 8 deletions tidalapi/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down