From eae370c33f2a0c82def693cc6353ad53c7443044 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 19 Aug 2015 08:26:03 -0500 Subject: [PATCH] Fix for transcoding Using AC3 instead of AAC because the sound quality was very degraded with higher audio channels. --- resources/lib/PlayUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/PlayUtils.py b/resources/lib/PlayUtils.py index 2a282d96..3c291790 100644 --- a/resources/lib/PlayUtils.py +++ b/resources/lib/PlayUtils.py @@ -203,7 +203,7 @@ class PlayUtils(): # Play transcoding deviceId = self.clientInfo.getMachineId() playurl = "%s/mediabrowser/Videos/%s/master.m3u8?mediaSourceId=%s" % (server, id, id) - playurl = "%s&VideoCodec=h264&AudioCodec=aac,ac3&deviceId=%s&VideoBitrate=%s" % (playurl, deviceId, self.getVideoBitRate()*1000) + playurl = "%s&VideoCodec=h264&AudioCodec=ac3&deviceId=%s&VideoBitrate=%s" % (playurl, deviceId, self.getVideoBitRate()*1000) self.logMsg("Playurl: %s" % playurl) return playurl