Fixed retrocompatibility explicit in queueItem
This commit is contained in:
parent
72e3316d57
commit
335a42ea83
|
@ -4,7 +4,7 @@ class QueueItem:
|
||||||
self.title = queueItemDict['title']
|
self.title = queueItemDict['title']
|
||||||
self.artist = queueItemDict['artist']
|
self.artist = queueItemDict['artist']
|
||||||
self.cover = queueItemDict['cover']
|
self.cover = queueItemDict['cover']
|
||||||
self.explicit = queueItemDict['explicit']
|
self.explicit = queueItemDict.get('explicit', False)
|
||||||
self.size = queueItemDict['size']
|
self.size = queueItemDict['size']
|
||||||
self.type = queueItemDict['type']
|
self.type = queueItemDict['type']
|
||||||
self.id = queueItemDict['id']
|
self.id = queueItemDict['id']
|
||||||
|
|
Loading…
Reference in New Issue