Author: duncan
Date: Sat Nov  3 08:12:51 2007
New Revision: 10066

Log:
Added more information to the __init__ functions debug messages


Modified:
   branches/rel-1-7/freevo/src/audio/plugins/detach.py
   branches/rel-1-7/freevo/src/audio/plugins/detachbar.py
   branches/rel-1-7/freevo/src/commdetectcore.py
   branches/rel-1-7/freevo/src/encodingcore.py
   branches/rel-1-7/freevo/src/image/imageitem.py
   branches/rel-1-7/freevo/src/plugins/cd_burn.py
   branches/rel-1-7/freevo/src/plugins/idlebar/encoding.py
   branches/rel-1-7/freevo/src/plugins/idlebar/transcode.py
   branches/rel-1-7/freevo/src/tv/plugins/manual_record.py
   branches/rel-1-7/freevo/src/tv/plugins/upsoon.py
   branches/rel-1-7/freevo/src/video/plugins/bilingual.py
   branches/rel-1-7/freevo/src/video/plugins/reencode-old.py
   branches/rel-1-7/freevo/src/video/plugins/reencode.py

Modified: branches/rel-1-7/freevo/src/audio/plugins/detach.py
==============================================================================
--- branches/rel-1-7/freevo/src/audio/plugins/detach.py (original)
+++ branches/rel-1-7/freevo/src/audio/plugins/detach.py Sat Nov  3 08:12:51 2007
@@ -43,7 +43,7 @@
     """
 
     def __init__(self):
-        _debug_('__init__(self)', 2)
+        _debug_('detach.PluginInterface.__init__(self)', 2)
         plugin.MainMenuPlugin.__init__(self)
         config.EVENTS['audio'][config.DETACH_KEY] = Event(FUNCTION_CALL, 
arg=self.detach)
         self.show_item = menu.MenuItem(_('Show player'), action=self.show)

Modified: branches/rel-1-7/freevo/src/audio/plugins/detachbar.py
==============================================================================
--- branches/rel-1-7/freevo/src/audio/plugins/detachbar.py      (original)
+++ branches/rel-1-7/freevo/src/audio/plugins/detachbar.py      Sat Nov  3 
08:12:51 2007
@@ -58,7 +58,7 @@
 
     def __init__(self):
         """initialise the DaemonPlugin interface"""
-        _debug_('__init__(self)', 2)
+        _debug_('detachbar.PluginInterface.__init__(self)', 2)
         plugin.DaemonPlugin.__init__(self)
         self.plugin_name = 'audio.detachbar'
         self.update_registered = False

Modified: branches/rel-1-7/freevo/src/commdetectcore.py
==============================================================================
--- branches/rel-1-7/freevo/src/commdetectcore.py       (original)
+++ branches/rel-1-7/freevo/src/commdetectcore.py       Sat Nov  3 08:12:51 2007
@@ -38,7 +38,7 @@
 
     def __init__(self, source, idnr):
         """Initialize class instance"""
-        _debug_('__init__(self, %s)' % (source))
+        _debug_('commdetectcore.CommDetectJob.__init__(%s)' % (source))
         self.source = source
         self.name = source
         self.idnr = idnr

Modified: branches/rel-1-7/freevo/src/encodingcore.py
==============================================================================
--- branches/rel-1-7/freevo/src/encodingcore.py (original)
+++ branches/rel-1-7/freevo/src/encodingcore.py Sat Nov  3 08:12:51 2007
@@ -102,7 +102,8 @@
 
     def __init__(self, source, output, friendlyname, idnr, chapter=None):
         """Initialize class instance"""
-        _debug_('__init__(self, %s, %s, %s, %s, %s)' % (source, output, 
friendlyname, idnr, chapter), 2)
+        _debug_('encodingcore.EncodingJob.__init__(%s, %s, %s, %s, %s)' % \
+            (source, output, friendlyname, idnr, chapter), 2)
         #currently only MEncoder can be used, but who knows what will happen 
in the future :)
         self._generateCL = self._GenerateCLMencoder
 

Modified: branches/rel-1-7/freevo/src/image/imageitem.py
==============================================================================
--- branches/rel-1-7/freevo/src/image/imageitem.py      (original)
+++ branches/rel-1-7/freevo/src/image/imageitem.py      Sat Nov  3 08:12:51 2007
@@ -46,7 +46,7 @@
         """
         Default constructor for an image item
         """
-        #_debug_("__init__(self, url, parent, name=%s, duration=%s)" % (name, 
duration), 2)
+        #_debug_("imageitem.ImageItem.__init__(url, parent, name=%s, 
duration=%s)" % (name, duration), 2)
         self.type = 'image'
         self.autovars = [ ( 'rotation', 0 ) ]
         Item.__init__(self, parent)

Modified: branches/rel-1-7/freevo/src/plugins/cd_burn.py
==============================================================================
--- branches/rel-1-7/freevo/src/plugins/cd_burn.py      (original)
+++ branches/rel-1-7/freevo/src/plugins/cd_burn.py      Sat Nov  3 08:12:51 2007
@@ -110,7 +110,7 @@
 
 class Logger:
     def __init__(self):
-        _debug_('__init__(self)')
+        _debug_('cd_burn.Logger.__init__()')
         self.filename = '%s/%s-%s.log' % (config.FREEVO_LOGDIR, 
'burn_cd-helpers', os.getuid())
         self.file     = file(self.filename,"a")
 
@@ -121,7 +121,7 @@
 
 class BurnCDItem:
     def 
__init__(self,item,filename=None,plugin=None,menu=None,burn_mode="data_cd"):
-        
_debug_('__init__(self,item,filename=None,plugin=None,menu=None,burn_mode="data_cd")')
+        
_debug_('cd_burn.BurnCDItem.__init__(item,filename=None,plugin=None,menu=None,burn_mode="data_cd")')
         self.item          = item
         self.menuw         = menu
         self.plugin        = plugin
@@ -348,7 +348,7 @@
 #
 class main_burn_thread(threading.Thread):
     def __init__(self, token=None):
-        _debug_('__init__(self, token=None)')
+        _debug_('cd_burn.main_burn_thread.__init__(token=%r)' % (token))
         threading.Thread.__init__(self)
         self.token  = token
         self.childs = []
@@ -693,7 +693,7 @@
     """
 
     def __init__(self):
-        _debug_('__init__(self)')
+        _debug_('cd_burn.PluginInterface.__init__()')
         plugin.ItemPlugin.__init__(self)
         self.device = ''
         self.item   = None

Modified: branches/rel-1-7/freevo/src/plugins/idlebar/encoding.py
==============================================================================
--- branches/rel-1-7/freevo/src/plugins/idlebar/encoding.py     (original)
+++ branches/rel-1-7/freevo/src/plugins/idlebar/encoding.py     Sat Nov  3 
08:12:51 2007
@@ -58,7 +58,7 @@
     """
 
     def __init__(self):
-        _debug_('__init__(self)', 2)
+        _debug_('encoding.PluginInterface.__init__(self)', 2)
         plugin.DaemonPlugin.__init__(self)
         #IdleBarPlugin.__init__(self)
         self.poll_interval = 82 # 82*1/120th seconds (~1sec)

Modified: branches/rel-1-7/freevo/src/plugins/idlebar/transcode.py
==============================================================================
--- branches/rel-1-7/freevo/src/plugins/idlebar/transcode.py    (original)
+++ branches/rel-1-7/freevo/src/plugins/idlebar/transcode.py    Sat Nov  3 
08:12:51 2007
@@ -59,7 +59,7 @@
     """
 
     def __init__(self):
-        _debug_('__init__(self)', 2)
+        _debug_('transcode.PluginInterface.__init__(self)', 2)
         IdleBarPlugin.__init__(self)
         self.plugin_name = 'idlebar.transcode'
 

Modified: branches/rel-1-7/freevo/src/tv/plugins/manual_record.py
==============================================================================
--- branches/rel-1-7/freevo/src/tv/plugins/manual_record.py     (original)
+++ branches/rel-1-7/freevo/src/tv/plugins/manual_record.py     Sat Nov  3 
08:12:51 2007
@@ -56,7 +56,7 @@
 
 class ManualRecordItem(Item):
     def __init__(self, parent):
-        _debug_('__init__(self, parent)', 2)
+        _debug_('manual_record.ManualRecordItem.__init__(parent)', 2)
         Item.__init__(self, parent, skin_type='video')
 
         self.name = _("Manual Record")
@@ -392,7 +392,7 @@
     """
 
     def __init__(self):
-        _debug_('__init__(self)', 2)
+        _debug_('manual_record.PluginInterface.__init__()', 2)
         plugin.MainMenuPlugin.__init__(self)
 
     def items(self, parent):

Modified: branches/rel-1-7/freevo/src/tv/plugins/upsoon.py
==============================================================================
--- branches/rel-1-7/freevo/src/tv/plugins/upsoon.py    (original)
+++ branches/rel-1-7/freevo/src/tv/plugins/upsoon.py    Sat Nov  3 08:12:51 2007
@@ -70,7 +70,7 @@
         """
         init the upsoon plugin
         """
-        _debug_('__init__(self)', 2)
+        _debug_('upsoon.PluginInterface.__init__()', 2)
         plugin.DaemonPlugin.__init__(self)
         self.lock = thread.allocate_lock()
         self.poll_interval = 1500 #15 secs

Modified: branches/rel-1-7/freevo/src/video/plugins/bilingual.py
==============================================================================
--- branches/rel-1-7/freevo/src/video/plugins/bilingual.py      (original)
+++ branches/rel-1-7/freevo/src/video/plugins/bilingual.py      Sat Nov  3 
08:12:51 2007
@@ -48,7 +48,7 @@
     """
 
     def __init__(self):
-        _debug_('__init__(self)', 2)
+        _debug_('bilingual.PluginInterface.__init__(self)', 2)
         plugin.ItemPlugin.__init__(self)
         self.item = None
 

Modified: branches/rel-1-7/freevo/src/video/plugins/reencode-old.py
==============================================================================
--- branches/rel-1-7/freevo/src/video/plugins/reencode-old.py   (original)
+++ branches/rel-1-7/freevo/src/video/plugins/reencode-old.py   Sat Nov  3 
08:12:51 2007
@@ -50,7 +50,7 @@
     """
 
     def __init__(self):
-        _debug_('__init__(self)')
+        _debug_('reencode-old.PluginInterface.__init__(self)')
         plugin.ItemPlugin.__init__(self)
 
 

Modified: branches/rel-1-7/freevo/src/video/plugins/reencode.py
==============================================================================
--- branches/rel-1-7/freevo/src/video/plugins/reencode.py       (original)
+++ branches/rel-1-7/freevo/src/video/plugins/reencode.py       Sat Nov  3 
08:12:51 2007
@@ -51,7 +51,7 @@
     """
 
     def __init__(self):
-        _debug_('__init__(self)')
+        _debug_('reencode.PluginInterface.__init__(self)')
         plugin.ItemPlugin.__init__(self)
         self.title = ''
         self.source = ''

-------------------------------------------------------------------------
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