Hi,

Currently the tvserver --scan option returns nothing if it fails to find 
a device. The below patch gives some feedback to the user.

John

[j...@localhost tvserver]$ diff -Naur ../bin/tvserver.orig ../bin/tvserver
--- ../bin/tvserver.orig        2010-08-05 23:25:52.596497816 +0100
+++ ../bin/tvserver     2010-08-05 23:24:24.855122615 +0100
@@ -114,6 +114,8 @@
          for info in tvserver.devices.info:
              print '*** %s ***' % info.device
              print info
+       if not tvserver.devices.info:
+           print 'No devices found, sorry.'
          sys.exit(0)
      if o in ('--help', '-h'):
          usage(0)


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to