[tuxdroid-svn] r4630 - softwares_suite_v3/community/gadget/tuxdroid-gadget-lastfmradio/trunk/execut
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-05-05 08:01:43
|
Author: remi
Date: 2009-05-05 10:01:33 +0200 (Tue, 05 May 2009)
New Revision: 4630
Modified:
softwares_suite_v3/community/gadget/tuxdroid-gadget-lastfmradio/trunk/executables/tux-gadget-lastfmradio.py
Log:
* fixed host ip
* (Last fm has changed his business model, this gadget is now useless ...)
Modified: softwares_suite_v3/community/gadget/tuxdroid-gadget-lastfmradio/trunk/executables/tux-gadget-lastfmradio.py
===================================================================
--- softwares_suite_v3/community/gadget/tuxdroid-gadget-lastfmradio/trunk/executables/tux-gadget-lastfmradio.py 2009-05-05 07:59:32 UTC (rev 4629)
+++ softwares_suite_v3/community/gadget/tuxdroid-gadget-lastfmradio/trunk/executables/tux-gadget-lastfmradio.py 2009-05-05 08:01:33 UTC (rev 4630)
@@ -103,8 +103,12 @@
# Show the informations
if self.configuration().getRadioInfos():
self.__webViewer = WebViewer("Tux Droid Gadget : Last FM infos",
- "http://localhost:1881/", 370, -1)
- self.__webViewer.start()
+ "http://127.0.0.1:1881/", 370, -1)
+ def async():
+ time.sleep(1.0)
+ self.__webViewer.start()
+ t = threading.Thread(target = async)
+ t.start()
# Start mplayer
radioUrl = BASE_STREAM_LINK % self.configuration().getLikeThisArtist()
self.__player.start(radioUrl, True)
|