[vdr] force cDevice::GetDevice
mhahn at reel-multimedia.com
Wed Mar 22 12:07:33 CET 2006
I am going to enhance Channelscan-Plugin for DVB-T and DVB-C.
The scanning will be implemented as "blind scan", and it should
work with different hardware sets. eg. two DVB-S and one DVB-T tuner
or two DVB-C tuner. In other words I need a reliable way to get a device.
Actualy I use this for the moment (DVB-S only, valid transponders only) :
... if (cDevice::GetDevice(i)->ProvidesSource(sourceCode)
if that fails (no lock), I go further
But this solution is to weak. Actual, sometimes I don`t get a vaild device at
all with valid transponders.
Of course recordings or live view could be shutting down if needed.
More information about the vdr