mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix music crash
This commit is contained in:
parent
52d8267d50
commit
8aaeadadc7
1 changed files with 1 additions and 1 deletions
|
@ -2032,7 +2032,7 @@ class Music(Items):
|
|||
path = "%s/emby/Audio/%s/" % (self.server, itemid)
|
||||
extensions = ['mp3', 'aac', 'ogg', 'oga', 'webma', 'wma', 'flac']
|
||||
|
||||
if item['Container'].lower() in extensions:
|
||||
if 'Container' in item and item['Container'].lower() in extensions:
|
||||
filename = "stream.%s?static=true" % item['Container']
|
||||
else:
|
||||
filename = "stream.mp3?static=true"
|
||||
|
|
Loading…
Reference in a new issue