X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d65ce06bfed2444d9870630f095db401d78a096e..3e3832c8784e966dca29354c158ffb636f33c8cb:/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; +}