mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix error with direct stream music
This commit is contained in:
parent
23b5b93bdd
commit
41d56b53c3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue