add audioselection, removed democode
[enigma2.git] / lib / dvb / epgcache.cpp
index d7515b1..c1f294a 100644 (file)
@@ -747,14 +747,6 @@ void eEPGCache::save()
 #endif
 }
 
-RESULT eEPGCache::getInstance(eEPGCache *&ptr)
-{
-       ptr = instance;
-       if (!ptr)
-               return -1;
-       return 0;
-}
-
 eEPGCache::channel_data::channel_data(eEPGCache *ml)
        :cache(ml)
        ,abortTimer(ml), zapTimer(ml)
@@ -1153,6 +1145,8 @@ RESULT eEPGCache::startTimeQuery(const eServiceReference &service, time_t begin,
                                        m_timemap_cursor = it;
                        }
                }
+               else
+                       m_timemap_cursor = It->second.second.begin();
                return 0;
        }
        return -1;