from Screen import Screen
from Components.Button import Button
-from Components.ServiceList import ServiceList
from Components.ActionMap import ActionMap
from Components.MovieList import MovieList
from Components.DiskInfo import DiskInfo
})
self["actions"].csel = self
self.onShown.append(self.go)
-
- self.lengthTimer = eTimer()
- self.lengthTimer.timeout.get().append(self.updateLengthData)
self.inited = False
def showEventInformation(self):
self.updateTags()
- def updateLengthData(self):
- self.list.updateLengthOfIndex(self.lengthPosition)
- self.lengthPosition += 1
- if self.lengthPosition < self.lengthLength:
- self.lengthTimer.start(10, 1)
-
def moveTo(self):
self["list"].moveTo(self.selectedmovie)
return self["list"].getCurrent()
def movieSelected(self):
- self.lengthTimer.stop()
current = self.getCurrent()
if current is not None:
self.close(current)
def reloadList(self):
self["list"].reload(self.current_ref, self.selected_tags)
- self.lengthTimer.start(10, 1)
- self.lengthPosition = 0
- self.lengthLength = len(self["list"])
-
title = _("Recorded files...")
-
if self.selected_tags is not None:
title += " - " + ','.join(self.selected_tags)
-
self.setTitle(title)
def showAll(self):