Author: duncan
Date: Fri Nov  2 15:59:02 2007
New Revision: 10059

Log:
Added the device to the error to help fix a configuration problem


Modified:
   branches/rel-1/freevo/src/tv/channels.py

Modified: branches/rel-1/freevo/src/tv/channels.py
==============================================================================
--- branches/rel-1/freevo/src/tv/channels.py    (original)
+++ branches/rel-1/freevo/src/tv/channels.py    Fri Nov  2 15:59:02 2007
@@ -152,6 +152,8 @@
 
 
     def tunerSetFreq(self, chan, isplayer, app=None, app_cmd=None):
+        print 'DJW:tunerSetFreq(chan=%r, isplayer=%r, app=%r, app_cmd=%r' % \
+            (chan, isplayer, app, app_cmd)
         chan = str(chan)
         vg = self.getVideoGroup(chan, isplayer)
 
@@ -194,12 +196,14 @@
                 try:
                     vd.setinputbyname(vg.input_type)
                 except KeyError:
-                    print 'Cannot set input %r, must be one of:\n%r' % 
(vg.input_type, vd.inputs.keys())
+                    print 'Cannot set input %r for %r, must be one of:\n%r' % \
+                        (vg.input_type, vg.vdev, vd.inputs.keys())
 
                 try:
                     vd.setstdbyname(vg.tuner_norm)
                 except KeyError:
-                    print 'Cannot set standard %r, must be one of:\n%r' % 
(vg.tuner_norm, tv.v4l2.NORMS.keys())
+                    print 'Cannot set standard %r for %r, must be one of:\n%r' 
% \
+                        (vg.tuner_norm, vg.vdev, vd.standards.keys())
 
                 try:
                     vd.setfreq(freq)

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