Author: Gwadavel
Date: 2009-03-12 11:32:26 +0100 (Thu, 12 Mar 2009)
New Revision: 3981

Added:
   
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/trunk/executables/tux-gadget-clockradio.py
Log:
use mplayer, i don't know a module to play webradio
only one webradio for the moment

Added: 
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/trunk/executables/tux-gadget-clockradio.py
===================================================================
--- 
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/trunk/executables/tux-gadget-clockradio.py
                            (rev 0)
+++ 
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/trunk/executables/tux-gadget-clockradio.py
    2009-03-12 10:32:26 UTC (rev 3981)
@@ -0,0 +1,47 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+# -----------------------------------------------------------------------------
+#Gadget à placer dans mes alerts pour que Tux vous réveiile avec une webradio
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+# -----------------------------------------------------------------------------
+# $Id: $
+# -----------------------------------------------------------------------------
+
+"""
+CHANGES
+=======
+
+2009/03/11 - version 0.0.1:
+    - Initial version
+
+TODO LIST
+=========
+- Add more webradio 
+
+"""
+
+__author__  = "Eric Lescaudron AKA Gwadavel"
+__appname__ = "tux radio-réveil"
+__version__ = "0.0.1"
+__date__    = "2009/03/11"
+__license__ = "GPL"
+
+
+import os
+
+os.system("mplayer -ao alsa:device=plughw=TuxDroid.0 -playlist 
http://cache.yacast.fr/V4/rmc/rmc.m3u";)


Property changes on: 
software_suite_v2/software/gadgets/tuxdroid-gadget-clockradio/trunk/executables/tux-gadget-clockradio.py
___________________________________________________________________
Name: svn:executable
   + *


------------------------------------------------------------------------------
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

Reply via email to