Fix error with direct stream music

This commit is contained in:
angelblue05 2017-07-28 17:12:52 -05:00
parent 23b5b93bdd
commit 41d56b53c3

View File

@ -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()