From 8ad6d1bccea70e0eaf19271eeee88ffcf2d0422d Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 5 May 2019 10:21:59 +0200 Subject: [PATCH] Clear playqueue on playback startup --- resources/lib/webservice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lib/webservice.py b/resources/lib/webservice.py index 064d37c8..ab1e7612 100644 --- a/resources/lib/webservice.py +++ b/resources/lib/webservice.py @@ -347,6 +347,7 @@ class QueuePlay(backgroundthread.KillableThread): else: LOG.debug('Audio playback detected') playqueue = PQ.get_playqueue_from_type(v.KODI_TYPE_AUDIO) + playqueue.clear(kodi=False) # Position to start playback from (!!) # Do NOT use kodi_pl.getposition() as that appears to be buggy