Author: remi
Date: 2009-04-10 15:56:03 +0200 (Fri, 10 Apr 2009)
New Revision: 4479
Modified:
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/executables/tux-gadget-webradio.py
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/resources/gadget.pot
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/resources/gadget.xml
Log:
* this gadget only have a "run" command.
* bumped to 0.0.6
Modified:
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/executables/tux-gadget-webradio.py
===================================================================
---
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/executables/tux-gadget-webradio.py
2009-04-10 13:34:00 UTC (rev 4478)
+++
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/executables/tux-gadget-webradio.py
2009-04-10 13:56:03 UTC (rev 4479)
@@ -41,11 +41,14 @@
- Add compatibility with Windows
- Add SimpleGadget module
- Add a pid file for mplayer sub-process
-
+
2009/03/28 - version 0.0.5:
- Renamed the gadget to tuxdroid-gadget-webradio
- Now uses the mplayer module from the Tux Droid server
+2009/04/10 - version 0.0.6:
+ - Normalized the gadget commands list
+
TODO LIST
=========
- Add more webradio
@@ -55,8 +58,8 @@
__author__ = "Eric Lescaudron AKA Gwadavel"
__appname__ = "tux web radio"
-__version__ = "0.0.5"
-__date__ = "2009/03/28"
+__version__ = "0.0.6"
+__date__ = "2009/04/10"
__license__ = "GPL"
import os
@@ -90,17 +93,14 @@
self.__player = Mplayer()
def start(self):
- if self.getCommand() == "check":
- self.check()
+ if self.getCommand() == "run":
+ self.run()
else:
self.run()
def run(self):
self.__doExecute()
- def check(self):
- self.__doExecute()
-
def __doExecute(self):
myRadio = self.configuration().getRadio()
radioUrl = myRadio
@@ -109,7 +109,7 @@
self.throwMessage("Web radio \"{0}\".", myRadio)
# Start mplayer
self.__player.start(radioUrl, True)
-
+
def onGadgetStop(self):
"""Event on gadget stop.
"""
Modified:
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/resources/gadget.pot
===================================================================
---
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/resources/gadget.pot
2009-04-10 13:34:00 UTC (rev 4478)
+++
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/resources/gadget.pot
2009-04-10 13:56:03 UTC (rev 4479)
@@ -4,11 +4,8 @@
msgid "Use Tux as a webradio"
msgstr ""
-msgid "Webradio"
+msgid "Web radio"
msgstr ""
-msgid "Clock Radio"
-msgstr ""
-
msgid "Select radio"
msgstr ""
Modified:
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/resources/gadget.xml
===================================================================
---
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/resources/gadget.xml
2009-04-10 13:34:00 UTC (rev 4478)
+++
softwares_suite_v3/community/gadget/tuxdroid-gadget-webradio/trunk/resources/gadget.xml
2009-04-10 13:56:03 UTC (rev 4479)
@@ -7,7 +7,7 @@
<name>Web Radio</name>
<description>Use Tux as a webradio</description>
<author>Gwadavel</author>
- <version>0.0.5</version>
+ <version>0.0.6</version>
<iconFile>resources/webradio.png</iconFile>
<executionMode>command</executionMode>
<uuid>8349ed52-572d-4c3f-a7b8-05c2a8aec2c6</uuid>
@@ -22,11 +22,7 @@
<commands>
<command
name="run"
- description="Webradio"
+ description="Web radio"
daemon="true" />
- <command
- name="check"
- description="Clock Radio"
- daemon="true" />
</commands>
</gadget>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn