summaryrefslogtreecommitdiff
path: root/pages/vlc.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/vlc.ecpp')
-rw-r--r--pages/vlc.ecpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/vlc.ecpp b/pages/vlc.ecpp
index b8cea6f..d150347 100644
--- a/pages/vlc.ecpp
+++ b/pages/vlc.ecpp
@@ -63,12 +63,12 @@ using namespace vdrlive;
<%cpp>
if ( Channel != 0 ) {
int streamdevPort = LiveSetup().GetStreamdevPort();
- // string videourl = string("http://") + "192.168.96.30" + ":" + lexical_cast<string,int>(streamdevPort) + "/TS/" + *Channel->GetChannelID().ToString();
- string videourl = string("http://") + request.getServerIp() + ":" + lexical_cast<string,int>(streamdevPort) + "/TS/" + *Channel->GetChannelID().ToString();
+ // string videourl = string("http://") + "192.168.96.30" + ":" + lexical_cast<string,int>(streamdevPort) + + "/" + LiveSetup().GetStreamdevType() + "/" + *Channel->GetChannelID().ToString();
+ string videourl = string("http://") + request.getServerIp() + ":" + lexical_cast<string,int>(streamdevPort) + "/" + LiveSetup().GetStreamdevType() + "/" + *Channel->GetChannelID().ToString();
</%cpp>
<embed type="application/x-vlc-plugin" name="video1" autoplay="yes" loop="yes" width="720" height="576" target="<$ videourl $>" />
<& vlc.channel_selection &>
- <!-- <p><$ videourl $></p> -->
+ <!-- --> <p><$ videourl $></p><!-- -->
<%cpp>
}
</%cpp>