[vdr] create a channel by SetId(int Nid, int Tid, int Sid, int
Rid = 0)
patrick_fischer at gmx.de
Tue Nov 15 10:09:10 CET 2005
//damn copy&past.... new version
Today I'm wondering about the SetId from cChannels.h
As I know, I can specify a channel only by NID, TID and SID
I know vdr don't use the way, but is there an way to switch to a channel
only by this values?
I have tried this code:
cChannel* channel = new cChannel();
If I execute this code, vdr will show me only the last still Pic of the
The values are from my channels.conf created with w_scan
Name Frequenz Parameter Quelle SRate VPID APID TPID CA SID NID TID RID
If I don't find a better way, I will parse my channels.conf for the
SID,NID and TID
If I found the right line, then I can create a cChannel with
cChannel-Parse(the found line);
I don't like the alternative way.
Can anybody tell me a better way?
More information about the vdr