yweb: add url to StreamInfo

This commit is contained in:
Jacek Jendrzej
2019-07-31 14:32:35 +02:00
parent 269154ce38
commit 88455514c9
6 changed files with 10 additions and 0 deletions

View File

@@ -25,6 +25,11 @@
<div class="y_head">{=L:epg.si.streaminfo=} ({=ServiceName=})</div>
<div class="y_work_box">
<table cellspacing="2" cellpadding="3" class="tableborder" width="300px">
<tr>
<td class="set"><b>{=L:epg.si.url=}:</b></td>
<td>&nbsp;</td>
<td class="set"> <div align="left">{=Url=}</div></td>
</tr>
<tr>
<td class="set"><b>{=L:epg.si.resolution=}:</b></td>
<td width="30">&nbsp;</td>

View File

@@ -204,6 +204,7 @@ epg.si.pcrpid=Program Clock Reference PID
epg.si.apid=Zvukový PID
epg.si.vtxtpid=TeleText PID
epg.si.crypt=Kodovací systém
epg.si.url=Url
======= Nastavení
set.reload_neutrino=Restart Neutrina

View File

@@ -226,6 +226,7 @@ epg.si.pcrpid=Program Clock Reference PID
epg.si.apid=Audio PID
epg.si.vtxtpid=Teletext PID
epg.si.crypt=Crypt systems
epg.si.url=Url
========Settings
set.reload_neutrino=reload Neutrino

View File

@@ -206,6 +206,7 @@ epg.si.pcrpid=Program zegara odniesienia PID
epg.si.apid=audio PID
epg.si.vtxtpid=Telegazeta PID
epg.si.crypt=system kodowania
epg.si.url=Url
# ========= Ustawienia
set.reload_neutrino=Restart Neutrino

View File

@@ -225,6 +225,7 @@ epg.si.pcrpid=Program Clock Reference PID
epg.si.apid=Zvukový PID
epg.si.vtxtpid=TeleText PID
epg.si.crypt=Kodovací systém
epg.si.url=Url
======= Nastavenia
set.reload_neutrino=reŠtart Neutrina

View File

@@ -878,6 +878,7 @@ std::string CNeutrinoYParser::func_get_current_stream_info(CyhookHandler *hh, s
hh->ParamList["tsfrequency"] = string_printf("%d.%d MHz", serviceinfo.tsfrequency/1000, serviceinfo.tsfrequency%1000);
hh->ParamList["polarisation"] = serviceinfo.polarisation==1?"h":"v";
hh->ParamList["ServiceName"] = NeutrinoAPI->GetServiceName(CZapit::getInstance()->GetCurrentChannelID());
hh->ParamList["Url"] = CZapit::getInstance()->GetCurrentChannel()->getUrl().c_str();
hh->ParamList["VideoFormat"] = NeutrinoAPI->getVideoResolutionAsString();
// hh->ParamList["BitRate"] = NeutrinoAPI->getVideoFramerateAsString();
hh->ParamList["AspectRatio"] = NeutrinoAPI->getVideoAspectRatioAsString();