Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions music_assistant/providers/plex_connect/player_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ async def _play_from_plex_queue(

# Use plexapi to fetch the play queue
def fetch_queue() -> PlayQueue:
return PlayQueue.get(self.provider._plex_server, playQueueID=queue_id)
return PlayQueue.get(self.provider._plex_server, playQueueID=queue_id, window=500)

playqueue = await asyncio.to_thread(fetch_queue)

Expand Down Expand Up @@ -888,7 +888,9 @@ async def handle_refresh_play_queue(self, request: web.Request) -> web.Response:

# Use plexapi to fetch the updated play queue
def fetch_queue() -> PlayQueue:
return PlayQueue.get(self.provider._plex_server, playQueueID=play_queue_id)
return PlayQueue.get(
self.provider._plex_server, playQueueID=play_queue_id, window=500
)

playqueue = await asyncio.to_thread(fetch_queue)

Expand Down
Loading