From 2601ee77efe1f10be7cbeb8af94e2fb229cc1ec1 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sat, 17 Dec 2005 02:56:52 +0000 Subject: timer: add name/description, factor out "parse from epg event", fix some cases where demux was not available at that time, add timeshift framework, fix movielist (not all movies are great!) --- lib/python/Components/TimerList.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/python/Components/TimerList.py') diff --git a/lib/python/Components/TimerList.py b/lib/python/Components/TimerList.py index b1e8bf45..f4176fad 100644 --- a/lib/python/Components/TimerList.py +++ b/lib/python/Components/TimerList.py @@ -26,9 +26,6 @@ RT_WRAP = 32 def TimerEntryComponent(timer, processed): res = [ timer ] - print time.strftime("%c", time.localtime(timer.begin)) - print time.strftime("%c", time.localtime(timer.end)) - res.append((0, 0, 400, 30, 0, RT_HALIGN_LEFT, timer.service_ref.getServiceName())) repeatedtext = "" days = [ "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" ] @@ -46,7 +43,7 @@ def TimerEntryComponent(timer, processed): else: res.append((0, 30, 200, 20, 1, RT_HALIGN_LEFT, repeatedtext + ("%s, %s ... %s" % (FuzzyTime(timer.begin) + FuzzyTime(timer.end)[1:])))) - res.append((300, 0, 200, 20, 1, RT_HALIGN_RIGHT, timer.description)) + res.append((300, 0, 200, 20, 1, RT_HALIGN_RIGHT, timer.name)) if not processed: if timer.state == TimerEntry.StateWait: -- cgit v1.2.3