Webradio (3 Viewers)

ge2301

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

    ge2301

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

    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
    724
    • Sticky
    MP1 MP2 [News] MediaPortal 2 - 2.5 Release DE
    Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
    Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
    We are proud to present MediaPortal 2.5 MediaPortal 2.5 is a full-blown media center software that addresses most common user...
    Replies
    70
    Views
    5K
    (egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
    (egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
    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
    40
    Views
    4K
    • Sticky
    Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested [2024-03-03 18:26:58,262] [Log ] [MPMain ] [DEBUG] - Main: TV service found. Checking status... [2024-03-03 18:26:58,263] [Log ] [MPMain ] [INFO ] - Main: TV service is in status Running - proceeding...
    Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested...
    MediaPortal 1.33 Release Written by Team-MediaPortal. We have just released MediaPortal 1.33 - Springtime / 20th Anniversary...
    Replies
    7
    Views
    1K
    I've setup my HDHomeRun in MP1 as (4) IPTV cards rather than Atsc. I can see the (4) Atsc cards, but just have them disabled. I did it this way so I didn't have to edit the channel names every time tested a new TV-server install. Anyway, it works. I don't know if this would get you past the BDA driver issue. I'll provide more...
    I've setup my HDHomeRun in MP1 as (4) IPTV cards rather than Atsc. I can see the (4) Atsc cards, but just have them disabled. I...
    I am brand new to MediaPortal. I have installed MP 2.4.1 on Windows 10. It is a fresh install and fully up to date. I have an...
    Replies
    19
    Views
    1K
    Top Bottom