X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/afe7d8cacb1875f0e86a9f970dac9280dba20462..d87e3beb37390b59d288ae1cb43d9f887754ed56:/lib/dvb/scan.cpp diff --git a/lib/dvb/scan.cpp b/lib/dvb/scan.cpp index 3915a0c4..20bb9159 100644 --- a/lib/dvb/scan.cpp +++ b/lib/dvb/scan.cpp @@ -123,13 +123,10 @@ RESULT eDVBScan::nextChannel() m_chid_current = eDVBChannelID(); m_channel_state = iDVBChannel::state_idle; + if (fe->tune(*m_ch_current)) - { return nextChannel(); - m_event(evtFail); - return -EINVAL; - } - + m_event(evtUpdate); return 0; } @@ -782,4 +779,15 @@ RESULT eDVBScan::getFrontend(ePtr &fe) return m_channel->getFrontend(fe); fe = 0; return -1; -} \ No newline at end of file +} + +RESULT eDVBScan::getCurrentTransponder(ePtr &tp) +{ + if (m_ch_current) + { + tp = m_ch_current; + return 0; + } + tp = 0; + return -1; +}