self.result = False
def getCurrentLocation(self):
- return config.movielist.last_videodir.value
+ path = config.movielist.last_videodir.value or "/hdd/movie"
+ if not os.path.exists(path):
+ path = "__ERROR__"
+
+ return path
def getLocations(self):
return config.movielist.videodirs.value
(begin, end, name, description, eit) = parseEvent(event)
- timer = RecordTimerEntry(ServiceReference(param['sRef']), begin , end, name, description, eit, False, justplay, AFTEREVENT.NONE, dirname=location, tags=tags)
+ timer = RecordTimerEntry(ServiceReference(param['sRef']), begin , end, name, description, eit, False, justplay, AFTEREVENT.AUTO, dirname=location, tags=tags)
conflicts = self.recordtimer.record(timer)
if conflicts is None: