Webradio (1 Viewer)

ge2301

Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,725
    3,521
    Stuttgart
    Home Country
    Germany Germany
    (y) Looks like this now:
    webradio.jpg
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,725
    3,521
    Stuttgart
    Home Country
    Germany Germany
    Does not show up in MP2.1.3.
    A few more details please, otherwise nobody can help.
    Does the menu icon not exist? Does the configuration entry no exist? Do you not see the view from previous post, but something different? Have you copied the plugin into the right folder? If you think you have copied the plugin into the right folder, please upload the log files.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,725
    3,521
    Stuttgart
    Home Country
    Germany Germany
    @BigGranu
    I hope you are doing well. I still see you in the forum from time to time, so I thought I ask if you are still ok to help with a few easy things?
    I'm currently overworking the FullScreenContents to match to the one when playing normal audio tracks. For that if would be cool the parameters in WebradioHome.xaml for the CurrentItem also available in the Webradio_FullScreenContent.xaml.

    Currently I found only following parameters:
    XML:
                    Artist = string.Empty;
                    Title = string.Empty;
                    Album = string.Empty;
                    CurrentStreamLogo = string.Empty;
                    Listeners = string.Empty;

    The paramters I have in mind are by priority following:
    • Name (of radio channel)
    • Genres
    • Country
    • City
    • Description
    Perhaps there is also a way to call them without modifications, but I do not know now.
    Preview, of how it looks currently with WMC skin:
    Unbenannt.jpg


    PS: We have folked the branch to here, so latest changes are only there included.
     

    BigGranu

    Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    55
    Home Country
    Germany Germany
    @ge2301
    Use more/other Parameters in the View, need changes in the source of "WebRadioUIContributor".
    All Informations about the Channel are in the WebradioHome.SelectedStream.

    C#:
    // Prop for the Stream
    private MyStream _stream;
    
    protected AbstractProperty _channelNameProperty;
    public string ChannelName
    {
       get { return (string)_channelNameProperty.GetValue(); }
       set { _channelNameProperty.SetValue(value); }
    }

    After this set the Props in "Initialize" and "Update".
    C#:
    _stream = WebradioHome.SelectedStream;
    ChannelName = _stream.Title;
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,725
    3,521
    Stuttgart
    Home Country
    Germany Germany
    @ge2301
    Use more/other Parameters in the View, need changes in the source of "WebRadioUIContributor".
    All Informations about the Channel are in the WebradioHome.SelectedStream.

    C#:
    // Prop for the Stream
    private MyStream _stream;
    
    protected AbstractProperty _channelNameProperty;
    public string ChannelName
    {
       get { return (string)_channelNameProperty.GetValue(); }
       set { _channelNameProperty.SetValue(value); }
    }

    After this set the Props in "Initialize" and "Update".
    C#:
    _stream = WebradioHome.SelectedStream;
    ChannelName = _stream.Title;
    Yes, I saw the missing parameters in the code. Unfortunately I do not understand #C, but only WPF :(
    Is it possible you add the missing parameters? I hope it's not taking much effort :giggle:
     

    BigGranu

    Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    55
    Home Country
    Germany Germany
    I have attached a first trial.
    The following fields are now available in "WebRadioUIContributor".
    Artist
    Title
    Album
    Listeners
    ArtistBio
    CurrentStreamLogo
    CurrentStreamTitle
    CurrentStreamCity
    CurrentStreamCountry
    CurrentStreamGenres
    CurrentStreamHomepage
    CurrentStreamLanguage


    But I've found some other problems. (Fanart, Album, Cover ...)
    @Developers
    Which branch should I check out to develop? :eek:
    The "master" and the "dev" have a very old BassLibrary. I can not test that. :(
     

    Attachments

    • Webradio.zip
      903.4 KB

    Users who are viewing this thread

    Similar threads

    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    Replies
    0
    Views
    519
    I currently have two Quatros running, one connect, one duo using OTA antennae, mostly UHF fringe area, mostly cat5 local network. Hauppauge card retired long ago. I have also retired very early SD units, the Quatros seem to work much better than the older units. Go to SD's support website and download and install the windows...
    I currently have two Quatros running, one connect, one duo using OTA antennae, mostly UHF fringe area, mostly cat5 local network...
    I am currently using a Hauppauge WinTV QuadHD PCIe card on MP1 (1.37) for DVB-T, but 2 of the tuners have died. Thinking about...
    Replies
    3
    Views
    1K
    • Sticky
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not relevant to the plugin itself (test, some leftover unused parts etc).
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not...
    We have just released MediaPortal 1.38 - Tatiana & Leo x86 and x64 version. Highlights of this release Bugfixes: New...
    Replies
    37
    Views
    9K
    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
    5K
    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
    3K
    Top Bottom