Author: duncan
Date: Mon Jan 28 13:29:52 2008
New Revision: 10313
Log:
Small clean-ups of logging messages
Modified:
branches/rel-1/freevo/src/tv/record_types.py
branches/rel-1/freevo/src/util/fxdparser.py
branches/rel-1/freevo/src/util/mediainfo.py
branches/rel-1/freevo/src/video/videoitem.py
Modified: branches/rel-1/freevo/src/tv/record_types.py
==============================================================================
--- branches/rel-1/freevo/src/tv/record_types.py (original)
+++ branches/rel-1/freevo/src/tv/record_types.py Mon Jan 28 13:29:52 2008
@@ -53,7 +53,7 @@
if not self.programList.has_key(key):
self.programList[key] = prog
- _debug_('added \"%s\" %s"' % (String(key), prog), 1)
+ _debug_('added \"%s\" %s"' % (String(key), prog), 2)
else:
_debug_('We already know about this recording \"%s\"' % (key),
DINFO)
_debug_('"%s" items' % len(self.programList), 2)
@@ -66,7 +66,7 @@
if self.programList.has_key(key):
del self.programList[key]
- _debug_('removed \"%s\" %s"' % (String(key), prog), 1)
+ _debug_('removed \"%s\" %s"' % (String(key), prog), 2)
else:
_debug_('We do not know about this recording \"%s\"' % (prog),
DINFO)
Modified: branches/rel-1/freevo/src/util/fxdparser.py
==============================================================================
--- branches/rel-1/freevo/src/util/fxdparser.py (original)
+++ branches/rel-1/freevo/src/util/fxdparser.py Mon Jan 28 13:29:52 2008
@@ -1,6 +1,6 @@
# -*- coding: iso-8859-1 -*-
# -----------------------------------------------------------------------
-# fxdparser.py - Parser for fxd files
+# Parser for fxd files
# -----------------------------------------------------------------------
# $Id$
#
@@ -46,7 +46,7 @@
"""
One node for the FXDtree
"""
- def __init__(self, name, attr = [], first_cdata=None,
following_cdata=None):
+ def __init__(self, name, attr=[], first_cdata=None, following_cdata=None):
self.name = name
self.attr_list = []
for name, val in attr:
Modified: branches/rel-1/freevo/src/util/mediainfo.py
==============================================================================
--- branches/rel-1/freevo/src/util/mediainfo.py (original)
+++ branches/rel-1/freevo/src/util/mediainfo.py Mon Jan 28 13:29:52 2008
@@ -621,7 +621,7 @@
mmdata = mmpython.parse(media.devicename)
if not mmdata:
print '*****************************************'
- print 'Error detecting the disc'
+ print 'Error detecting the disc in %r' % (media.devicename)
print 'Please contact the developers'
print '*****************************************'
return {}
Modified: branches/rel-1/freevo/src/video/videoitem.py
==============================================================================
--- branches/rel-1/freevo/src/video/videoitem.py (original)
+++ branches/rel-1/freevo/src/video/videoitem.py Mon Jan 28 13:29:52 2008
@@ -160,6 +160,7 @@
directly because this functions also changes other attributes, like
filename, mode, network_play and the list of possible players
"""
+ print 'set_url(url=%r, info=%r)' % (url, info)
Item.set_url(self, url, info)
if url.startswith('dvd://') or url.startswith('vcd://'):
self.network_play = False
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog