Add static=true to direct stream music

Try to prevent transcode for music with the parameter
This commit is contained in:
angelblue05 2016-09-20 01:35:36 -05:00
parent b3817ce46c
commit 3331b5e838

View file

@ -2030,7 +2030,7 @@ class Music(Items):
##### GET THE FILE AND PATH #####
if self.directstream:
path = "%s/emby/Audio/%s/" % (self.server, itemid)
filename = "stream.mp3"
filename = "stream.mp3?static=true"
else:
playurl = API.get_file_path()