-
Notifications
You must be signed in to change notification settings - Fork 0
Error: Sync failed: 'Tag' object has no attribute #1
Copy link
Copy link
Open
Description
This may be a silly error that is easy to solve, i keep getting the following error when the script starts fetching the playlists.
Any idea where to start looking for a solution?
Fetching playlists from Plex...
Found playlist: All Music (15936 tracks)
✗ Sync failed: 'Tag' object has no attribute 'playlistType'
Traceback (most recent call last):
File "/Users/joshuo/plexpod/plex_ipod_sync/sync/engine.py", line 91, in sync
playlists, all_tracks = self._sync_full_library()
File "/Users/joshuo/plexpod/plex_ipod_sync/sync/engine.py", line 268, in _sync_full_library
playlists = self.plex_client.get_all_playlists()
File "/Users/joshuo/plexpod/plex_ipod_sync/plex/client.py", line 88, in get_all_playlists
if playlist.playlistType == 'audio':
AttributeError: 'Tag' object has no attribute 'playlistType'
If i comment out the if statement to filter on audio playlists only in the client.py file, i get a different 'Tag' error:
Fetching playlists from Plex...
Found playlist: All Music (15936 tracks)
✗ Sync failed: 'Tag' object has no attribute 'title'
Traceback (most recent call last):
File "/Users/joshuo/plexpod/plex_ipod_sync/sync/engine.py", line 91, in sync
playlists, all_tracks = self._sync_full_library()
File "/Users/joshuo/plexpod/plex_ipod_sync/sync/engine.py", line 268, in _sync_full_library
playlists = self.plex_client.get_all_playlists()
File "/Users/joshuo/plexpod/plex_ipod_sync/plex/client.py", line 88, in get_all_playlists
sync_console.print_info(f" Found playlist: {playlist.title} ({len(tracks)} tracks)", muted=True)
AttributeError: 'Tag' object has no attribute 'title'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels