Clear playqueue on playback startup

This commit is contained in:
croneter 2019-05-05 10:21:59 +02:00
parent 45fc9fa8be
commit 8ad6d1bcce

View file

@ -347,6 +347,7 @@ class QueuePlay(backgroundthread.KillableThread):
else: else:
LOG.debug('Audio playback detected') LOG.debug('Audio playback detected')
playqueue = PQ.get_playqueue_from_type(v.KODI_TYPE_AUDIO) playqueue = PQ.get_playqueue_from_type(v.KODI_TYPE_AUDIO)
playqueue.clear(kodi=False)
# Position to start playback from (!!) # Position to start playback from (!!)
# Do NOT use kodi_pl.getposition() as that appears to be buggy # Do NOT use kodi_pl.getposition() as that appears to be buggy