From 3331b5e838c2d6a2d3ff7062be1a6a4c0bb7cf47 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Tue, 20 Sep 2016 01:35:36 -0500 Subject: [PATCH] Add static=true to direct stream music Try to prevent transcode for music with the parameter --- resources/lib/itemtypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index 43c9f9b5..cd30d366 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -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()