diff options
author | Moritz Venn <moritz.venn@freaque.net> | 2011-02-13 14:59:19 (GMT) |
---|---|---|
committer | Moritz Venn <moritz.venn@freaque.net> | 2011-02-13 15:00:29 (GMT) |
commit | 224813a36b7dd49280f98376d86fbe2bc488281a (patch) | |
tree | bc11add71e5cb8523f3231dafd14606689ac6e7b | |
parent | 04159b1ded757c4a2799ea227d083dde32a0b354 (diff) |
autotimer,epgrefresh: bump max matches to 500
-rw-r--r-- | autotimer/src/AutoTimer.py | 2 | ||||
-rw-r--r-- | epgsearch/src/EPGSearch.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/autotimer/src/AutoTimer.py b/autotimer/src/AutoTimer.py index f80ee22..d4a599e 100644 --- a/autotimer/src/AutoTimer.py +++ b/autotimer/src/AutoTimer.py @@ -182,7 +182,7 @@ class AutoTimer: # Search EPG, default to empty list epgcache = eEPGCache.getInstance() - ret = epgcache.search(('RI', 100, typeMap[timer.searchType], match, caseMap[timer.searchCase])) or () + ret = epgcache.search(('RI', 500, typeMap[timer.searchType], match, caseMap[timer.searchCase])) or () for serviceref, eit in ret: eserviceref = eServiceReference(serviceref) diff --git a/epgsearch/src/EPGSearch.py b/epgsearch/src/EPGSearch.py index f421fce..bb6c15b 100644 --- a/epgsearch/src/EPGSearch.py +++ b/epgsearch/src/EPGSearch.py @@ -327,7 +327,7 @@ class EPGSearch(EPGSelection): # Search EPG, default to empty list epgcache = eEPGCache.getInstance() # XXX: the EPGList also keeps an instance of the cache but we better make sure that we get what we want :-) - ret = epgcache.search(('RIBDT', 200, eEPGCache.PARTIAL_TITLE_SEARCH, searchString, eEPGCache.NO_CASE_CHECK)) or [] + ret = epgcache.search(('RIBDT', 500, eEPGCache.PARTIAL_TITLE_SEARCH, searchString, eEPGCache.NO_CASE_CHECK)) or [] ret.sort(key = lambda x: x[2]) # sort by time # Update List |