show progress and current time in servicelist event information instead of
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sun, 22 Jul 2007 23:10:33 +0000 (23:10 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sun, 22 Jul 2007 23:10:33 +0000 (23:10 +0000)
show duplicate event title

data/skin_default.xml
lib/python/Screens/ChannelSelection.py

index 5bec0cf..b8395e4 100644 (file)
                        <convert type="EventTime">EndTime</convert>
                        <convert type="ClockToText">Format:- %H:%M</convert>
                </widget>
-               <widget source="ServiceEvent" render="Label" position="134,322" size="423,22" font="Regular;19" >
-                       <convert type="EventName">Name</convert>
+               <widget source="ServiceEvent" render="Progress" position="134,326" size="100,13" borderWidth="2" >
+                       <convert type="EventTime">Progress</convert>
+               </widget>
+               <widget source="CurrentTime" render="Label" position="495,322" size="65,28" font="Regular;19" >
+                       <convert type="ClockToText"></convert>
                </widget>
                <widget source="ServiceEvent" render="Label" position="4,347" size="552,66" font="Regular;19" >
                        <convert type="EventName">ExtendedDescription</convert>
index 94cf1ae..3f3c4de 100644 (file)
@@ -1042,6 +1042,8 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
                ChannelSelectionEPG.__init__(self)
                SelectionEventInfo.__init__(self)
 
+               self["CurrentTime"] = Clock()
+
                self["actions"] = ActionMap(["OkCancelActions", "TvRadioActions"],
                        {
                                "cancel": self.cancel,