Author: duncan
Date: Sun Jun 3 12:22:55 2007
New Revision: 9645
Modified:
branches/rel-1/freevo/src/audio/plugins/album_tree.py
branches/rel-1/freevo/src/helpers/recordserver.py
Log:
Changed messages to use _debug_
Modified: branches/rel-1/freevo/src/audio/plugins/album_tree.py
==============================================================================
--- branches/rel-1/freevo/src/audio/plugins/album_tree.py (original)
+++ branches/rel-1/freevo/src/audio/plugins/album_tree.py Sun Jun 3
12:22:55 2007
@@ -31,14 +31,14 @@
import config
import plugin
import menu
-import rc #what is rc??
+import rc
#import audio.player
from event import *
from util.dbutil import *
db = MetaDatabase()
-import freevo.playlist as playlist #namespaces :( not the playlist-pligin
+import freevo.playlist as playlist
from audio import audioitem
from gui import ProgressBox
Modified: branches/rel-1/freevo/src/helpers/recordserver.py
==============================================================================
--- branches/rel-1/freevo/src/helpers/recordserver.py (original)
+++ branches/rel-1/freevo/src/helpers/recordserver.py Sun Jun 3 12:22:55 2007
@@ -91,13 +91,14 @@
plugin.init_special_plugin(config.plugin_record)
def print_plugin_warning():
- print '*************************************************'
- print '** Warning: No recording plugin registered. **'
- print '** Check your local_conf.py for a **'
- print '** bad "plugin_record =" line or **'
- print '** this log for a plugin failure. **'
- print '** Recordings will fail! **'
- print '*************************************************'
+ _debug_('''
+ *************************************************
+ ** Warning: No recording plugin registered. **
+ ** Check your local_conf.py for a **
+ ** bad "plugin_record =" line or **
+ ** this log for a plugin failure. **
+ ** Recordings will fail! **
+ *************************************************''', -1)
if not plugin.getbyname('RECORD'):
@@ -907,7 +908,7 @@
if not self.record_app:
print_plugin_warning()
- _debug_('ERROR: Recording %s failed.' % rec_prog.title, 0)
+ _debug_('Recording %s failed.' % rec_prog.title, -2)
self.removeScheduledRecording(rec_prog)
return
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog