Author: duncan
Date: Fri Mar 23 18:28:57 2007
New Revision: 9376
Modified:
branches/rel-1/freevo/src/tv/plugins/recordings_manager.py
Log:
[ 1672003 ] TV Recordings Manager and automatic space reclaiming
Patch from Adam Charrett applied
Modified: branches/rel-1/freevo/src/tv/plugins/recordings_manager.py
==============================================================================
--- branches/rel-1/freevo/src/tv/plugins/recordings_manager.py (original)
+++ branches/rel-1/freevo/src/tv/plugins/recordings_manager.py Fri Mar 23
18:28:57 2007
@@ -395,6 +395,9 @@
return u'%010.0f%s' % (0.0, self.name)
return self.name
+
+ def id(self):
+ return self.sort('date+name')
# ======================================================================
# Series Menu Class
@@ -573,6 +576,9 @@
return u'%10d%s' % (int(latest_timestamp), self.name)
return self.name
+
+ def id(self):
+ return 'series:' + self.name
# ======================================================================
@@ -602,8 +608,7 @@
# Delete a candidate
candidate = candidates.pop(0)
watched, keep = self.candidate_status(candidate)
- print 'Deleting %s (watched %s, keep %s timestamp %s)' %
(candidate.name, watched, keep, candidate['recording_timestamp'])
- #candidates.files.delete()
+ candidates.files.delete()
def generate_candidates(self):
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog