mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-25 06:19:42 +00:00
Fix error with direct stream music
This commit is contained in:
parent
23b5b93bdd
commit
41d56b53c3
@ -415,7 +415,7 @@ class Music(Items):
|
||||
##### GET THE FILE AND PATH #####
|
||||
if self.directstream:
|
||||
path = "%s/emby/Audio/%s/" % (self.server, itemid)
|
||||
filename = "stream.%s?static=true" % item['Container']
|
||||
filename = "stream.%s?static=true" % item['MediaSources'][0]['Container']
|
||||
else:
|
||||
playurl = API.get_file_path()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user