Author: duncan
Date: Sun Oct 21 17:48:00 2007
New Revision: 10018

Log:
Moved upsoon to the tv plugins, where it really belongs
Fixed an old and obscure bug, then freevo is started just before a recording


Added:
   branches/rel-1-7/freevo/src/tv/plugins/upsoon.py
      - copied, changed from r10012, 
/branches/rel-1-7/freevo/src/plugins/upsoon.py
Removed:
   branches/rel-1-7/freevo/src/plugins/upsoon.py

Copied: branches/rel-1-7/freevo/src/tv/plugins/upsoon.py (from r10012, 
/branches/rel-1-7/freevo/src/plugins/upsoon.py)
==============================================================================
--- /branches/rel-1-7/freevo/src/plugins/upsoon.py      (original)
+++ branches/rel-1-7/freevo/src/tv/plugins/upsoon.py    Sun Oct 21 17:48:00 2007
@@ -6,7 +6,7 @@
 #
 # Notes:
 #    To activate, put the following line in local_conf.py:
-#       plugin.activate('upsoon')
+#       plugin.activate('tv.upsoon')
 # ToDo:
 #
 # -----------------------------------------------------------------------
@@ -57,7 +57,7 @@
     To activate this plugin, just put the following line at the end of your
     local_conf.py file:
 
-    | plugin.activate('upsoon')
+    | plugin.activate('tv.upsoon')
     """
     __author__           = 'Duncan Webb'
     __author_email__     = '[EMAIL PROTECTED]'
@@ -190,6 +190,8 @@
         vdev=self.fc.getVideoGroup(self.next_program.channel_id, False).vdev
         rdev=config.RADIO_DEVICE
 
+        self.tv_lockfile = config.FREEVO_CACHEDIR + 
'/record.'+vdev.split('/')[-1]
+
         # Remove the pending record lock file when a record lock file is 
written
         if os.path.exists(self.pending_lockfile):
             if os.path.exists(self.tv_lockfile):
@@ -198,7 +200,6 @@
             return None
 
         # Check if a recording is in progress
-        self.tv_lockfile = config.FREEVO_CACHEDIR + 
'/record.'+vdev.split('/')[-1]
         if os.path.exists(self.tv_lockfile):
             return None
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to