in:/ # pzapit -gsi
392295.0 MHzdiseqc = 255
onid = 0x0001
sid = 0x6d70
tsid = 0x0437
...
/ # pzapit -gsi
frequency = 392295.0 MHz
onid = 0x0001
sid = 0x6d70
tsid = 0x0437
...
Code: Alles auswählen
Index: apps/dvb/zapit/src/pzapit.cpp
===================================================================
RCS file: /cvs/tuxbox/apps/dvb/zapit/src/pzapit.cpp,v
retrieving revision 1.64
diff -U3 -r1.64 pzapit.cpp
--- a/apps/dvb/zapit/src/pzapit.cpp 24 Feb 2009 13:50:25 -0000 1.64
+++ b/apps/dvb/zapit/src/pzapit.cpp 10 Apr 2009 19:49:17 -0000
@@ -709,13 +709,18 @@
CZapitClient::CCurrentServiceInfo si;
si = zapit.getCurrentServiceInfo();
- printf("%d.%d MHz", si.tsfrequency/1000, si.tsfrequency%1000);
+ printf("frequency = %d.%d MHz", si.tsfrequency/1000, si.tsfrequency%1000);
if (si.polarisation != 2) /* only satellite has polarisation */
+ {
printf(" (%c)\n", (si.polarisation == HORIZONTAL) ? 'h' : 'v');
- //satellite
- printf("diseqc = %d\n", si.diseqc);
-
+ //satellite
+ printf("diseqc = %d\n", si.diseqc);
+ }
+ else
+ {
+ printf("\n");
+ }
printf("onid = 0x%04x\n", si.onid);
printf("sid = 0x%04x\n", si.sid);
printf("tsid = 0x%04x\n", si.tsid);
Link entfernt, im CVS