platers / unitunes

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

YouTube Music Playlist Pull Error - NoneType object is not iterable #25

Open wisefella opened 1 year ago

wisefella commented 1 year ago

ENV: Win10, 21H2, Python: 3.10.2

  1. Configure
  2. Attempted to Pull configured playlist
  3. Error: 'NoneType' object is not iterable
  4. Stacktrace:
    
    Job 0 failed: 'NoneType' object is not iterable
    Traceback (most recent call last):
    File "C:\Users\johndeo\AppData\Local\Programs\Python\Python310\lib\site-packages\unitunes\gui\engine.py", line 109, in _process_queue
    job.execute()
    File "C:\Users\johndeo\AppData\Local\Programs\Python\Python310\lib\site-packages\unitunes\gui\engine.py", line 66, in execute
    self.pm.pull_playlist(
    File "C:\Users\johndeo\AppData\Local\Programs\Python\Python310\lib\site-packages\unitunes\main.py", line 209, in pull_playlist
    remote_tracks = service.pull_tracks(uri)
    File "C:\Users\johndeo\AppData\Local\Programs\Python\Python310\lib\site-packages\unitunes\services\ytm.py", line 139, in pull_tracks
    return self.results_to_tracks(tracks)
    File "C:\Users\johndeo\AppData\Local\Programs\Python\Python310\lib\site-packages\unitunes\services\ytm.py", line 127, in results_to_tracks
    return list(
    File "C:\Users\johndeo\AppData\Local\Programs\Python\Python310\lib\site-packages\unitunes\services\ytm.py", line 171, in raw_to_track
    artists=[AliasedString(value=artist["name"]) for artist in raw["artists"]],
    TypeError: 'NoneType' object is not iterable
    Finished job 0: Pull Your Likes