Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Channel ID and the parameters?
Thomas Keil wrote:
>
> Hi,
>
> I stumbled upon an inconsistency in the documentation (I think):
>
> In vdr.5 it says:
>
> A particular channel can be uniquely identified by its
> channel ID, which is a string that looks like this:
>
> S19.2E-0-12188-12003-0
>
> The components of this string are the Source (S19.2E),
> Frequency (12188, MHz) and SID (12003) as defined above. The
> parts that are currently 0 are reserved for future use (the last
> part can be omitted if it is 0, so the above
> example could also be written as S19.2E-0-12188-12003).
>
> But from a glimpse in the source:
>
> const char *tChannelID::ToString(void)
> {
> static char buffer[256];
> snprintf(buffer, sizeof(buffer), rid ? "%s-%d-%d-%d-%d" :
> "%s-%d-%d-%d", cSource::ToString(source), nid, tid, sid, rid);
> return buffer;
> }
>
> and some own experiments I'd say that it consists of source, nid, tid, sid and rid and NOT the frequency, whereas the second and (optional) fifth field are not bound to be 0.
>
> Did I mix something up or is the documentation really outdated?
It's quite simple: if you know what you're doing, you can already use
the NID and TID fields. If not, just leave them at 0.
Officially, these fields are not yet released for use. They will be
used once VDR processes the channel data from the stream.
Klaus
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index