Transcode path fix
This commit is contained in:
parent
03cf43179a
commit
698e1edb02
1 changed files with 6 additions and 6 deletions
|
@ -150,8 +150,8 @@ class WriteKodiVideoDB():
|
||||||
path = playurl.replace(filename,"")
|
path = playurl.replace(filename,"")
|
||||||
else:
|
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
|
#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"]
|
path = server + "/Video/%s/" %MBitem["Id"]
|
||||||
filename = "stream.mp3"
|
filename = "stream.mp4"
|
||||||
else:
|
else:
|
||||||
path = "plugin://plugin.video.emby/movies/%s/" % MBitem["Id"]
|
path = "plugin://plugin.video.emby/movies/%s/" % MBitem["Id"]
|
||||||
filename = "plugin://plugin.video.emby/movies/%s/?id=%s&mode=play" % (MBitem["Id"],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,"")
|
path = playurl.replace(filename,"")
|
||||||
else:
|
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
|
#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"]
|
path = server + "/Video/%s/" %MBitem["Id"]
|
||||||
filename = "stream.mp3"
|
filename = "stream.mp4"
|
||||||
else:
|
else:
|
||||||
path = "plugin://plugin.video.emby/movies/%s/" % MBitem["Id"]
|
path = "plugin://plugin.video.emby/movies/%s/" % MBitem["Id"]
|
||||||
filename = "plugin://plugin.video.emby/movies/%s/?id=%s&mode=play" % (MBitem["Id"],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,"")
|
path = playurl.replace(filename,"")
|
||||||
else:
|
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
|
#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"]
|
path = server + "/Video/%s/" %MBitem["Id"]
|
||||||
filename = "stream.mp3"
|
filename = "stream.mp4"
|
||||||
else:
|
else:
|
||||||
path = "plugin://plugin.video.emby/movies/%s/" % MBitem["Id"]
|
path = "plugin://plugin.video.emby/movies/%s/" % MBitem["Id"]
|
||||||
filename = "plugin://plugin.video.emby/movies/%s/?id=%s&mode=play" % (MBitem["Id"],MBitem["Id"])
|
filename = "plugin://plugin.video.emby/movies/%s/?id=%s&mode=play" % (MBitem["Id"],MBitem["Id"])
|
||||||
|
|
Loading…
Reference in a new issue