The idlebar plugin always shows active:

This match is too general:
self.tvlockfile = config.FREEVO_CACHEDIR + '/record*' (line 280)
in my case:
/var/cache/freevo/record*

because the recordings file also matches:
/var/cache/freevo/record_schedule.xml

change to:
self.tvlockfile = config.FREEVO_CACHEDIR + '/record.*'

freevo/src/plugins/idlebar# diff -u __init__.org __init__.py
--- __init__.org        2006-10-06 21:44:24.000000000 -0400
+++ __init__.py 2006-10-06 21:44:38.000000000 -0400
@@ -277,7 +277,7 @@
         self.listings_threshold = listings_threshold
         self.next_guide_check = 0
         self.listings_expire = 0
-        self.tvlockfile = config.FREEVO_CACHEDIR + '/record*'
+        self.tvlockfile = config.FREEVO_CACHEDIR + '/record.*'
         icondir = os.path.join(config.ICON_DIR, 'status')
         self.TVLOCKED     = os.path.join(icondir, 'television_active.png')
         self.TVFREE       = os.path.join(icondir, 'television_inactive.png')


-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to