Author: remi
Date: 2009-03-18 10:38:47 +0100 (Wed, 18 Mar 2009)
New Revision: 4118
Added:
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/branches/0.0.3-windows-compatible/executables/WebRadioList.py
Modified:
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/branches/0.0.3-windows-compatible/executables/tux-gadget-clockradio.py
Log:
* moded the radio list in a separate python file.
Added:
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/branches/0.0.3-windows-compatible/executables/WebRadioList.py
===================================================================
---
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/branches/0.0.3-windows-compatible/executables/WebRadioList.py
(rev 0)
+++
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/branches/0.0.3-windows-compatible/executables/WebRadioList.py
2009-03-18 09:38:47 UTC (rev 4118)
@@ -0,0 +1,13 @@
+# Web radios dictionary
+WEBRADIO = {
+ "France-Inter" :
"http://viphttp.yacast.net/V4/radiofrance/franceinter_hd.m3u",
+ "RMC-Info" : "http://cache.yacast.fr/V4/rmc/rmc.m3u",
+ "France-Info" :
"http://viphttp.yacast.net/V4/radiofrance/franceinfo_bd.m3u",
+ "France-Culture" :
"http://viphttp.yacast.net/V4/radiofrance/franceculture_hd.m3u",
+ "Le-Mouv" : "http://viphttp.yacast.net/V4/radiofrance/lemouv_hd.m3u",
+ "France-Musique" :
"http://viphttp.yacast.net/V4/radiofrance/francemusique_hd.m3u",
+ "France-Bleu-Ile-de-France" :
"http://viphttp.yacast.net/V4/radiofrance/francebleu_idf_hd.m3u",
+ "BBC2" : "http://www.bbc.co.uk/radio2/realmedia/fmg2.ram",
+ "RFM" : "mms://viplagardere.yacast.net/encoderrfm",
+ "Click'And'rock" :
"http://240plan.ovh.net/~clicknro/_www/www/dwd/player/hautdebit_wmp.wax"
+}
Property changes on:
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/branches/0.0.3-windows-compatible/executables/WebRadioList.py
___________________________________________________________________
Name: svn:keywords
+ Id
Modified:
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/branches/0.0.3-windows-compatible/executables/tux-gadget-clockradio.py
===================================================================
---
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/branches/0.0.3-windows-compatible/executables/tux-gadget-clockradio.py
2009-03-18 09:28:29 UTC (rev 4117)
+++
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/branches/0.0.3-windows-compatible/executables/tux-gadget-clockradio.py
2009-03-18 09:38:47 UTC (rev 4118)
@@ -61,21 +61,8 @@
from SimpleGadget.SimpleGadgetConfiguration import SimpleGadgetConfiguration
from SimpleGadget.SimpleGadget import SimpleGadget
from mplayer.Mplayer import Mplayer
+from WebRadioList import WEBRADIO
-# Web radios dictionary
-WEBRADIO = {
- "France-Inter" :
"http://viphttp.yacast.net/V4/radiofrance/franceinter_hd.m3u",
- "RMC-Info" : "http://cache.yacast.fr/V4/rmc/rmc.m3u",
- "France-Info" :
"http://viphttp.yacast.net/V4/radiofrance/franceinfo_bd.m3u",
- "France-Culture" :
"http://viphttp.yacast.net/V4/radiofrance/franceculture_hd.m3u",
- "Le-Mouv" : "http://viphttp.yacast.net/V4/radiofrance/lemouv_hd.m3u",
- "France-Musique" :
"http://viphttp.yacast.net/V4/radiofrance/francemusique_hd.m3u",
- "France-Bleu-Ile-de-France" :
"http://viphttp.yacast.net/V4/radiofrance/francebleu_idf_hd.m3u",
- "BBC2" : "http://www.bbc.co.uk/radio2/realmedia/fmg2.ram",
- "RFM" : "mms://viplagardere.yacast.net/encoderrfm",
- "Click'And'rock" :
"http://240plan.ovh.net/~clicknro/_www/www/dwd/player/hautdebit_wmp.wax"
-}
-
class Configuration(SimpleGadgetConfiguration):
def __init__(self):
@@ -107,7 +94,7 @@
radioUrl = myRadio
if myRadio in WEBRADIO.keys():
radioUrl = WEBRADIO[myRadio]
- self.throwMessage("Web radio \"{0}\"", myRadio)
+ self.throwMessage("Web radio \"{0}\".", myRadio)
# Create a mplayer wrapper object
player = Mplayer()
# Start mplayer
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn