more changes for service groups (replacement for zapping alternatives
[vuplus_dvbapp] / lib / service / servicedvb.cpp
index 1264b87..0a7a671 100644 (file)
@@ -174,7 +174,6 @@ int eStaticServiceDVBBouquetInformation::isPlayable(const eServiceReference &ref
                {
                        ((const eServiceReferenceDVB&)*it).getChannelID(chid);
                        int tmp=res->canAllocateChannel(chid, chid_ignore);
-                       eDebug("%d %s", tmp, it->toString().c_str());
                        if (tmp > cur)
                        {
                                m_playable_service = *it;
@@ -193,6 +192,13 @@ int eStaticServiceDVBBouquetInformation::getLength(const eServiceReference &ref)
        return -1;
 }
 
+#include <lib/dvb/epgcache.h>
+
+RESULT eStaticServiceDVBBouquetInformation::getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &ptr, time_t start_time)
+{
+       return eEPGCache::getInstance()->lookupEventTime(ref, start_time, ptr);
+}
+
 class eStaticServiceDVBPVRInformation: public iStaticServiceInformation
 {
        DECLARE_REF(eStaticServiceDVBPVRInformation);