Code: Alles auswählen
wget -q -O - http://localhost/control/zapto?getpids
echo
wget -q -O - http://localhost/control/zapto?getallpids
echo
pids=`wget -q -O - http://localhost/control/zapto?getallpids | cut -c 1-5`
echo "$pids"
Code: Alles auswählen
101
102
00101
00102 stereo
00103 mit Audiodeskription
00106 Dolby Digital 2.0 (AC3)
00104 vtxt
00100 pmt
00101 pcr
00101
00102
00103
00106
00104
00100
00101
Code: Alles auswählen
--- enigma_dyn_misc_cvs.cpp Fri Sep 07 14:17:04 2007
+++ enigma_dyn_misc.cpp Wed Jan 25 20:59:15 2012
@@ -541,7 +541,7 @@
if (opt == "getallpids")
{
std::stringstream str;
- str << std::setfill('0');
+ // str << std::setfill('0');
if ( Decoder::current.vpid != -1 )
str << std::setw(5) << Decoder::current.vpid << std::endl;
eDVBServiceController *sapi=eDVB::getInstance()->getServiceAPI();
@@ -554,10 +554,12 @@
str << std::setw(5) << it->pmtentry->elementary_PID << ' ' << it->text << std::endl;
if ( Decoder::current.tpid != -1 )
str << std::setw(5) << Decoder::current.tpid << " vtxt\n";
- if ( Decoder::current.pmtpid != -1 )
- str << std::setw(5) << Decoder::current.pmtpid << " pmt\n";
- if ( Decoder::current.pcrpid != -1 )
- str << std::setw(5) << Decoder::current.pcrpid << " pcr\n";
+ if ( Decoder::current.tpid != -1 )
+ str << std::setw(5) << Decoder::current.tpid + 1 << " subt\n";
+ // if ( Decoder::current.pmtpid != -1 )
+ // str << std::setw(5) << Decoder::current.pmtpid << " pmt\n";
+ // if ( Decoder::current.pcrpid != -1 )
+ // str << std::setw(5) << Decoder::current.pcrpid << " pcr\n";
result = str.str();
}
}
Code: Alles auswählen
101
102
101
102 stereo
103 mit Audiodeskription
106 Dolby Digital 2.0 (AC3)
104 vtxt
105 subt
101
102
103
106
104
105
mrvica