lookupEvent returns one entry for every service event though no event in
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 10 Nov 2007 12:26:07 +0000 (12:26 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 10 Nov 2007 12:26:07 +0000 (12:26 +0000)
queried time range is found.. in this case all event based entries in
returned tuple are None

lib/dvb/epgcache.cpp

index 247b0c0..e08d81a 100644 (file)
@@ -1548,7 +1548,7 @@ RESULT eEPGCache::startTimeQuery(const eServiceReference &service, time_t begin,
 
                currentQueryTsidOnid = (ref.getTransportStreamID().get()<<16) | ref.getOriginalNetworkID().get();
                Unlock();
 
                currentQueryTsidOnid = (ref.getTransportStreamID().get()<<16) | ref.getOriginalNetworkID().get();
                Unlock();
-               return 0;
+               return -(m_timemap_cursor == m_timemap_end);
        }
        Unlock();
        return -1;
        }
        Unlock();
        return -1;