Open djwurli opened 3 months ago
See the discussion on issue #721
Tidal has made some changes, but there is a workaround.
See the discussion on issue #721
Tidal has made some changes, but there is a workaround.
What is the workaround?
change the quality in your config from '3' to '2' or use the following command when you want to download something
rip -q 2 url
it will download 16 Bit FLAC but if you're alright with that this should work for now
the workaround also seems not to work anymore!
┌─────────────────────────────── Traceback (most recent call last) ────────────────────────────────┐
│ in _run_module_as_main:198 │
│ in _run_code:88 │
│ │
│ ... 18 frames hidden ... │
│ │
Programs\Python\Python311\Lib\site-packages\streamrip\cl │
│ ient\tidal.py:324 in _api_request │
│ │
│ 321 │ │ │
│ 322 │ │ async with self.rate_limiter: │
│ 323 │ │ │ async with self.session.get(f"{BASE}/{path}", params=params) as resp: │
│ > 324 │ │ │ │ resp.raise_for_status() │
│ 325 │ │ │ │ return await resp.json() │
│ 326 │
│ │
Programs\Python\Python311\Lib\site-packages\aiohttp\clie │
│ nt_reqrep.py:1059 in raise_for_status │
│ │
│ 1056 │ │ │ # reason should always be not None for a started response │
│ 1057 │ │ │ assert self.reason is not None │
│ 1058 │ │ │ self.release() │
│ > 1059 │ │ │ raise ClientResponseError( │
│ 1060 │ │ │ │ self.request_info, │
│ 1061 │ │ │ │ self.history, │
│ 1062 │ │ │ │ status=self.status, │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
ClientResponseError: 404, message='Not Found', url=URL('https://api.tidalhifi.com/v1/tracks/171571993?countryCode=AT&limit=100')
sys:1: RuntimeWarning: coroutine 'Playlist.download.
The workaround does indeed work for me. Does this only matter if you're paying for the higher tier subscription?
Describe the bug
first got the error message that a file could not be opened - so I changed the config to NOT to download and save the artwortk...but the error still persists, now with following message: ┌─────────────────────────────── Traceback (most recent call last) ────────────────────────────────┐ │ in _run_module_as_main:198 │ │ in _run_code:88 │ │ │ │ ... 19 frames hidden ... │ │ │ │ C:\Users\whillbrand\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py:337 in decode │ │ │ │ 334 │ │ containing a JSON document). │ │ 335 │ │ │ │ 336 │ │ """ │ │ > 337 │ │ obj, end = self.raw_decode(s, idx=_w(s, 0).end()) │ │ 338 │ │ end = _w(s, end).end() │ │ 339 │ │ if end != len(s): │ │ 340 │ │ │ raise JSONDecodeError("Extra data", s, end) │ │ │ │ C:\Users\whillbrand\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py:355 in │ │ raw_decode │ │ │ │ 352 │ │ try: │ │ 353 │ │ │ obj, end = self.scan_once(s, idx) │ │ 354 │ │ except StopIteration as err: │ │ > 355 │ │ │ raise JSONDecodeError("Expecting value", s, err.value) from None │ │ 356 │ │ return obj, end │ │ 357 │ └──────────────────────────────────────────────────────────────────────────────────────────────────┘ JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Command Used
Debug Traceback
Config File
Operating System
Windows 10
streamrip version
2.0.5
Screenshots and recordings
rip-error.txt
Additional context
No response