platers / unitunes

A GUI and library to transfer, sync, and backup playlists on music streaming services
GNU General Public License v3.0
140 stars 12 forks source link

`Job 0 failed: 'singleColumnBrowseResultsRenderer'` #33

Open aetonsi opened 4 months ago

aetonsi commented 4 months ago

Pulling a YT playlist gives the following error and fails the Job:

Job 0 failed: 'singleColumnBrowseResultsRenderer'
Traceback (most recent call last):
  File "C:\Users\aet\scoop\apps\python\current\Lib\site-packages\unitunes\gui\engine.py", line 109, in _process_queue
    job.execute()
  File "C:\Users\aet\scoop\apps\python\current\Lib\site-packages\unitunes\gui\engine.py", line 66, in execute
    self.pm.pull_playlist(
  File "C:\Users\aet\scoop\apps\python\current\Lib\site-packages\unitunes\main.py", line 205, in pull_playlist
    remote_metadata = service.pull_metadata(uri)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\aet\scoop\apps\python\current\Lib\site-packages\unitunes\services\ytm.py", line 224, in pull_metadata
    res = self.wrapper.get_playlist(uri.uri)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\aet\scoop\apps\python\current\Lib\site-packages\unitunes\services\ytm.py", line 45, in get_playlist
    return self.ytm.get_playlist(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\aet\scoop\apps\python\current\Lib\site-packages\ytmusicapi\mixins\playlists.py", line 68, in get_playlist
    results = nav(response,
              ^^^^^^^^^^^^^
  File "C:\Users\aet\scoop\apps\python\current\Lib\site-packages\ytmusicapi\parsers\utils.py", line 155, in nav
    raise err
  File "C:\Users\aet\scoop\apps\python\current\Lib\site-packages\ytmusicapi\parsers\utils.py", line 149, in nav
    root = root[k]
           ~~~~^^^
KeyError: 'singleColumnBrowseResultsRenderer'
Finished job 0: Pull testplaylist

YT service seems to be configured correctly. Installed version: unitunes==2.0.1 (pip) Python version: 3.12.4 OS version: windows 11 23h2, ubuntu (wsl)