Always initiate an empty playlist

This commit is contained in:
tomkat83 2016-11-06 13:46:33 +01:00
parent 462724275d
commit 7036e893d3

View file

@ -82,6 +82,7 @@ class Playlist():
log.info('Empty playlist initiated') log.info('Empty playlist initiated')
if self.playlist is not None: if self.playlist is not None:
self.playlistId = self.playlist.getPlayListId() self.playlistId = self.playlist.getPlayListId()
self.playlist.clear()
@lockMethod.decorate @lockMethod.decorate
def getQueueIdFromPosition(self, playlistPosition): def getQueueIdFromPosition(self, playlistPosition):