Fix Music playback websocket KeyError
This commit is contained in:
parent
9e2668e6da
commit
85c3f3949b
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ def GetItemClassFromType(itemType):
|
||||||
'show': 'TVShows',
|
'show': 'TVShows',
|
||||||
'artist': 'Music',
|
'artist': 'Music',
|
||||||
'album': 'Music',
|
'album': 'Music',
|
||||||
'track': 'Music'
|
'track': 'Music',
|
||||||
|
'song': 'Music'
|
||||||
}
|
}
|
||||||
return classes[itemType]
|
return classes[itemType]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue