Author: duncan
Date: Mon Nov 12 15:18:59 2007
New Revision: 10109
Log:
Added goom debug statements
Modified:
branches/rel-1-7/freevo/src/audio/plugins/mplayervis.py
branches/rel-1/freevo/src/audio/plugins/mplayervis.py
Modified: branches/rel-1-7/freevo/src/audio/plugins/mplayervis.py
==============================================================================
--- branches/rel-1-7/freevo/src/audio/plugins/mplayervis.py (original)
+++ branches/rel-1-7/freevo/src/audio/plugins/mplayervis.py Mon Nov 12
15:18:59 2007
@@ -67,9 +67,9 @@
BaseAnimation.__init__(self, (x, y, width, height), fps=100,
bg_update=False, bg_redraw=False)
- _debug_('pygoom.set_exportfile(mmap_file=%r)' % (mmap_file))
+ _debug_('pygoom.set_exportfile(mmap_file=%r)' % (mmap_file), 2)
pygoom.set_exportfile(mmap_file)
- _debug_('pygoom.set_resolution(width=%r, height=%r, 0)' % (width,
height))
+ _debug_('pygoom.set_resolution(width=%r, height=%r, 0)' % (width,
height), 2)
pygoom.set_resolution(width, height, 0)
@@ -115,7 +115,7 @@
self.message = None
self.rect = r
- _debug_('pygoom.set_resolution(width=%r, height=%r, cinemascope=%r)' %
(width, height, cinemascope))
+ _debug_('pygoom.set_resolution(width=%r, height=%r, cinemascope=%r)' %
(width, height, cinemascope), 2)
pygoom.set_resolution(width, height, cinemascope)
# change the cover if neceserry
@@ -167,7 +167,7 @@
if self.next_update < current_time:
self.next_update = current_time + self.interval
- _debug_('pygoom.get_surface()')
+ _debug_('pygoom.get_surface()', 2)
gooms = pygoom.get_surface()
# draw blending
@@ -192,7 +192,7 @@
if self.blend > 0:
s, x, y = self.coversurf
s.set_alpha(self.blend)
- _debug_('gooms.blit(s, (x, y))')
+ _debug_('gooms.blit(s=%r, (x=%r, y=%r))' % (s, x, y), 2)
gooms.blit(s, (x, y))
# draw message
@@ -203,7 +203,7 @@
self.message = False
s.fill(0)
- _debug_('gooms.blit(s, (x, y))')
+ _debug_('gooms.blit(s=%r, (x=%r, y=%r))' % (s, x, y), 2)
gooms.blit(s, (x, y))
osd.putsurface(gooms, self.rect.left, self.rect.top)
@@ -400,7 +400,7 @@
if self.visual:
self.visual.remove()
self.visual = None
- _debug_('pygoom.quit()')
+ _debug_('pygoom.quit()', 2)
pygoom.quit()
Modified: branches/rel-1/freevo/src/audio/plugins/mplayervis.py
==============================================================================
--- branches/rel-1/freevo/src/audio/plugins/mplayervis.py (original)
+++ branches/rel-1/freevo/src/audio/plugins/mplayervis.py Mon Nov 12
15:18:59 2007
@@ -67,7 +67,9 @@
BaseAnimation.__init__(self, (x, y, width, height), fps=100,
bg_update=False, bg_redraw=False)
+ _debug_('pygoom.set_exportfile(mmap_file=%r)' % (mmap_file), 2)
pygoom.set_exportfile(mmap_file)
+ _debug_('pygoom.set_resolution(width=%r, height=%r, 0)' % (width,
height), 2)
pygoom.set_resolution(width, height, 0)
@@ -113,6 +115,7 @@
self.message = None
self.rect = r
+ _debug_('pygoom.set_resolution(width=%r, height=%r, cinemascope=%r)' %
(width, height, cinemascope), 2)
pygoom.set_resolution(width, height, cinemascope)
# change the cover if neceserry
@@ -164,6 +167,7 @@
if self.next_update < current_time:
self.next_update = current_time + self.interval
+ _debug_('pygoom.get_surface()', 2)
gooms = pygoom.get_surface()
# draw blending
@@ -188,6 +192,7 @@
if self.blend > 0:
s, x, y = self.coversurf
s.set_alpha(self.blend)
+ _debug_('gooms.blit(s=%r, (x=%r, y=%r))' % (s, x, y), 2)
gooms.blit(s, (x, y))
# draw message
@@ -198,7 +203,8 @@
self.message = False
s.fill(0)
- gooms.blit(s, (x,y))
+ _debug_('gooms.blit(s=%r, (x=%r, y=%r))' % (s, x, y), 2)
+ gooms.blit(s, (x, y))
osd.putsurface(gooms, self.rect.left, self.rect.top)
osd.update(self.rect)
@@ -394,6 +400,7 @@
if self.visual:
self.visual.remove()
self.visual = None
+ _debug_('pygoom.quit()', 2)
pygoom.quit()
-------------------------------------------------------------------------
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