Webradio (5 Viewers)

ge2301

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

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,741
    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,741
    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
    53
    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,741
    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
    53
    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

    • Sticky
    All good now!!
    All good now!!
    We have just released MediaPortal 1.36 - Polar Express x86 and x64 version. Highlights of this release Bugfixes: [MP1-5229] -...
    Replies
    2
    Views
    735
    • Sticky
    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 next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-5221] - Core: Fix...
    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...
    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
    0
    Views
    1K
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core: Fix FrameGrabbing for EVR [MP1-5222] - TV Server: Fix ISO-8859-10/14 DVB text encodings [MP1-5224] - Fix Card "CancelTune" request Since Pre-Release : New: Since Pre-Release : Improvement / Rework...
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core...
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core...
    Replies
    0
    Views
    2K
    Didn't know computers are available in Canada's jails... :p
    Didn't know computers are available in Canada's jails... :p
    Hi folks, basically I have this m3u list with links I am trying to scan with the TV configuration tool but all the channels even...
    Replies
    5
    Views
    2K
    I can't believe I missed the new feature, pixel shaders. :) Thankyou guys for all your work (y)
    I can't believe I missed the new feature, pixel shaders. :) Thankyou guys for all your work (y)
    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
    2K
    Top Bottom