From 7b94395d7227c4e264aad4be9f62b888096eed75 Mon Sep 17 00:00:00 2001 From: marcelveldt Date: Mon, 11 Nov 2019 00:20:28 +0100 Subject: [PATCH] Update player_queue.py --- music_assistant/models/player_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/models/player_queue.py b/music_assistant/models/player_queue.py index 9c00b404..5750a25a 100755 --- a/music_assistant/models/player_queue.py +++ b/music_assistant/models/player_queue.py @@ -447,7 +447,7 @@ class PlayerQueue(): if (self._player.cur_time == 0 and self._player.state in [PlayerState.Stopped, PlayerState.Off]): # player stopped playing - self._next_queue_startindex = self.cur_index + await self.mass.signal_event(EVENT_PLAYBACK_STOPPED, self._last_track.streamdetails) # update vars if track_time > 2: # account for track changing state so keep this a few seconds behind -- 2.34.1