Skip to content

Commit

Permalink
update transcoding stuff (filetranscoding use also port 8002)
Browse files Browse the repository at this point in the history
  • Loading branch information
plnick committed Nov 5, 2013
1 parent 3fabd28 commit 1c56c35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugin/controllers/models/stream.py
Expand Up @@ -49,7 +49,7 @@ def getStream(session, request, m3ufile):
if model in ("solo2","duo2"):
if "device" in request.args :
if request.args["device"][0] == "phone" :
portNumber = 8002;
portNumber = 8002
if "port" in request.args:
portNumber = request.args["port"][0]
response = "#EXTM3U \n#EXTVLCOPT--http-reconnect=true \n%shttp://%s:%s/%s\n" % (progopt,request.getRequestHostname(), portNumber, sRef)
Expand Down Expand Up @@ -81,7 +81,7 @@ def getTS(self, request):
if model in ("solo2","duo2"):
if "device" in request.args :
if request.args["device"][0] == "phone" :
portNumber = 8003;
portNumber = 8002
if "port" in request.args:
portNumber = request.args["port"][0]
response = "#EXTM3U\n#EXTVLCOPT--http-reconnect=true \n%shttp://%s:%s/file?file=%s\n" % (progopt,request.getRequestHostname(), portNumber, quote(filename))
Expand Down
2 changes: 1 addition & 1 deletion plugin/controllers/views/ajax/movies.tmpl
Expand Up @@ -56,7 +56,7 @@
<img align="top" src="../images/ico_stream.png" title="Stream $movie.eventname" border="0">
</a>
<a href="#" onclick="jumper8003('$quote($movie.filename)');">
<img align="top" src="../images/ico_stream.png" title="Stream(8003) $movie.eventname" border="0">
<img align="top" src="../images/ico_stream.png" title="Stream Port 8002 $movie.eventname" border="0">
</a>
#else
<a target="_blank" href='/web/ts.m3u?file=$quote($movie.filename)'>
Expand Down

0 comments on commit 1c56c35

Please sign in to comment.