add audioselection, removed democode
[enigma2.git] / lib / dvb / epgcache.cpp
index d7515b1400055726e2296b112428e2cc8d57d6c5..c1f294a6cba3b643a681eaf7d78dc1ec0f35142e 100644 (file)
@@ -747,14 +747,6 @@ void eEPGCache::save()
 #endif
 }
 
 #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)
 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;
                        }
                }
                                        m_timemap_cursor = it;
                        }
                }
+               else
+                       m_timemap_cursor = It->second.second.begin();
                return 0;
        }
        return -1;
                return 0;
        }
        return -1;