-
Notifications
You must be signed in to change notification settings - Fork 31
Keep getting error in middle of sync #61
Description
Describe the bug
A clear and concise description of what the bug is.Traceback (most recent call last):
File "/app/./plex-playlist-sync/run.py", line 71, in
spotify_playlist_sync(sp, plex, userInputs)
File "/app/plex-playlist-sync/utils/spotify.py", line 105, in spotify_playlist_sync
update_or_create_plex_playlist(plex, playlist, tracks, userInputs)
File "/app/plex-playlist-sync/utils/plex.py", line 150, in update_or_create_plex_playlist
available_tracks, missing_tracks = _get_available_plex_tracks(plex, tracks)
File "/app/plex-playlist-sync/utils/plex.py", line 66, in _get_available_plex_tracks
search = plex.search(track.title, mediatype="track", limit=5)
File "/usr/local/lib/python3.10/site-packages/plexapi/server.py", line 740, in search
for hub in self.fetchItems(key, Hub):
File "/usr/local/lib/python3.10/site-packages/plexapi/base.py", line 267, in fetchItems
data = self._server.query(ekey, params=url_kw)
File "/usr/local/lib/python3.10/site-packages/plexapi/server.py", line 696, in query
response = method(url, headers=headers, timeout=timeout, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 578, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='192.168.1.192', port=32400): Read timed out. (read timeout=30)
To Reproduce
Steps to reproduce the behavior:
- Configuration:
- Playlist(s) causing the issue:
- Song(s) causing the issue:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add logs to help explain your problem.
Additional context
Add any other context about the problem here.