here a simple mythtv upgrade for those who would like webradio and webtv in mythtv ( which it sadly lacks)
it simple to do. it evolves editing library.xml
and creation of a new xml called music_webmedia.xml
simple add these lines to library.xml
<button>
<type>MUSIC_WEB</type>
<text>Web Radio</text>
<action>MENU music_webmedia.xml</action>
</button>
now create a new xml called music_webmedia.xml
that has the web stations you want... in this format
<mythmenu name="MUSIC_WEBRADIO">
<button>
<type>MUSIC</type>
<text>Salue</text>
<action>EXEC xine -B -f -g http://www.salue.de/hoerenundsehen/salue.pls</action>
</button>
<button>
<type>MUSIC</type>
<text>Classic Rock- DE</text>
<action>EXEC xine -B -f -g http://www.classicrock-radio.de/c-rock32m.pls</action>
</button>
<button>
<type>MUSIC</type>
<text>World ART TV</text>
<action>EXEC mplayer -fs http://wm9.easystream.co.uk/worldart?MSWMExt=.asf</action>
</button>
<button>
<type>MUSIC</type>
<text>NTV German</text>
<action>EXEC realplay -f -q rtsp://real.ntv.t-bn.de/live/ntv/ntv_1.rm</action>
</button>
<button>
<type>MUSIC</type>
<text>BBC tv</text>
<action>EXEC mplayer -fs mms://wmlive.bbc.net.uk/wms/news/heads_bb_s1</action>
</button>
</mythmenu>
I opted to use xine to play the radio because you get the nice visual display as the music is playing.. ( but you can use mplayer fully if you like. I also prefere realplayer for playing the realmedia it handles them better for the the most part.. ( less audio syncing problems)
the only other problem one might encounter are web links to media that are incompatible to the xml format in that case you make a *.sh
<button>
<type>MUSIC</type>
<text>Central TV</text>
<action>EXEC /home/new/centraltv.sh</action>
</button>
and in centraltv.sh use your incompatible entry ie:
realplay -f -q rtsp://helix-ipx-03.stream.tv1.de/farm/*/encoder/3282az_media.rm?ref=tv2&cid=59231
have fun !
Now a simple question for someone who might know the answer I would like to make a script that refreshes a webcam picture every 5 minutes .
Ie for this webcam..
http://www.svsbr.de/webcam/pictures_...t/snapshot.jpg
at the moment I am using realplayer to display it in my web media dir in myth but I am not adverse to using other programs.. I have my remote configure to close xine and realplayer but would just as easy to with something else..


LinkBack URL
About LinkBacks







