Always initiate an empty playlist
This commit is contained in:
parent
462724275d
commit
7036e893d3
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue