Reply to Thread
Results 1 to 6 of 6
  1. Default webradio and webtv #1
    sash is offline MythTV Rookie
    Join Date
    Apr 2006
    Posts
    1
    MythTV Gallery
    0
    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..
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Reply With Quote  

  2. Default #2
    phsdv is offline MythTV Friend in Training
    Join Date
    Nov 2005
    Posts
    7
    MythTV Gallery
    0
    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'


    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Reply With Quote  

  3. Default #3
    justinh is offline Cornerstone of the Community
    Join Date
    Nov 2004
    Posts
    2,333
    MythTV Gallery
    0
    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>
    


    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Reply With Quote  

  4. Default #4
    grant123 is offline MythTV Friend
    Join Date
    Apr 2006
    Posts
    34
    MythTV Gallery
    0
    Where can I find WebTV streams? I tried a Google search but it seems to be full of spam.


    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Reply With Quote  

  5. Default doesn't work with knoppmyth #5
    uzik is offline MythTV Rookie
    Join Date
    May 2006
    Posts
    2
    MythTV Gallery
    0
    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.


    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Reply With Quote  

  6. Default Re: webradio and webtv #6
    uzik is offline MythTV Rookie
    Join Date
    May 2006
    Posts
    2
    MythTV Gallery
    0
    Quote Originally Posted by sash
    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
    make a simple web page that shows the image, and put in the
    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">


    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Reply With Quote  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. WebTv [gelöst]
    By std in forum Allgemeines
    Replies: 2
    Last Post: 05-28-2007, 11:13 AM
  2. Mit MythMusic Webradio abspielen?
    By mts in forum Allgemeines
    Replies: 2
    Last Post: 10-05-2006, 09:13 PM
  3. WebTV keyboard with MythTV?
    By grant123 in forum General
    Replies: 0
    Last Post: 05-15-2006, 06:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts