From: marcelveldt Date: Thu, 17 Oct 2019 16:02:27 +0000 (+0200) Subject: Update player_queue.py X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=a5c43640023411e158b608b6dedc42e5ea4b40ad;p=music-assistant-server.git Update player_queue.py typo --- diff --git a/music_assistant/models/player_queue.py b/music_assistant/models/player_queue.py index 2a8ca98b..be2df942 100755 --- a/music_assistant/models/player_queue.py +++ b/music_assistant/models/player_queue.py @@ -247,10 +247,10 @@ class PlayerQueue(): async def update(self): ''' update queue details, called when player updates ''' + cur_index = self._cur_index # determine queue index and cur_time for queue stream if self.use_queue_stream and self._player.state == PlayerState.Playing: # player is playing a constant stream of the queue so we need to do this the hard way - cur_index = self._cur_index cur_time_queue = self._player._cur_time total_time = 0 track_time = 0