Re: [vdr] determine within plugin, whether radio or tv stream

2016-01-27 Thread Joerg Riechardt
Am 27.01.2016 um 14:45 schrieb Stefan Braun: Hi, i do this in my plugins in the following way (Channel is a cChannel object): bool isRadio = !Channel->Vpid() && Channel->Apid(0); cheers Louis Well, I should have mentioned, that this is about a player plugin. So the stream it receives from

[vdr] determine within plugin, whether radio or tv station

2016-01-27 Thread Joerg Riechardt
Hi, what is a safe way to determine within a plugin, whether the stream it is receiving from VDR is a radio or a tv stream? There are tv streams with slowly changing still pictures, there are radio plugins which insert grafical information, so I am not sure if this could be achived by

Re: [vdr] determine within plugin, whether radio or tv station

2016-01-27 Thread Stefan Braun
Hi,   i do this in my plugins in the following way (Channel is a cChannel object):   bool isRadio = !Channel->Vpid() && Channel->Apid(0);   cheers Louis   Gesendet: Mittwoch, 27. Januar 2016 um 11:48 Uhr Von: "Joerg Riechardt" An: "vdr@linuxtv.org"