Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Deezer Ripping issue #774

Open
Appmeurtre opened this issue Nov 20, 2024 · 2 comments
Open

[BUG] Deezer Ripping issue #774

Appmeurtre opened this issue Nov 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Appmeurtre
Copy link

Describe the bug

I cannot rip audio from deezer with a premium account

Command Used

rip lastfm https://www.last.fm/user/ylmzart/playlists/13135508

Debug Traceback

[14:27:21] DEBUG    Showing all debug logs                                                                    cli.py:102
⠹ Logging into soundcloud[14:27:25] DEBUG    Current valid client_id='Bzi0o0nRG6RkdZROE3o4Rsq32X0n7J9E' app_version='1732092953' soundcloud.py:52
           DEBUG    Fetching lastfm playlist                                                             playlist.py:333
🌘  Searching for last.fm tracks (0 found, 0 failed, 62 total)[14:27:33] DEBUG    Found result for Since I've Been Loving You - Remaster Led Zeppelin on deezer        playlist.py:288
🌑  Searching for last.fm tracks (1 found, 0 failed, 62 total)[14:27:34] DEBUG    Found result for Lonely Is the Word - 2009 Remaster Black Sabbath on deezer          playlist.py:288
🌒  Searching for last.fm tracks (2 found, 0 failed, 62 total)           DEBUG    Found result for Heaven and Hell - 2009 Remaster Black Sabbath on deezer             playlist.py:288
🌔  Searching for last.fm tracks (3 found, 0 failed, 62 total)           DEBUG    Found result for Lady Evil - 2009 Remaster Black Sabbath on deezer                   playlist.py:288
🌕  Searching for last.fm tracks (4 found, 0 failed, 62 total)[14:27:35] DEBUG    Found result for Hot for Teacher Van Halen on deezer                                 playlist.py:288
🌗  Searching for last.fm tracks (5 found, 0 failed, 62 total)           DEBUG    Found result for Howlin' At The Moon Josh Steinhart on deezer                        playlist.py:288
🌖  Searching for last.fm tracks (6 found, 0 failed, 62 total)[14:27:36] DEBUG    Found result for Stargazer Rainbow on deezer                                         playlist.py:288
🌘  Searching for last.fm tracks (7 found, 0 failed, 62 total)           DEBUG    Found result for Man on the Silver Mountain Rainbow on deezer                        playlist.py:288
🌑  Searching for last.fm tracks (8 found, 0 failed, 62 total)           DEBUG    Found result for Epitaph - Including "March For No Reason" And "Tomorrow And         playlist.py:288
                    Tomorrow" King Crimson on deezer
🌔  Searching for last.fm tracks (9 found, 0 failed, 62 total)           DEBUG    Found result for Don't Try So Hard - 2011 Remaster Queen on deezer                   playlist.py:288
🌕  Searching for last.fm tracks (10 found, 0 failed, 62 total)[14:27:37] DEBUG    Found result for Shine On You Crazy Diamond, Pts. 1-5 - 2011 Remaster Pink Floyd on  playlist.py:288
                    deezer
🌗  Searching for last.fm tracks (11 found, 0 failed, 62 total)           DEBUG    Found result for To Live Is to Fight Almora on deezer                                playlist.py:288
🌖  Searching for last.fm tracks (12 found, 0 failed, 62 total)           DEBUG    Found result for Rocket Queen Guns N' Roses on deezer                                playlist.py:288
🌒  Searching for last.fm tracks (13 found, 0 failed, 62 total)           DEBUG    Found result for Kill the Pain Accept on deezer                                      playlist.py:288
🌕  Searching for last.fm tracks (14 found, 0 failed, 62 total)[14:27:38] DEBUG    Found result for Stone Cold Crazy - Remastered 2011 Queen on deezer                  playlist.py:288
🌗  Searching for last.fm tracks (15 found, 0 failed, 62 total)           DEBUG    Found result for Tarot Woman Rainbow on deezer                                       playlist.py:288
🌑  Searching for last.fm tracks (16 found, 0 failed, 62 total)           DEBUG    Found result for Strife Trivium on deezer                                            playlist.py:288
🌓  Searching for last.fm tracks (17 found, 0 failed, 62 total)           DEBUG    Found result for War Eternal Arch Enemy on deezer                                    playlist.py:288
🌕  Searching for last.fm tracks (18 found, 0 failed, 62 total)           DEBUG    Found result for Forsaken Dream Theater on deezer                                    playlist.py:288
🌖  Searching for last.fm tracks (19 found, 0 failed, 62 total)[14:27:39] DEBUG    Found result for It's So Easy Guns N' Roses on deezer                                playlist.py:288
🌑  Searching for last.fm tracks (20 found, 0 failed, 62 total)           DEBUG    Found result for Cemetery Gates Pantera on deezer                                    playlist.py:288
🌓  Searching for last.fm tracks (21 found, 0 failed, 62 total)           DEBUG    Found result for Children of the Sea - 2009 Remaster Black Sabbath on deezer         playlist.py:288
🌕  Searching for last.fm tracks (22 found, 0 failed, 62 total)           DEBUG    Found result for Hard Skool Guns N' Roses on deezer                                  playlist.py:288
🌘  Searching for last.fm tracks (23 found, 0 failed, 62 total)           DEBUG    Found result for She's Gone Steelheart on deezer                                     playlist.py:288
🌑  Searching for last.fm tracks (24 found, 0 failed, 62 total)           DEBUG    Found result for Love Me Forever Motörhead on deezer                                 playlist.py:288
🌓  Searching for last.fm tracks (25 found, 0 failed, 62 total)[14:27:40] DEBUG    Found result for Oceans of Time Axel Rudi Pell on deezer                             playlist.py:288
🌖  Searching for last.fm tracks (26 found, 0 failed, 62 total)           DEBUG    Found result for Wither Dream Theater on deezer                                      playlist.py:288
🌘  Searching for last.fm tracks (27 found, 0 failed, 62 total)           DEBUG    Found result for Burden Opeth on deezer                                              playlist.py:288
🌗  Searching for last.fm tracks (28 found, 0 failed, 62 total)           DEBUG    Found result for Forever and One (Neverland) Helloween on deezer                     playlist.py:288
🌒  Searching for last.fm tracks (29 found, 0 failed, 62 total)[14:27:41] DEBUG    Found result for Face Of Melinda (Remastered) Opeth on deezer                        playlist.py:288
🌔  Searching for last.fm tracks (30 found, 0 failed, 62 total)           DEBUG    Found result for Catch the Rainbow Rainbow on deezer                                 playlist.py:288
🌖  Searching for last.fm tracks (31 found, 0 failed, 62 total)           DEBUG    Found result for Forever Angel Axel Rudi Pell on deezer                              playlist.py:288
🌘  Searching for last.fm tracks (32 found, 0 failed, 62 total)           DEBUG    Found result for Hey Hey My My Axel Rudi Pell on deezer                              playlist.py:288
🌑  Searching for last.fm tracks (33 found, 0 failed, 62 total)           DEBUG    Found result for Neon Knights - 2009 Remaster Black Sabbath on deezer                playlist.py:288
🌔  Searching for last.fm tracks (34 found, 0 failed, 62 total)[14:27:42] DEBUG    Found result for Why Don't You Stay Glenn Hughes on deezer                           playlist.py:288
🌖  Searching for last.fm tracks (35 found, 0 failed, 62 total)           DEBUG    Found result for All The Fools Sailed Away Dio on deezer                             playlist.py:288
🌗  Searching for last.fm tracks (36 found, 0 failed, 62 total)           DEBUG    Found result for Mississippi Queen Mountain on deezer                                playlist.py:288
🌒  Searching for last.fm tracks (37 found, 0 failed, 62 total)           DEBUG    Found result for Mind Your Manners (feat. Myles Kennedy and The Conspirators) Slash  playlist.py:288
                    on deezer
🌔  Searching for last.fm tracks (38 found, 0 failed, 62 total)           DEBUG    Found result for Do Your Worst Rival Sons on deezer                                  playlist.py:288
🌗  Searching for last.fm tracks (39 found, 0 failed, 62 total)           DEBUG    Found result for Long Live Rock N Roll Rainbow on deezer                             playlist.py:288
🌑  Searching for last.fm tracks (40 found, 0 failed, 62 total)[14:27:43] DEBUG    Found result for School's Out Alice Cooper on deezer                                 playlist.py:288
🌓  Searching for last.fm tracks (41 found, 0 failed, 62 total)           DEBUG    Found result for Bible Black Heaven & Hell on deezer                                 playlist.py:288
🌕  Searching for last.fm tracks (42 found, 0 failed, 62 total)           DEBUG    Found result for Don't Talk to Strangers Dio on deezer                               playlist.py:288
🌑  Searching for last.fm tracks (43 found, 0 failed, 62 total)           DEBUG    Found result for Atom And Evil Heaven & Hell on deezer                               playlist.py:288
🌓  Searching for last.fm tracks (44 found, 0 failed, 62 total)           DEBUG    Found result for Beyond the Realms of Death Judas Priest on deezer                   playlist.py:288
🌔  Searching for last.fm tracks (45 found, 0 failed, 62 total)[14:27:44] DEBUG    Found result for Bay of Pigs Civil War on deezer                                     playlist.py:288
🌖  Searching for last.fm tracks (46 found, 0 failed, 62 total)           DEBUG    Found result for Dream On Gregg Bissonette on deezer                                 playlist.py:288
🌖  Searching for last.fm tracks (47 found, 0 failed, 62 total)           DEBUG    Found result for The Last In Line Dio on deezer                                      playlist.py:288
🌘  Searching for last.fm tracks (48 found, 0 failed, 62 total)           DEBUG    Found result for Never In My Life Mountain on deezer                                 playlist.py:288
🌒  Searching for last.fm tracks (49 found, 0 failed, 62 total)[14:27:45] DEBUG    Found result for Gimme Back My Bullets Lynyrd Skynyrd on deezer                      playlist.py:288
🌑  Searching for last.fm tracks (50 found, 0 failed, 62 total)           DEBUG    Found result for Till the End Motörhead on deezer                                    playlist.py:288
🌔  Searching for last.fm tracks (51 found, 0 failed, 62 total)           DEBUG    Found result for Lady Writer Dire Straits on deezer                                  playlist.py:288
🌖  Searching for last.fm tracks (52 found, 0 failed, 62 total)[14:27:46] DEBUG    Found result for Estranged Guns N' Roses on deezer                                   playlist.py:288
🌘  Searching for last.fm tracks (53 found, 0 failed, 62 total)           DEBUG    Found result for You've Got Another Thing Coming Judas Priest on deezer              playlist.py:288
🌑  Searching for last.fm tracks (54 found, 0 failed, 62 total)           DEBUG    Found result for Thank God I'm Not You Himalayas on deezer                           playlist.py:288
🌔  Searching for last.fm tracks (55 found, 0 failed, 62 total)           DEBUG    Found result for Coming Back To Life - 2011 Remaster Pink Floyd on deezer            playlist.py:288
🌖  Searching for last.fm tracks (56 found, 0 failed, 62 total)           DEBUG    Found result for American Life Primus on deezer                                      playlist.py:288
🌗  Searching for last.fm tracks (57 found, 0 failed, 62 total)           DEBUG    Found result for Die Young - 2009 Remaster Black Sabbath on deezer                   playlist.py:288
🌑  Searching for last.fm tracks (58 found, 0 failed, 62 total)           DEBUG    Found result for Wishing Well - 2009 Remaster Black Sabbath on deezer                playlist.py:288
🌓  Searching for last.fm tracks (59 found, 0 failed, 62 total)[14:27:47] DEBUG    Found result for Starless King Crimson on deezer                                     playlist.py:288
🌕  Searching for last.fm tracks (60 found, 0 failed, 62 total)           DEBUG    Found result for As Long As It's Not About Love Dio on deezer                        playlist.py:288
           DEBUG    Removing dirs set()                                                                    artwork.py:19
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Program Files\Python310\lib\site-packages\requests\models.py:974 in json                      │
│                                                                                                  │
│    971 │   │   │   │   │   raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)                    │
│    972 │   │                                                                                     │
│    973 │   │   try:                                                                              │
│ ❱  974 │   │   │   return complexjson.loads(self.text, **kwargs)                                 │
│    975 │   │   except JSONDecodeError as e:                                                      │
│    976 │   │   │   # Catch JSON-related errors and raise as requests.JSONDecodeError             │
│    977 │   │   │   # This aliases json.JSONDecodeError and simplejson.JSONDecodeError            │
│                                                                                                  │
│ ╭───────── locals ──────────╮                                                                    │
│ │ kwargs = {}               │                                                                    │
│ │   self = <Response [403]> │                                                                    │
│ ╰───────────────────────────╯                                                                    │
│                                                                                                  │
│ C:\Program Files\Python310\lib\json\__init__.py:346 in loads                                     │
│                                                                                                  │
│   343 │   if (cls is None and object_hook is None and                                            │
│   344 │   │   │   parse_int is None and parse_float is None and                                  │
│   345 │   │   │   parse_constant is None and object_pairs_hook is None and not kw):              │
│ ❱ 346 │   │   return _default_decoder.decode(s)                                                  │
│   347 │   if cls is None:                                                                        │
│   348 │   │   cls = JSONDecoder                                                                  │
│   349 │   if object_hook is not None:                                                            │
│                                                                                                  │
│ ╭─────────────── locals ───────────────╮                                                         │
│ │               cls = None             │                                                         │
│ │                kw = {}               │                                                         │
│ │       object_hook = None             │                                                         │
│ │ object_pairs_hook = None             │                                                         │
│ │    parse_constant = None             │                                                         │
│ │       parse_float = None             │                                                         │
│ │         parse_int = None             │                                                         │
│ │                 s = 'HTTP_FORBIDDEN' │                                                         │
│ ╰──────────────────────────────────────╯                                                         │
│                                                                                                  │
│ C:\Program Files\Python310\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)                                    │
│                                                                                                  │
│ ╭───────────────────────────────── locals ──────────────────────────────────╮                    │
│ │   _w = <built-in method match of re.Pattern object at 0x000001FBECC8C6C0> │                    │
│ │    s = 'HTTP_FORBIDDEN'                                                   │                    │
│ │ self = <json.decoder.JSONDecoder object at 0x000001FBECCB8B50>            │                    │
│ ╰───────────────────────────────────────────────────────────────────────────╯                    │
│                                                                                                  │
│ C:\Program Files\Python310\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                                                                                            │
│                                                                                                  │
│ ╭──────────────────────────── locals ────────────────────────────╮                               │
│ │  idx = 0                                                       │                               │
│ │    s = 'HTTP_FORBIDDEN'                                        │                               │
│ │ self = <json.decoder.JSONDecoder object at 0x000001FBECCB8B50> │                               │
│ ╰────────────────────────────────────────────────────────────────╯                               │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Program Files\Python310\lib\runpy.py:196 in _run_module_as_main                               │
│                                                                                                  │
│   193 │   main_globals = sys.modules["__main__"].__dict__                                        │
│   194 │   if alter_argv:                                                                         │
│   195 │   │   sys.argv[0] = mod_spec.origin                                                      │
│ ❱ 196 │   return _run_code(code, main_globals, None,                                             │
│   197 │   │   │   │   │    "__main__", mod_spec)                                                 │
│   198                                                                                            │
│   199 def run_module(mod_name, init_globals=None,                                                │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │   alter_argv = False                                                                         │ │
│ │         code = <code object <module> at 0x000001FBEA6E8870, file "C:\Program                 │ │
│ │                Files\Python310\Scripts\rip.exe\__main__.py", line 1>                         │ │
│ │ main_globals = {                                                                             │ │
│ │                │   '__name__': '__main__',                                                   │ │
│ │                │   '__doc__': None,                                                          │ │
│ │                │   '__package__': '',                                                        │ │
│ │                │   '__loader__': <zipimporter object "C:\Program                             │ │
│ │                Files\Python310\Scripts\rip.exe\">,                                           │ │
│ │                │   '__spec__': ModuleSpec(name='__main__', loader=<zipimporter object        │ │
│ │                "C:\Program Files\Python310\Scripts\rip.exe\">, origin='C:\\Program           │ │
│ │                Files\\Python310\\Scripts\\rip.exe\\__main__.py'),                            │ │
│ │                │   '__annotations__': {},                                                    │ │
│ │                │   '__builtins__': <module 'builtins' (built-in)>,                           │ │
│ │                │   '__file__': 'C:\\Program                                                  │ │
│ │                Files\\Python310\\Scripts\\rip.exe\\__main__.py',                             │ │
│ │                │   '__cached__': 'C:\\Program                                                │ │
│ │                Files\\Python310\\Scripts\\rip.exe\\__pycache__\\__main__.cpython-310.pyc',   │ │
│ │                │   're': <module 're' from 'C:\\Program Files\\Python310\\lib\\re.py'>,      │ │
│ │                │   ... +2                                                                    │ │
│ │                }                                                                             │ │
│ │     mod_name = '__main__'                                                                    │ │
│ │     mod_spec = ModuleSpec(name='__main__', loader=<zipimporter object "C:\Program            │ │
│ │                Files\Python310\Scripts\rip.exe\">, origin='C:\\Program                       │ │
│ │                Files\\Python310\\Scripts\\rip.exe\\__main__.py')                             │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ C:\Program Files\Python310\lib\runpy.py:86 in _run_code                                          │
│                                                                                                  │
│    83 │   │   │   │   │      __loader__ = loader,                                                │
│    84 │   │   │   │   │      __package__ = pkg_name,                                             │
│    85 │   │   │   │   │      __spec__ = mod_spec)                                                │
│ ❱  86 │   exec(code, run_globals)                                                                │
│    87 │   return run_globals                                                                     │
│    88                                                                                            │
│    89 def _run_module_code(code, init_globals=None,                                              │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │       cached = 'C:\\Program                                                                  │ │
│ │                Files\\Python310\\Scripts\\rip.exe\\__pycache__\\__main__.cpython-310.pyc'    │ │
│ │         code = <code object <module> at 0x000001FBEA6E8870, file "C:\Program                 │ │
│ │                Files\Python310\Scripts\rip.exe\__main__.py", line 1>                         │ │
│ │        fname = 'C:\\Program Files\\Python310\\Scripts\\rip.exe\\__main__.py'                 │ │
│ │ init_globals = None                                                                          │ │
│ │       loader = <zipimporter object "C:\Program Files\Python310\Scripts\rip.exe\">            │ │
│ │     mod_name = '__main__'                                                                    │ │
│ │     mod_spec = ModuleSpec(name='__main__', loader=<zipimporter object "C:\Program            │ │
│ │                Files\Python310\Scripts\rip.exe\">, origin='C:\\Program                       │ │
│ │                Files\\Python310\\Scripts\\rip.exe\\__main__.py')                             │ │
│ │     pkg_name = ''                                                                            │ │
│ │  run_globals = {                                                                             │ │
│ │                │   '__name__': '__main__',                                                   │ │
│ │                │   '__doc__': None,                                                          │ │
│ │                │   '__package__': '',                                                        │ │
│ │                │   '__loader__': <zipimporter object "C:\Program                             │ │
│ │                Files\Python310\Scripts\rip.exe\">,                                           │ │
│ │                │   '__spec__': ModuleSpec(name='__main__', loader=<zipimporter object        │ │
│ │                "C:\Program Files\Python310\Scripts\rip.exe\">, origin='C:\\Program           │ │
│ │                Files\\Python310\\Scripts\\rip.exe\\__main__.py'),                            │ │
│ │                │   '__annotations__': {},                                                    │ │
│ │                │   '__builtins__': <module 'builtins' (built-in)>,                           │ │
│ │                │   '__file__': 'C:\\Program                                                  │ │
│ │                Files\\Python310\\Scripts\\rip.exe\\__main__.py',                             │ │
│ │                │   '__cached__': 'C:\\Program                                                │ │
│ │                Files\\Python310\\Scripts\\rip.exe\\__pycache__\\__main__.cpython-310.pyc',   │ │
│ │                │   're': <module 're' from 'C:\\Program Files\\Python310\\lib\\re.py'>,      │ │
│ │                │   ... +2                                                                    │ │
│ │                }                                                                             │ │
│ │  script_name = None                                                                          │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ in <module>:7                                                                                    │
│                                                                                                  │
│ C:\Users\ylmz\AppData\Roaming\Python\Python310\site-packages\click\core.py:1157 in __call__      │
│                                                                                                  │
│ C:\Users\ylmz\AppData\Roaming\Python\Python310\site-packages\click\core.py:1078 in main          │
│                                                                                                  │
│ C:\Users\ylmz\AppData\Roaming\Python\Python310\site-packages\click\core.py:1688 in invoke        │
│                                                                                                  │
│ C:\Users\ylmz\AppData\Roaming\Python\Python310\site-packages\click\core.py:1434 in invoke        │
│                                                                                                  │
│ C:\Users\ylmz\AppData\Roaming\Python\Python310\site-packages\click\core.py:783 in invoke         │
│                                                                                                  │
│ C:\Users\ylmz\AppData\Roaming\Python\Python310\site-packages\click\decorators.py:33 in new_func  │
│                                                                                                  │
│ C:\Program Files\Python310\lib\site-packages\streamrip\rip\cli.py:28 in wrapper                  │
│                                                                                                  │
│    25 def coro(f):                                                                               │
│    26 │   @wraps(f)                                                                              │
│    27 │   def wrapper(*args, **kwargs):                                                          │
│ ❱  28 │   │   return asyncio.run(f(*args, **kwargs))                                             │
│    29 │                                                                                          │
│    30 │   return wrapper                                                                         │
│    31                                                                                            │
│                                                                                                  │
│ ╭────────────────────────────────── locals ──────────────────────────────────╮                   │
│ │   args = (<click.core.Context object at 0x000001FBFE521840>,)              │                   │
│ │ kwargs = {                                                                 │                   │
│ │          │   'url': 'https://www.last.fm/user/ylmzart/playlists/13135508', │                   │
│ │          │   'source': None,                                               │                   │
│ │          │   'fallback_source': None                                       │                   │
│ │          }                                                                 │                   │
│ ╰────────────────────────────────────────────────────────────────────────────╯                   │
│                                                                                                  │
│ C:\Program Files\Python310\lib\asyncio\runners.py:44 in run                                      │
│                                                                                                  │
│   41 │   │   events.set_event_loop(loop)                                                         │
│   42 │   │   if debug is not None:                                                               │
│   43 │   │   │   loop.set_debug(debug)                                                           │
│ ❱ 44 │   │   return loop.run_until_complete(main)                                                │
│   45 │   finally:                                                                                │
│   46 │   │   try:                                                                                │
│   47 │   │   │   _cancel_all_tasks(loop)                                                         │
│                                                                                                  │
│ ╭───────────────────────────── locals ──────────────────────────────╮                            │
│ │ debug = None                                                      │                            │
│ │  loop = <ProactorEventLoop running=False closed=True debug=False> │                            │
│ │  main = <coroutine object lastfm at 0x000001FBFE762A40>           │                            │
│ ╰───────────────────────────────────────────────────────────────────╯                            │
│                                                                                                  │
│ C:\Program Files\Python310\lib\asyncio\base_events.py:646 in run_until_complete                  │
│                                                                                                  │
│    643 │   │   if not future.done():                                                             │
│    644 │   │   │   raise RuntimeError('Event loop stopped before Future completed.')             │
│    645 │   │                                                                                     │
│ ❱  646 │   │   return future.result()                                                            │
│    647 │                                                                                         │
│    648 │   def stop(self):                                                                       │
│    649 │   │   """Stop running the event loop.                                                   │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │   future = <Task finished name='Task-1' coro=<lastfm() done, defined at C:\Program           │ │
│ │            Files\Python310\lib\site-packages\streamrip\rip\cli.py:383>                       │ │
│ │            exception=JSONDecodeError('Expecting value: line 1 column 1 (char 0)')>           │ │
│ │ new_task = True                                                                              │ │
│ │     self = <ProactorEventLoop running=False closed=True debug=False>                         │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ C:\Program Files\Python310\lib\site-packages\streamrip\rip\cli.py:402 in lastfm                  │
│                                                                                                  │
│   399 │   │   config.session.lastfm.fallback_source = fallback_source                            │
│   400 │   with config as cfg:                                                                    │
│   401 │   │   async with Main(cfg) as main:                                                      │
│ ❱ 402 │   │   │   await main.resolve_lastfm(url)                                                 │
│   403 │   │   │   await main.rip()                                                               │
│   404                                                                                            │
│   405                                                                                            │
│                                                                                                  │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮                     │
│ │             cfg = <streamrip.config.Config object at 0x000001FBFE79B190> │                     │
│ │          config = <streamrip.config.Config object at 0x000001FBFE79B190> │                     │
│ │             ctx = <click.core.Context object at 0x000001FBFE521840>      │                     │
│ │ fallback_source = None                                                   │                     │
│ │            main = <streamrip.rip.main.Main object at 0x000001FBFE843010> │                     │
│ │          source = None                                                   │                     │
│ │             url = 'https://www.last.fm/user/ylmzart/playlists/13135508'  │                     │
│ ╰──────────────────────────────────────────────────────────────────────────╯                     │
│                                                                                                  │
│ C:\Program Files\Python310\lib\site-packages\streamrip\rip\main.py:270 in resolve_lastfm         │
│                                                                                                  │
│   267 │   │   │   self.config,                                                                   │
│   268 │   │   │   self.database,                                                                 │
│   269 │   │   )                                                                                  │
│ ❱ 270 │   │   playlist = await pending_playlist.resolve()                                        │
│   271 │   │                                                                                      │
│   272 │   │   if playlist is not None:                                                           │
│   273 │   │   │   self.media.append(playlist)                                                    │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │                c = LastFmConfig(source='deezer', fallback_source='soundcloud')               │ │
│ │           client = <streamrip.client.deezer.DeezerClient object at 0x000001FBFE843130>       │ │
│ │  fallback_client = <streamrip.client.soundcloud.SoundcloudClient object at                   │ │
│ │                    0x000001FBFE8435E0>                                                       │ │
│ │ pending_playlist = PendingLastfmPlaylist(                                                    │ │
│ │                    │   lastfm_url='https://www.last.fm/user/ylmzart/playlists/13135508',     │ │
│ │                    │   client=<streamrip.client.deezer.DeezerClient object at                │ │
│ │                    0x000001FBFE843130>,                                                      │ │
│ │                    │   fallback_client=<streamrip.client.soundcloud.SoundcloudClient object  │ │
│ │                    at 0x000001FBFE8435E0>,                                                   │ │
│ │                    │   config=<streamrip.config.Config object at 0x000001FBFE79B190>,        │ │
│ │                    │   db=Database(                                                          │ │
│ │                    │   │   downloads=<streamrip.db.Downloads object at 0x000001FBFE843640>,  │ │
│ │                    │   │   failed=<streamrip.db.Failed object at 0x000001FBFE843730>         │ │
│ │                    │   )                                                                     │ │
│ │                    )                                                                         │ │
│ │     playlist_url = 'https://www.last.fm/user/ylmzart/playlists/13135508'                     │ │
│ │             self = <streamrip.rip.main.Main object at 0x000001FBFE843010>                    │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ C:\Program Files\Python310\lib\site-packages\streamrip\media\playlist.py:226 in resolve          │
│                                                                                                  │
│   223 │   │   │   │                                                                              │
│   224 │   │   │   │   for title, artist in titles_artists:                                       │
│   225 │   │   │   │   │   requests.append(self._make_query(f"{title} {artist}", s, callback))    │
│ ❱ 226 │   │   │   │   results: list[tuple[str | None, bool]] = await asyncio.gather(*requests)   │
│   227 │   │   else:                                                                              │
│   228 │   │   │                                                                                  │
│   229 │   │   │   def callback():                                                                │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │         artist = 'Dio'                                                                       │ │
│ │ playlist_title = 'ortak'                                                                     │ │
│ │       requests = [                                                                           │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000001FBFE7EC4A0>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000001FBFE7ECA50>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000001FBFE7ECAC0>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000001FBFE7ECF90>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000001FBFE7ECF20>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000001FBFE7ECD60>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000001FBFE7ED000>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000001FBFE7ECC80>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000001FBFE7ED070>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000001FBFE7ED0E0>,                                                        │ │
│ │                  │   ... +52                                                                 │ │
│ │                  ]                                                                           │ │
│ │              s = Status(found=61, failed=0, total=62)                                        │ │
│ │           self = PendingLastfmPlaylist(                                                      │ │
│ │                  │   lastfm_url='https://www.last.fm/user/ylmzart/playlists/13135508',       │ │
│ │                  │   client=<streamrip.client.deezer.DeezerClient object at                  │ │
│ │                  0x000001FBFE843130>,                                                        │ │
│ │                  │   fallback_client=<streamrip.client.soundcloud.SoundcloudClient object at │ │
│ │                  0x000001FBFE8435E0>,                                                        │ │
│ │                  │   config=<streamrip.config.Config object at 0x000001FBFE79B190>,          │ │
│ │                  │   db=Database(                                                            │ │
│ │                  │   │   downloads=<streamrip.db.Downloads object at 0x000001FBFE843640>,    │ │
│ │                  │   │   failed=<streamrip.db.Failed object at 0x000001FBFE843730>           │ │
│ │                  │   )                                                                       │ │
│ │                  )                                                                           │ │
│ │         status = <rich.status.Status object at 0x000001FBFE5219F0>                           │ │
│ │          title = "As Long As It's Not About Love"                                            │ │
│ │ titles_artists = [                                                                           │ │
│ │                  │   ("Since I've Been Loving You - Remaster", 'Led Zeppelin'),              │ │
│ │                  │   ('Lonely Is the Word - 2009 Remaster', 'Black Sabbath'),                │ │
│ │                  │   ('Heaven and Hell - 2009 Remaster', 'Black Sabbath'),                   │ │
│ │                  │   ('Lady Evil - 2009 Remaster', 'Black Sabbath'),                         │ │
│ │                  │   ('God Is Dead?', 'Black Sabbath'),                                      │ │
│ │                  │   ('Hot for Teacher', 'Van Halen'),                                       │ │
│ │                  │   ("Howlin' At The Moon", 'Josh Steinhart'),                              │ │
│ │                  │   ('Stargazer', 'Rainbow'),                                               │ │
│ │                  │   ('Man on the Silver Mountain', 'Rainbow'),                              │ │
│ │                  │   (                                                                       │ │
│ │                  │   │   'Epitaph - Including "March For No Reason" And "Tomorrow And        │ │
│ │                  Tomorrow"',                                                                 │ │
│ │                  │   │   'King Crimson'                                                      │ │
│ │                  │   ),                                                                      │ │
│ │                  │   ... +52                                                                 │ │
│ │                  ]                                                                           │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ C:\Program Files\Python310\lib\site-packages\streamrip\media\playlist.py:286 in _make_query      │
│                                                                                                  │
│   283 │   │   with ExitStack() as stack:                                                         │
│   284 │   │   │   # ensure `callback` is always called                                           │
│   285 │   │   │   stack.callback(callback)                                                       │
│ ❱ 286 │   │   │   pages = await self.client.search("track", query, limit=1)                      │
│   287 │   │   │   if len(pages) > 0:                                                             │
│   288 │   │   │   │   logger.debug(f"Found result for {query} on {self.client.source}")          │
│   289 │   │   │   │   search_status.found += 1                                                   │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │         query = 'God Is Dead? Black Sabbath'                                                 │ │
│ │ search_status = Status(found=61, failed=0, total=62)                                         │ │
│ │          self = PendingLastfmPlaylist(                                                       │ │
│ │                 │   lastfm_url='https://www.last.fm/user/ylmzart/playlists/13135508',        │ │
│ │                 │   client=<streamrip.client.deezer.DeezerClient object at                   │ │
│ │                 0x000001FBFE843130>,                                                         │ │
│ │                 │   fallback_client=<streamrip.client.soundcloud.SoundcloudClient object at  │ │
│ │                 0x000001FBFE8435E0>,                                                         │ │
│ │                 │   config=<streamrip.config.Config object at 0x000001FBFE79B190>,           │ │
│ │                 │   db=Database(                                                             │ │
│ │                 │   │   downloads=<streamrip.db.Downloads object at 0x000001FBFE843640>,     │ │
│ │                 │   │   failed=<streamrip.db.Failed object at 0x000001FBFE843730>            │ │
│ │                 │   )                                                                        │ │
│ │                 )                                                                            │ │
│ │         stack = <contextlib.ExitStack object at 0x000001FBFE8437F0>                          │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ C:\Program Files\Python310\lib\site-packages\streamrip\client\deezer.py:131 in search            │
│                                                                                                  │
│   128 │   │   │   except AttributeError:                                                         │
│   129 │   │   │   │   raise Exception(f"Invalid media type {media_type}")                        │
│   130 │   │                                                                                      │
│ ❱ 131 │   │   response = search_function(query, limit=limit)  # type: ignore                     │
│   132 │   │   if response["total"] > 0:                                                          │
│   133 │   │   │   return [response]                                                              │
│   134 │   │   return []                                                                          │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │           limit = 1                                                                          │ │
│ │      media_type = 'track'                                                                    │ │
│ │           query = 'God Is Dead? Black Sabbath'                                               │ │
│ │ search_function = <bound method API.search_track of <deezer.api.API object at                │ │
│ │                   0x000001FBFE8431C0>>                                                       │ │
│ │            self = <streamrip.client.deezer.DeezerClient object at 0x000001FBFE843130>        │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ C:\Users\ylmz\AppData\Roaming\Python\Python310\site-packages\deezer\api.py:229 in search_track   │
│                                                                                                  │
│   226 │                                                                                          │
│   227 │   def search_track(self, query, strict=False, order=None, index=0, limit=25):            │
│   228 │   │   args = self._generate_search_args(query, strict, order, index, limit)              │
│ ❱ 229 │   │   return self.api_call('search/track', args)                                         │
│   230 │                                                                                          │
│   231 │   def search_user(self, query, strict=False, order=None, index=0, limit=25):             │
│   232 │   │   args = self._generate_search_args(query, strict, order, index, limit)              │
│                                                                                                  │
│ ╭─────────────────────────────── locals ───────────────────────────────╮                         │
│ │   args = {'q': 'God Is Dead? Black Sabbath', 'index': 0, 'limit': 1} │                         │
│ │  index = 0                                                           │                         │
│ │  limit = 1                                                           │                         │
│ │  order = None                                                        │                         │
│ │  query = 'God Is Dead? Black Sabbath'                                │                         │
│ │   self = <deezer.api.API object at 0x000001FBFE8431C0>               │                         │
│ │ strict = False                                                       │                         │
│ ╰──────────────────────────────────────────────────────────────────────╯                         │
│                                                                                                  │
│ C:\Users\ylmz\AppData\Roaming\Python\Python310\site-packages\deezer\api.py:39 in api_call        │
│                                                                                                  │
│    36 │   │   │   │   params=args,                                                               │
│    37 │   │   │   │   headers=self.http_headers,                                                 │
│    38 │   │   │   │   timeout=30                                                                 │
│ ❱  39 │   │   │   ).json()                                                                       │
│    40 │   │   except (requests.ConnectionError, requests.Timeout):                               │
│    41 │   │   │   sleep(2)                                                                       │
│    42 │   │   │   return self.api_call(method, args)                                             │
│                                                                                                  │
│ ╭─────────────────────────────── locals ───────────────────────────────╮                         │
│ │   args = {'q': 'God Is Dead? Black Sabbath', 'index': 0, 'limit': 1} │                         │
│ │ method = 'search/track'                                              │                         │
│ │   self = <deezer.api.API object at 0x000001FBFE8431C0>               │                         │
│ ╰──────────────────────────────────────────────────────────────────────╯                         │
│                                                                                                  │
│ C:\Program Files\Python310\lib\site-packages\requests\models.py:978 in json                      │
│                                                                                                  │
│    975 │   │   except JSONDecodeError as e:                                                      │
│    976 │   │   │   # Catch JSON-related errors and raise as requests.JSONDecodeError             │
│    977 │   │   │   # This aliases json.JSONDecodeError and simplejson.JSONDecodeError            │
│ ❱  978 │   │   │   raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)                            │
│    979 │                                                                                         │
│    980 │   @property                                                                             │
│    981 │   def links(self):                                                                      │
│                                                                                                  │
│ ╭───────── locals ──────────╮                                                                    │
│ │ kwargs = {}               │                                                                    │
│ │   self = <Response [403]> │                                                                    │
│ ╰───────────────────────────╯                                                                    │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Config File

[downloads]
# Folder where tracks are downloaded to
folder = "C:\\Users\\ylmz\\StreamripDownloads"
# Put Qobuz albums in a 'Qobuz' folder, Tidal albums in 'Tidal' etc.
source_subdirectories = false
# Put tracks in an album with 2 or more discs into a subfolder named `Disc N` 
disc_subdirectories = true
# Download (and convert) tracks all at once, instead of sequentially. 
# If you are converting the tracks, or have fast internet, this will 
# substantially improve processing speed.
concurrency = false
# The maximum number of tracks to download at once
# If you have very fast internet, you will benefit from a higher value,
# A value that is too high for your bandwidth may cause slowdowns
# Set to -1 for no limit
max_connections = 6
# Max number of API requests per source to handle per minute
# Set to -1 for no limit
requests_per_minute = 60

[qobuz]
# 1: 320kbps MP3, 2: 16/44.1, 3: 24/<=96, 4: 24/>=96
quality = 3
# This will download booklet pdfs that are included with some albums
download_booklets = true

# Authenticate to Qobuz using auth token? Value can be true/false only
use_auth_token = false
# Enter your userid if the above use_auth_token is set to true, else enter your email
email_or_userid = ""
# Enter your auth token if the above use_auth_token is set to true, else enter the md5 hash of your plaintext password
password_or_token = ""
# Do not change
app_id = ""
# Do not change
secrets = []

[tidal]
# 0: 256kbps AAC, 1: 320kbps AAC, 2: 16/44.1 "HiFi" FLAC, 3: 24/44.1 "MQA" FLAC
quality = 3
# This will download videos included in Video Albums.
download_videos = true

# Do not change any of the fields below
user_id = ""
country_code = ""
access_token = ""
refresh_token = ""
# Tokens last 1 week after refresh. This is the Unix timestamp of the expiration
# time. If you haven't used streamrip in more than a week, you may have to log
# in again using `rip config --tidal`
token_expiry = ""

[deezer]
# 0, 1, or 2
# This only applies to paid Deezer subscriptions. Those using deezloader
# are automatically limited to quality = 1
quality = 2
# An authentication cookie that allows streamrip to use your Deezer account
# See https://github.com/nathom/streamrip/wiki/Finding-Your-Deezer-ARL-Cookie
# for instructions on how to find this
arl = ""
# This allows for free 320kbps MP3 downloads from Deezer
# If an arl is provided, deezloader is never used
use_deezloader = true
# This warns you when the paid deezer account is not logged in and rip falls
# back to deezloader, which is unreliable
deezloader_warnings = true

[soundcloud]
# Only 0 is available for now
quality = 0
# This changes periodically, so it needs to be updated
client_id = ""
app_version = "1732092953"

[youtube]
# Only 0 is available for now
quality = 0
# Download the video along with the audio
download_videos = false
# The path to download the videos to
video_downloads_folder = "C:\\Users\\ylmz\\StreamripDownloads\\YouTubeVideos"

[database]
# Create a database that contains all the track IDs downloaded so far
# Any time a track logged in the database is requested, it is skipped
# This can be disabled temporarily with the --no-db flag
downloads_enabled = true
# Path to the downloads database 
downloads_path = "C:\\Users\\ylmz\\AppData\\Roaming\\streamrip\\downloads.db"
# If a download fails, the item ID is stored here. Then, `rip repair` can be
# called to retry the downloads
failed_downloads_enabled = true
failed_downloads_path = "C:\\Users\\ylmz\\AppData\\Roaming\\streamrip\\failed_downloads.db"

# Convert tracks to a codec after downloading them.
[conversion]
enabled = false
# FLAC, ALAC, OPUS, MP3, VORBIS, or AAC
codec = "ALAC"
# In Hz. Tracks are downsampled if their sampling rate is greater than this. 
# Value of 48000 is recommended to maximize quality and minimize space
sampling_rate = 48000
# Only 16 and 24 are available. It is only applied when the bit depth is higher
# than this value.
bit_depth = 24
# Only applicable for lossy codecs
lossy_bitrate = 320

# Filter a Qobuz artist's discography. Set to 'true' to turn on a filter.
# This will also be applied to other sources, but is not guaranteed to work correctly
[qobuz_filters]
# Remove Collectors Editions, live recordings, etc.
extras = false
# Picks the highest quality out of albums with identical titles.
repeats = false
# Remove EPs and Singles
non_albums = false
# Remove albums whose artist is not the one requested
features = false
# Skip non studio albums
non_studio_albums = false
# Only download remastered albums
non_remaster = false

[artwork]
# Write the image to the audio file
embed = true
# The size of the artwork to embed. Options: thumbnail, small, large, original.
# "original" images can be up to 30MB, and may fail embedding. 
# Using "large" is recommended.
embed_size = "large"
# If this is set to a value > 0, max(width, height) of the embedded art will be set to this value in pixels
# Proportions of the image will remain the same
embed_max_width = -1
# Save the cover image at the highest quality as a seperate jpg file
save_artwork = true
# If this is set to a value > 0, max(width, height) of the saved art will be set to this value in pixels
# Proportions of the image will remain the same
saved_max_width = -1


[metadata]
# Sets the value of the 'ALBUM' field in the metadata to the playlist's name. 
# This is useful if your music library software organizes tracks based on album name.
set_playlist_to_album = true
# If part of a playlist, sets the `tracknumber` field in the metadata to the track's 
# position in the playlist instead of its position in its album
renumber_playlist_tracks = true
# The following metadata tags won't be applied
# See https://github.com/nathom/streamrip/wiki/Metadata-Tag-Names for more info
exclude = []

# Changes the folder and file names generated by streamrip.
[filepaths]
# Create folders for single tracks within the downloads directory using the folder_format
# template
add_singles_to_folder = false
# Available keys: "albumartist", "title", "year", "bit_depth", "sampling_rate",
# "id", and "albumcomposer"
folder_format = "{albumartist} - {title} ({year}) [{container}] [{bit_depth}B-{sampling_rate}kHz]"
# Available keys: "tracknumber", "artist", "albumartist", "composer", "title",
# and "albumcomposer", "explicit"
track_format = "{tracknumber:02}. {artist} - {title}{explicit}"
# Only allow printable ASCII characters in filenames.
restrict_characters = false
# Truncate the filename if it is greater than this number of characters
# Setting this to false may cause downloads to fail on some systems
truncate_to = 120

# Last.fm playlists are downloaded by searching for the titles of the tracks
[lastfm]
# The source on which to search for the tracks.
source = "deezer"
# If no results were found with the primary source, the item is searched for 
# on this one.
fallback_source = "soundcloud"

[cli]
# Print "Downloading {Album name}" etc. to screen
text_output = true
# Show resolve, download progress bars
progress_bars = true
# The maximum number of search results to show in the interactive menu
max_search_results = 100

[misc]
# Metadata to identify this config file. Do not change.
version = "2.0.6"
# Print a message if a new version of streamrip is available 
check_for_updates = true

Operating System

Windows 10 19044

streamrip version

2.0.5

Screenshots and recordings

No response

Additional context

Before you mention, I tried different ARL's 5 times and I have my own Deezer premium sub, I looked at similiar issues but none solved my issue including uninstalling and reinstalling.

@Appmeurtre Appmeurtre added the bug Something isn't working label Nov 20, 2024
@Appmeurtre
Copy link
Author

Is this project abandoned?

@Delivator
Copy link

@Appmeurtre kind of, at least the issues are, as far as I can see, mostly ignored. Atleast by the original maintainer. Some users still commit PR's and sometimes they get merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants