From 698e1edb027bc6fe633b8a495e805370202c7c0c Mon Sep 17 00:00:00 2001 From: xnappo Date: Mon, 25 May 2015 11:53:53 -0500 Subject: [PATCH] Transcode path fix --- resources/lib/WriteKodiVideoDB.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/lib/WriteKodiVideoDB.py b/resources/lib/WriteKodiVideoDB.py index dc8d83cc..c32df971 100644 --- a/resources/lib/WriteKodiVideoDB.py +++ b/resources/lib/WriteKodiVideoDB.py @@ -150,8 +150,8 @@ class WriteKodiVideoDB(): path = playurl.replace(filename,"") else: #for transcoding we just use the server's streaming path because I couldn't figure out how to set the plugin path in the music DB - path = server + "/Audio/%s/" %MBitem["Id"] - filename = "stream.mp3" + path = server + "/Video/%s/" %MBitem["Id"] + filename = "stream.mp4" else: path = "plugin://plugin.video.emby/movies/%s/" % MBitem["Id"] filename = "plugin://plugin.video.emby/movies/%s/?id=%s&mode=play" % (MBitem["Id"],MBitem["Id"]) @@ -314,8 +314,8 @@ class WriteKodiVideoDB(): path = playurl.replace(filename,"") else: #for transcoding we just use the server's streaming path because I couldn't figure out how to set the plugin path in the music DB - path = server + "/Audio/%s/" %MBitem["Id"] - filename = "stream.mp3" + path = server + "/Video/%s/" %MBitem["Id"] + filename = "stream.mp4" else: path = "plugin://plugin.video.emby/movies/%s/" % MBitem["Id"] filename = "plugin://plugin.video.emby/movies/%s/?id=%s&mode=play" % (MBitem["Id"],MBitem["Id"]) @@ -611,8 +611,8 @@ class WriteKodiVideoDB(): path = playurl.replace(filename,"") else: #for transcoding we just use the server's streaming path because I couldn't figure out how to set the plugin path in the music DB - path = server + "/Audio/%s/" %MBitem["Id"] - filename = "stream.mp3" + path = server + "/Video/%s/" %MBitem["Id"] + filename = "stream.mp4" else: path = "plugin://plugin.video.emby/movies/%s/" % MBitem["Id"] filename = "plugin://plugin.video.emby/movies/%s/?id=%s&mode=play" % (MBitem["Id"],MBitem["Id"])