[Plugin] Streamradio V2 (1 Viewer)

RAWPWR

Portal Pro
September 30, 2007
126
22
Home Country
United States of America United States of America
Any new news on a update yet? Plus is it possible to have the skin files etc. compatible for the StreamedMP skin. It seems that a lot of folks here are using this skin including myself. Thx

EDIT: Also is it possible to make this plug more like the My Radio. In past MP versions like 1.0.2? I liked how you can put a url address in MP config and add your own art thumbs to the radio thumbs folder. I don't watch TV with MP so I didn't install Tv server, with all that extra software bloat that I don't need. I wish the DEVs would put the MyRadio back in the main MP program for people like me that listen to alot of internet radio, but don't use the TV option at all. PLEASE!! Thanks
 

horned_reaper

Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    AW: [Plugin] Streamradio V2

    Hi kroko,

    first of all thanks for your great plugin!

    Is it possible to use it with the StreamedMP skin, too? I installed it but all background and menu images aren't loaded.
    I created a script to copy all used image files but the Streamradio menu still isn't shown correctly.

    Thanks for you help in advance!


    Best regards
    Manuel


    Script:
    echo off
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\mystreamradio.xml" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\mystreamradio.xml"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\mystreamradio_recs.xml" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\mystreamradio_recs.xml"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\hover_my streamradio.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\hover_my streamradio.png"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\icecast.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\icecast.png"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\icecastBig.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\icecastBig.png"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\shout.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\shout.png"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\shoutBig.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\shoutBig.png"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\webstream_logo.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\webstream_logo.png"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\mystreamradio.xml" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\mystreamradio.xml"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\mystreamradio_recs.xml" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\mystreamradio_recs.xml"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\backslide.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\backslide.png"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\Action_focus.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\Action_focus.png"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\Action_nofocus.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\Action_nofocus.png"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\Backslide.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\Backslide.png"
    copy "C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3wide\Media\hbar1.png" "C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\hbar1.png"
    pause
     

    tankred

    New Member
    January 8, 2011
    1
    0
    Home Country
    Germany Germany
    Hi kroko,

    first of all, I would like to thank you for this wonderful plugin. Great work!

    Unfortunately, I was not able to configure my favourite radio station by myself. Even though my efforts produced an xml file including the radio paradise logo, and I hear music as expected, an error window pops up ("Unbehandelte Ausnahme...", for the output see fehler.txt). This also happens on certain music stations that come along with the plugin.
    Additionally, I did not succeed in implementing the image describing the current track. Could you help me here, or give me some advice how to proceed?

    Thanks in advance,
    Tankred.

    ----------
     

    Attachments

    • fehler.txt
      20.5 KB

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    AW: [Plugin] Streamradio V2

    Hello,

    I have the problem I see nothing. Use the streamedmp skin and I tried it with different xml's from the forum. Although I have the OSD but I do not see any channel.

    MEPO use the latest version of 1.2.0 alpha stream radio and the latest version of Skin. On what is this? At the alpha?
     

    floh

    New Member
    January 16, 2011
    3
    0
    Home Country
    Germany Germany
    Hi everybody,

    I'm new to Mediaportal and I just found this plugin. It works great for me. Thanks, kroko! :)

    I immediatly startet making xml files for some of the radio stations I missed: Deutschlandradio, Deutschlandradio Kultur and Deutschlandradio Wissen. The Logos I used for them come from the German Logo Pack, simple style. I hope that's ok. The parser returns the program title for both artist and title, because unfortunately that's the only thing provided on the webpages.

    @ tankred: Does your xml file contain a line "<imageUrl>"..."</imageUrl>" just above the <swap>-line? The same problem turned up for me when I tried editing "swr3.xml", and adding that line solved it. But the parser for swr3 still doesn't work. Ill post it if I can fix it.
     

    Attachments

    • Deutschlandfunk.zip
      6.1 KB
    • Deutschlandradio Kultur.zip
      5.5 KB
    • Deutschlandradio Wissen.zip
      7.1 KB

    Cruzer

    Portal Pro
    February 16, 2008
    172
    15
    Home Country
    United States of America United States of America
    Here is a xml file for MyStreamradio I created for the StreamMP skin. However, I am no skinner. This works for me, but I make no guarantees.
     

    Attachments

    • mystreamradio.xml
      4.9 KB

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    Hi Kroko

    Just a minor point - 'Objects' is still hard coded as part of #itemcount for mystreamradio_recs.xml (but not for mystreamradio.xml :) ) With MP 1.1.x skins can add text to #itemcount (such as #itemtype or #currentmodule which works great in Streamradio) and In MP 1.2.0 there will be a LOT more options to combine text with #itemcount and other properties using skin expressions. So no need for hard coded text!

    Is there any way to display an image for recordings? Even just the station logo would be nice.

    I still hardly ever get any logo to display in the music overlay window when radio is playing. But that is true for MP radio as well in most cases, so I know it is not your fault. One day, I am hoping all stations stream artist and and track info nicely so I can play streamradio in MP Now Playing window with all the bells and whistles!

    I really like the direction you have take with the pluign. Just keeps getting better and better! Thanks!
     

    Cruzer

    Portal Pro
    February 16, 2008
    172
    15
    Home Country
    United States of America United States of America
    Kroko,

    If you plan on continuing this great plugin, it would be very useful if you would setup a google code site (or something similar). Then there would be a central location for people to report bugs and request enhancements. Just an idea.
     

    Ostrich

    MP Donator
  • Premium Supporter
  • September 6, 2005
    335
    26
    55
    Home Country
    Germany Germany
    AW: [Plugin] Streamradio V2

    Hi everybody,

    everyone know, how i can setup adobe flash Player radio stations?

    for example this (Radio Nora)

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <**** **********="Content-Type" content="text/html; charset=UTF-8" />
    <title>Livestream | Radio NORA</title>
    <**** name="description" content="Hören Sie Radio NORA jetzt live im Internet" />

    <script type="text/javascript" src="swfobject.js"></script>
    <style type="text/css">
    a:link{
    color:#ffffff;
    text-decoration: underline;
    }
    a:visited{
    color:#ffffff;
    text-decoration: underline;
    }
    a:hover{
    color:#002d66;
    text-decoration: none;
    }
    a img{
    border: none;
    }
    body {
    margin:0px;
    background:#ffffff url(bg.jpg) no-repeat left top;
    text-align:left;
    }
    #container {
    font-family: verdana, sans-serif;
    font-size: 11px;
    color: #ffffff;
    font-weight: normal;
    }
    #page1 {
    position:absolute;
    top:320px;
    left:339px;
    width:295px;
    height:84px;
    z-index:1;
    }
    #transpbg {
    background: url(transparent_bg.png) no-repeat right top;
    position:absolute;
    top:289px;
    left:8px;
    width:304px;
    height:220px;
    z-index:3;
    }
    #teaser1 {
    position:absolute;
    top:298px;
    left:16px;
    z-index:4;
    }
    #teaser2 {
    position:absolute;
    top:298px;
    left:164px;
    z-index:5;
    }
    .teaser {
    width:145px;
    height:78px;
    float:left;
    color:#fff;
    font-size:11px;
    font-family: verdana, sans-serif;
    }
    .teaser p {
    padding: 0;
    margin: 2px 0;
    }
    .clear {
    clear: both;
    }
    </style>
    </head>
    <body>
    <div id="container">
    <div id="page1">
    <a href="http://stream.hoerradar.de/nora128" target="_blank"> <img src="fallback_player.png" border="0" alt="Radio NORA" /> </a>
    </div>
    <div id="transpbg">
    </div>
    <div id="teaser1" class="teaser">
    <a href="http://www.radionora.de/nora/programm/radiohoeren/index.html" target="_blank">
    <img src="teaser1.jpg" alt="Sie knnen nichts hren?" />
    </a>
    <p><strong>Sie können nichts hören?</strong><br /><br />
    Starten Sie den MP3-Stream neu oder informieren Sie sich über andere Möglichkeiten. <br /><br />
    <a href="http://www.radionora.de/nora/programm/radiohoeren/index.html" target="_blank"> Alle Infos hier </a> </p>
    </div>
    <div id="teaser2" class="teaser">
    <a href="http://www.radionora.de/nora/programm/aktionen/aktionen1.html" target="_blank">
    <img src="teaser2.jpg" alt="Sie können nichts hören?" />
    </a>
    <p><strong>Sie wollen mehr Radio NORA?</strong><br /><br />
    Unsere spannenden Mitmach-Aktionen und tolle Gewinnspiele bei Radio NORA. <br /> <br />
    <a href="http://www.radionora.de/nora/programm/aktionen/aktionen1.html" target="_blank"> Zur Übersicht </a> </p>
    </div>
    <div class="clear"></div>
    </div>
    <script type="text/javascript">
    // <!--
    var so = new SWFObject("player.swf", "mymovie1", "295", "84", "8");
    so.addParam("wmode", "transparent")
    so.write("page1");
    // -->
    </script>
    <script type="text/javascript">
    // <!--
    var so = new SWFObject("playingnow.swf", "mymovie2", "304", "380", "9");
    so.addParam("wmode", "transparent")
    so.write("page2");
    // -->
    </script>

    <script type="text/javascript">
    // <!--
    var _gaq = _gaq || [];

    _gaq.push(['_setAccount', 'UA-995157-1']);

    _gaq.push(['_setDomainName', '.radionora.de']);

    _gaq.push(['_trackPageview']);

    (function() {

    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

    })();
    // -->
    </script>

    <script type="text/javascript">
    // <!--
    var IVW="http://radiono.ivwbox.de/cgi-bin/ivw/CP/rsh/livestream;var"; document.write("<img src=\""+IVW+"?r="+escape(document.referrer)+"\" width=\"1\" height=\"1\" alt=\"IVW\" />");
    // -->
    </script>
    <noscript>
    <img src="http://radiono.ivwbox.de/cgi-bin/ivw/CP/rsh/livestream;var" width="1" height="1" alt="IVW" />
    </noscript>
    <!-- /IVW -->

    </body>
    </html>
     

    Cruzer

    Portal Pro
    February 16, 2008
    172
    15
    Home Country
    United States of America United States of America
    I believe that radio nora can be played with this plugin. While they have a built-in player on their site, you can also play their station on regular players such as winamp, MP, etc. They talk about it on their site (thank goodness for Google translation):

    Radio NORA - HITS & OLDIES

    It says that you just connect to url:

    http://stream.hoerradar.de/nora128

    Just create a radio station with this url like you would for any radio station. You should be able to play this in streamradio or the built-in radio in the TV server.
     

    Users who are viewing this thread

    Top Bottom