Author: duncan
Date: Wed Jan 31 20:50:52 2007
New Revision: 9120
Modified:
branches/rel-1/freevo/src/directory.py
branches/rel-1/freevo/src/plugin.py
branches/rel-1/freevo/src/plugins/usb.py
Log:
[ 1649009 ] encoding.py too resource intensive
Patch from Frank Naude applied
Modified: branches/rel-1/freevo/src/directory.py
==============================================================================
--- branches/rel-1/freevo/src/directory.py (original)
+++ branches/rel-1/freevo/src/directory.py Wed Jan 31 20:50:52 2007
@@ -960,7 +960,7 @@
self.item_menu = None
self.dir = None
self.files = None
- self.poll_interval = 100
+ self.poll_interval = 100 # 1 sec
plugin.register(self, 'Dirwatcher')
Modified: branches/rel-1/freevo/src/plugin.py
==============================================================================
--- branches/rel-1/freevo/src/plugin.py (original)
+++ branches/rel-1/freevo/src/plugin.py Wed Jan 31 20:50:52 2007
@@ -144,7 +144,7 @@
def __init__(self):
Plugin.__init__(self)
self.poll_counter = 0 # poll counter, don't change this
- self.poll_interval = 1 # poll every x*0.1 seconds
+ self.poll_interval = 10 # poll every 1/10 second, approximately
self.poll_menu_only = True # poll only when menu is active
self.event_listener = False # process all events
Modified: branches/rel-1/freevo/src/plugins/usb.py
==============================================================================
--- branches/rel-1/freevo/src/plugins/usb.py (original)
+++ branches/rel-1/freevo/src/plugins/usb.py Wed Jan 31 20:50:52 2007
@@ -58,7 +58,7 @@
def __init__(self):
plugin.DaemonPlugin.__init__(self)
self.devices = util.list_usb_devices()
- self.poll_interval = 100
+ self.poll_interval = 100 # 1 second
def config(self):
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog