Thread: webradio and webtv
-
webradio and webtv #1
MythTV Rookie
- Join Date
- Apr 2006
- Posts
- 1
- MythTV Gallery
- 0
webradio and webtv –
04-25-2006,09:35 PM 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..
-
MythTV Friend in Training
- Join Date
- Nov 2005
- Posts
- 7
- MythTV Gallery
- 0
05-14-2006,10:58 AM thank you for this tip! I have implemented it and it works great. I splitted the webradio and webtv in seperated files and buttons to have some more place for different 'stations'
-
Cornerstone of the Community
- Join Date
- Nov 2004
- Posts
- 2,333
- MythTV Gallery
- 0
05-14-2006,11:22 AM By using the watermark feature of buttons in the xml file you could also add a logo graphic

Code:<watermarkimage>/usr/share/mythtv/feeds/bbclogo.png</watermarkimage>
-
MythTV Friend
- Join Date
- Apr 2006
- Posts
- 34
- MythTV Gallery
- 0
05-15-2006,06:20 PM Where can I find WebTV streams? I tried a Google search but it seems to be full of spam.
-
doesn't work with knoppmyth #5
MythTV Rookie
- Join Date
- May 2006
- Posts
- 2
- MythTV Gallery
- 0
doesn't work with knoppmyth –
05-16-2006,01:15 AM xine gives segmentation faults.
mplayer plays the audio but no user interface is displayed
and you have to ssh to the box to kill mplayer to get control
back.
-
Re: webradio and webtv #6
MythTV Rookie
- Join Date
- May 2006
- Posts
- 2
- MythTV Gallery
- 0
Re: webradio and webtv –
05-16-2006,03:52 AM make a simple web page that shows the image, and put in the
Originally Posted by sash
html to cause it to redirect after a fixed time.
add this to the head section of the html page
<meta http-equiv="refresh" content="300">
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
WebTv [gelöst]
By std in forum AllgemeinesReplies: 2Last Post: 05-28-2007, 11:13 AM -
Mit MythMusic Webradio abspielen?
By mts in forum AllgemeinesReplies: 2Last Post: 10-05-2006, 09:13 PM -
WebTV keyboard with MythTV?
By grant123 in forum GeneralReplies: 0Last Post: 05-15-2006, 06:28 PM


LinkBack URL
About LinkBacks





