Author: duncan
Date: Fri Jan  5 22:11:26 2007
New Revision: 8932

Modified:
   branches/rel-1/freevo/src/audio/plugins/radioplayer.py

Log:
[ 1628031 ] AudioItem instance has no attribute 'station'
Patch from Frank Naude applied


Modified: branches/rel-1/freevo/src/audio/plugins/radioplayer.py
==============================================================================
--- branches/rel-1/freevo/src/audio/plugins/radioplayer.py      (original)
+++ branches/rel-1/freevo/src/audio/plugins/radioplayer.py      Fri Jan  5 
22:11:26 2007
@@ -89,8 +89,8 @@
         try:
             print 'RadioPlayer.play() %s' % self.item.station
         except AttributeError:
-            pass
-            
+            return 'Cannot play with RadioPlayer - no station'
+
         self.mode = 'play'
 
         mixer = plugin.getbyname('MIXER')

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to