Webradio (2 Viewers)

BigGranu

Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    54
    Home Country
    Germany Germany
    Is it possible to change the StreamList.xml manually and add some streams? Does this need a complete recompilation of the plugin?

    You can edit the Streamlist. "C:\ProgramData\Team MediaPortal\MP2-Client\Webradio\StreamList.xml"
    But, in then Moment not all Typs of Streams or Working with the Bassplayer. :(
    After a restart, are the new Streams available. Thats all. ;)

    It would be nice, you post the new Streams or the Streamlist.
    I push her then on the Server and all Users kann Update the List.
    This feature is included in the Plugin.
     

    BigGranu

    Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    54
    Home Country
    Germany Germany
    Hope you don't mind but I just discovered this plugin for MP2 and Love it!!
    Is there a way to configure it to show just a specific country?
    Also, while I found a USA station, the information about the station is not english

    Select a specific Country is very Easy.
    Select "Filter" in Menu and in the Dialog Quickfilter "Country". Now you can select one of all possible Countrys.
    This is a temporary Filter. For more functions you can create your own Filter.
    Select "Settings" in Menu and in the new Menu "Filter".

    Here is the Wiki for the MP1 Version. http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/MyWebradio
    The steps are almost identical.

    Screenshot (41).png Screenshot (42).png
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    It would be nice, you post the new Streams or the Streamlist.

    I added BestRadio and tested it in MP2. (by the way: what is the best way to choose the ID? Or does it not matter as long as it is not duplicated?)
    Code:
    <MyStream>
          <ID>8642</ID>
          <Titel>BestRadio</Titel>
          <URL>http://listen128.radionomy.com/bestradio</URL>
          <Country>Frankreich</Country>
          <City>Paris</City>
          <Genres>Hits</Genres>
          <Bitrate>128 kbps</Bitrate>
          <Description>Le meilleur des Hits</Description>
          <Home>http://www.best-radio.net/</Home>
          <Logo>http://d1i6vahw24eb07.cloudfront.net/s75738q.png</Logo>
          <Facebook />
          <Twitter />
          <Love>false</Love>
          <Block>false</Block>
          <PlayCount>0</PlayCount>
          <tag1 />
          <tag2 />
          <tag3 />
          <tag4 />
        </MyStream>
    1.jpg 2.jpg
     

    BigGranu

    Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    54
    Home Country
    Germany Germany
    I forgot to ask. Has anyone make an StreamList Update? And it works?
     

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    I finally updated my MP2 installation and installed the webradio plugin as well and it's working great (y) Thanks :)

    While using and testing, I also write down notes about issues and improvement suggestions. Most time theses things end up on my personal wiki page, but I'll additionally post them here as well when it's time. ;)

    First thing I noticed is the update dialog. There is a similar one within OnlineVideos already. morpheus_xx Could we somehow standardize this by creating a generic progress dialog or progress notification service? There will be many areas this can be used. I created a wiki page about it some time ago: http://wiki.team-mediaportal.com/in...for_Plugin_Devs/NotificationService_//_Popups
    offbyone What properties should such a dialog provide? Which do you use currently within yours in OV? title, currentitem/description, progress as percentage from 0...100 ....

    issue #9: Would it be possible to run the update without pressing the button? Maybe it might also need to auto-update the streams every x hours? Similar to the change within OnlineVideos recently.

    At next I tried to add new radio stations. Is there a documentation available anywhere about the xml format? Is it a format from any webservice or other application or based on the plugin's code?
    Reason I am asking for is that I am not sure how to specify some of the values:
    i.e. What is tag1, tag2, tag3, tag4 is used for? How should these look like? single values only or multiple comma separated ones, if so why 1 - 4?
    Are the values for Love, Block, PlayCount lost after updating the stream list? If so might this need separated storage of StreamsDefinition (updateable), playback statistics issue #8 (playcount, playtime, ....) and organization structure (favourites, groups, .....)

    It might also be useful to decouple the stats from the streaming list because of resetting a list (by removing the file) to the default one without loosing the stats.
    issue #7: Keeping Localization and Globalization in mind the country might be localizable. So by specifying the country code in Country only instead of the full country name, it might be possible to display Germany as Deutschland on German systems but Germany on English ones.
    http://msdn.microsoft.com/library/system.globalization.regioninfo.aspx
    http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
    Later this might also allow to display regional or recommended streams based on the user's region automatically.

    Would it make sense to allow multiple urls per stream, i.e. for different bitrates or various fileformats?

    issues #5 & #6: Would it be possible to define urls to *.m3u or *.pls files? This allows accessing streams via a static url, while the stream provider can change the location of the actual stream file (*.mp3) and only updates the content of the m3u/pls.

    When being disconnected from the web (daily provider disconnect) MP2 GUI is getting veeeeerrryy sloooooow while browsing in webradios. Not sure if this is really related to the disconnect. I'll keep an eye on this.

    issue #3: When the logo can't be found or downloaded it would be great to either hide the logo frame or fill it by a fallback image:
    20131020_003835.png

    issue #4: The menu item to go to settings from within the plugin is nice, but there is no Webradio entry in home>settings>plugins yet.

    In general (not related to the plugin specifically):
    I also noticed that there are more and more usages of logos. In the beginning these were radio and tv logos, now there are radio&tv from tv card (SlimTV), video streams (OnlineVideos), radio streams (Webradio) .... and maybe others as well, i.e. other MP1 plugins,....
    For MP1 there is a LogoManager and various repositories storing localized logos.
    Anyway it would be great if someday all the logo management could be done by a central component (plugin) to achieve a common design and reusing existing logos across all these plugins (media resources) without the explicit installation of any logo packages by the user.

    A few additional streams:
    issues #11 #12 & 13
     
    Last edited:

    mrj

    Portal Pro
    January 27, 2012
    252
    100
    Keeping Localization and Globalization in mind the country might be localizable. So by specifying the country code in Country only instead of the full country name, it might be possible to display Germany as Deutschland on German systems but Germany on English ones.
    +1

    Anyway it would be great if someday all the logo management could be done by a central component (plugin) to achieve a common design and reusing existing logos across all these plugins (media resources) without the explicit installation of any logo packages by the user.

    There is an related logo issue in Jira already "Download TV / Radio logos on first demand instead of shipping them with MP2 installation"
    https://issues.team-mediaportal.com/browse/MP2-342?jql=project = MP2
    /mrj
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Progress dialog in OV uses a Title, progress precentage and a Label for the current Item/Info what is updated. A generic one would surely make sense ;)
     

    BigGranu

    Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    54
    Home Country
    Germany Germany
    @chefkoch Wow, what a Post. (y)
    I will try to answer the first questions.

    Would it be possible to run the update without pressing the button? Maybe it might also need to auto-update the streams every x hours?
    I can make a Setting (Automatic/Manually). But the manual Method should remain.

    At next I tried to add new radio stations. Is there a documentation available anywhere about the xml format? Is it a format from any webservice or other application or based on the plugin's code?
    The Format is based on the Application. Not a official Version.
    Any Keys (tag2,...,block,..) ar never used and i will cleared in next time.
    Other Keys (Love,..) are transformed to new Settings. (Favorites)
    Favorites and Filter are saved in separatly Settings.

    Keeping Localization and Globalization in mind the country might be localizable.
    Nice Idea. (y)

    Would it be possible to define urls to *.m3u or *.pls files?
    The next Version can handle this.;) I have already implemented and tested it.

    When the logo can't be found or downloaded it would be great to either hide the logo frame or fill it by a fallback image:
    I will repair it.
     

    Users who are viewing this thread


    Write your reply...

    Similar threads

    When I am trying to get some hardware or software to work and I am experiencing problems, my usual procedure is: simplify, simplify, simplify. That means avoid making choices that may not work; instead make the "standard" choice, which is often simply accepting the default. A static IP address is known to work with MP1. An address...
    When I am trying to get some hardware or software to work and I am experiencing problems, my usual procedure is: simplify...
    As an "almost" beginner, I have just installed MP1 client and server v 1.37 unders Windows 11 in a brand new PC. The server is...
    Replies
    4
    Views
    443
    Thanks guys. Ok, spent the (whole) weekend on this lol. First; TVHeadend/Kodi.... Nah. Given up on that - 'non-tech'; its horrible. 'Tech' - a few reasons but mostly that it is buggy. It is actually a real shame as it does have potential and promises a lot (was great to have Kodi on my phone and be able to watch live/recordings...
    Thanks guys. Ok, spent the (whole) weekend on this lol. First; TVHeadend/Kodi.... Nah. Given up on that - 'non-tech'; its...
    So, a very long-time MP fan here. Family have used MP (Only MP1 as all addicted to Titan skin) for ever - for my 13yo, thats 100%...
    Replies
    5
    Views
    824
    • Sticky
    Upgrade install on MP 1.36 x64 proceeded without issue, everything I have tried so far is working and looking very good. Many Thanks(y):)
    Upgrade install on MP 1.36 x64 proceeded without issue, everything I have tried so far is working and looking very good. Many...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    1
    Views
    848
    • Sticky
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    We have just released MediaPortal 1.37 - Willow x86 and x64 version. Highlights of this release Bugfixes: [MP1-5232] - GPU...
    Replies
    4
    Views
    1K
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the Requirements and you've filled in your System Specs. Have a look at our MediaPortal Wiki! Maybe the solution is already there. Have a look at our Jira (Bug and Issue Tracker)and the threads in this section, maybe...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Replies
    0
    Views
    455
    Top Bottom