iPlayableService, eServiceReference, eEPGCache, eActionMap
from time import time, localtime, strftime
-from os import stat as os_stat
+from os import stat as os_stat, system as os_system
from bisect import insort
from RecordTimer import RecordTimerEntry, RecordTimer
if not fileExists("/hdd", 0):
print "not found /hdd"
- system("ln -s /media/hdd /hdd")
+ os_system("ln -s /media/hdd /hdd")
#
try:
stat = os_stat(dir)
self.deleteConfirmed((None, "no"))
def deleteConfirmed(self, confirmed):
+ if confirmed is None:
+ confirmed = (None, "no")
+
if confirmed[1] == "yes" or confirmed[1] == "yestoall":
eDVBDB.getInstance().removeServices(-1, -1, -1, self.satpos_to_remove)