Webradio (1 Viewer)

ge2301

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

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,743
    3,501
    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,743
    3,501
    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
    54
    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,743
    3,501
    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
    54
    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

    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
    1K
    • Sticky
    Well most of it is kinda true what you're saying but the transition from .NET Framework to .NET is substantial. As far as I remember there are quite a few things that are done in such a different way in .NET (like communicating with tvserver) that it is far from easy to make it work again on a more recent .NET version
    Well most of it is kinda true what you're saying but the transition from .NET Framework to .NET is substantial. As far as I...
    We have just released MediaPortal 1.38 - Tatiana & Leo x86 and x64 version. Highlights of this release Bugfixes: New...
    Replies
    32
    Views
    4K
    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
    4K
    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
    4K
    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
    2K
    Top Bottom