[solved] Latest iMon + Minidisplay (1 Viewer)

Kotik

MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Greece Greece
    So,

    The problem occurs when MiniDisplay will try to parse the property #highlightedbutton from BasicHome.xml

    Capture.JPG

    If u remove this line then 2nd line is not being displayed, i figured this out when trying to find out which property is being used to detect button names.

    So like i said some posts above it seems that MiniDisplay expects a valid name for the button to be present in BasicHome.xml and if that value is not there then it will end up displaying wrong info.

    Searching deeper i found this thread LINK dated 2009.....

    If u read the thread u will also see how to avoid the issue in any skin and it actually requires proper button labels in BasicHome.xml or for that matter in any menu, since MiniDisplay needs that info in order to function properly.

    StreamedMP did resolve the issue back in 2009 :) this is why @Stéphane Lenclud cannot see the issue on his setup. The issue will appear on any display while using the MiniDisplay plugin.

    @catavolt What can be done here? Currently DefaultWide has exactly the same issue since its BasicHome.xml is lacking proper button names.
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    12,806
    9,222
    Lanzarote
    Germany Germany
    Country flag
    You could try to place this dummy button as first control into basichome.xml:
    XML:
    <control>
        <description>Dummy button for minidisplay</description>
        <type>button</type>
        <posX>2000</posX>
        <posY>0</posY>
        <id>0</id>
        <label>#(string.format('{0}',#highlightedbutton))</label>
        <textureFocus />
        <textureNoFocus />
        <colordiffuse>00000000</colordiffuse>
       </control>
    Note that the button is displayed outside the sindow (<posX>2000</posX>) ;)

    *** EDIT***
    You may also try to put the label string from above into the minidisplay setup (instead of #highlightedbutton)
     
    Last edited:

    Stéphane Lenclud

    Development Group
  • Team MediaPortal
  • April 29, 2013
    2,563
    1,288
    Germany Germany
    Country flag
    StreamedMP did resolve the issue back in 2009 :) this is why @Stéphane Lenclud cannot see the issue on his setup.
    I did try Titan and could not reproduce the issue there either, though admittedly I did not try very hard.

    I does sound like a skin issue. It's actually one part of MiniDisplay I never looked into. I mostly worked at the driver level.
    Great investigation work @Kotik , hope you can get the skinners to fix it.
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Greece Greece
    1st thanx for the suggestions @catavolt,

    I didnt yet tried them out but if u wonder what kind of property values MiniDisplay is able to parse i can post them out.


    Sent from my GT-I9100 using Tapatalk

    EDIT:

    These are the properties MiniDisplay does support, u can normally see then here---> Capture.JPG

    But for me property browser doesn't even work... so i extracted them from MessageEditForm.cs on Master branch.

    I am not sure if it is possible to add more properties that MiniDisplay could support, maybe @Stéphane Lenclud has some info about it and also some info as to why Property Browser doesnt work?


    this.windowsList.Add("ALL WINDOWS");
    this.propertyList.Clear();
    this.propertyList.Add("#date");
    this.propertyList.Add("#time");
    this.propertyList.Add("#Day");
    this.propertyList.Add("#SDOW");
    this.propertyList.Add("#DOW");
    this.propertyList.Add("#Month");
    this.propertyList.Add("#SMOY");
    this.propertyList.Add("#MOY");
    this.propertyList.Add("#SY");
    this.propertyList.Add("#Year");
    this.propertyList.Add("#highlightedbutton");
    this.propertyList.Add("#itemcount");
    this.propertyList.Add("#selecteditem");
    this.propertyList.Add("#selecteditem2");
    this.propertyList.Add("#selectedthumb");
    this.propertyList.Add("#homedate");
    this.propertyList.Add("#title");
    this.propertyList.Add("#paused");
    this.propertyList.Add("#artist");
    this.propertyList.Add("#album");
    this.propertyList.Add("#track");
    this.propertyList.Add("#year");
    this.propertyList.Add("#comment");
    this.propertyList.Add("#director");
    this.propertyList.Add("#genre");
    this.propertyList.Add("#cast");
    this.propertyList.Add("#dvdlabel");
    this.propertyList.Add("#imdbnumber");
    this.propertyList.Add("#file");
    this.propertyList.Add("#plot");
    this.propertyList.Add("#plotoutline");
    this.propertyList.Add("#rating");
    this.propertyList.Add("#tagline");
    this.propertyList.Add("#votes");
    this.propertyList.Add("#credits");
    this.propertyList.Add("#mpaarating");
    this.propertyList.Add("#runtime");
    this.propertyList.Add("#iswatched");
    this.propertyList.Add("#thumb");
    this.propertyList.Add("#currentplaytime");
    this.propertyList.Add("#currentremaining");
    this.propertyList.Add("#shortcurrentremaining");
    this.propertyList.Add("#shortcurrentplaytime");
    this.propertyList.Add("#duration");
    this.propertyList.Add("#shortduration");
    this.propertyList.Add("#playlogo");
    this.propertyList.Add("#playspeed");
    this.propertyList.Add("#percentage");
    this.propertyList.Add("#currentmodule");
    this.propertyList.Add("#currentmoduleid");
    this.propertyList.Add("#currentmodulefullscreenstate");
    this.propertyList.Add("#channel");
    this.propertyList.Add("#TV.start");
    this.propertyList.Add("#TV.stop");
    this.propertyList.Add("#TV.current");
    this.propertyList.Add("#TV.Record.channel");
    this.propertyList.Add("#TV.Record.start");
    this.propertyList.Add("#TV.Record.stop");
    this.propertyList.Add("#TV.Record.genre");
    this.propertyList.Add("#TV.Record.title");
    this.propertyList.Add("#TV.Record.description");
    this.propertyList.Add("#TV.Record.thumb");
    this.propertyList.Add("#TV.Record.percent1");
    this.propertyList.Add("#TV.Record.percent2");
    this.propertyList.Add("#TV.Record.percent3");
    this.propertyList.Add("#TV.Record.current");
    this.propertyList.Add("#TV.Record.duration");
    this.propertyList.Add("#TV.View.channel");
    this.propertyList.Add("#TV.View.thumb");
    this.propertyList.Add("#TV.View.start");
    this.propertyList.Add("#TV.View.stop");
    this.propertyList.Add("#TV.View.remaining");
    this.propertyList.Add("#TV.View.genre");
    this.propertyList.Add("#TV.View.title");
    this.propertyList.Add("#TV.View.compositetitle");
    this.propertyList.Add("#TV.View.description");
    this.propertyList.Add("#TV.View.Percentage");
    this.propertyList.Add("#TV.Next.start");
    this.propertyList.Add("#TV.Next.stop");
    this.propertyList.Add("#TV.Next.genre");
    this.propertyList.Add("#TV.Next.title");
    this.propertyList.Add("#TV.Next.compositetitle");
    this.propertyList.Add("#TV.Next.description");
    this.propertyList.Add("#TV.Guide.Day");
    this.propertyList.Add("#TV.Guide.thumb");
    this.propertyList.Add("#TV.Guide.Title");
    this.propertyList.Add("#TV.Guide.SubTitle");
    this.propertyList.Add("#TV.Guide.CompositeTitle");
    this.propertyList.Add("#TV.Guide.Time");
    this.propertyList.Add("#TV.Guide.Duration");
    this.propertyList.Add("#TV.Guide.TimeFromNow");
    this.propertyList.Add("#TV.Guide.Description");
    this.propertyList.Add("#TV.Guide.Genre");
    this.propertyList.Add("#TV.Guide.EpisodeName");
    this.propertyList.Add("#TV.Guide.SeriesNumber");
    this.propertyList.Add("#TV.Guide.EpisodeNumber");
    this.propertyList.Add("#TV.Guide.EpisodePart");
    this.propertyList.Add("#TV.Guide.EpisodeDetail");
    this.propertyList.Add("#TV.Guide.Date");
    this.propertyList.Add("#TV.Guide.StarRating");
    this.propertyList.Add("#TV.Guide.Classification");
    this.propertyList.Add("#TV.Guide.Group");
    this.propertyList.Add("#Radio.Guide.Day");
    this.propertyList.Add("#Radio.Guide.thumb");
    this.propertyList.Add("#Radio.Guide.Title");
    this.propertyList.Add("#Radio.Guide.Time");
    this.propertyList.Add("#Radio.Guide.Duration");
    this.propertyList.Add("#Radio.Guide.TimeFromNow");
    this.propertyList.Add("#Radio.Guide.Description");
    this.propertyList.Add("#Radio.Guide.Genre");
    this.propertyList.Add("#Radio.Guide.EpisodeName");
    this.propertyList.Add("#Radio.Guide.SeriesNumber");
    this.propertyList.Add("#Radio.Guide.EpisodeNumber");
    this.propertyList.Add("#Radio.Guide.EpisodePart");
    this.propertyList.Add("#Radio.Guide.EpisodeDetail");
    this.propertyList.Add("#Radio.Guide.Date");
    this.propertyList.Add("#Radio.Guide.StarRating");
    this.propertyList.Add("#Radio.Guide.Classification");
    this.propertyList.Add("#TV.RecordedTV.Title");
    this.propertyList.Add("#TV.RecordedTV.Time");
    this.propertyList.Add("#TV.RecordedTV.Description");
    this.propertyList.Add("#TV.RecordedTV.thumb");
    this.propertyList.Add("#TV.RecordedTV.Genre");
    this.propertyList.Add("#TV.Signal.Quality");
    this.propertyList.Add("#TV.Scheduled.Title");
    this.propertyList.Add("#TV.Scheduled.Time");
    this.propertyList.Add("#TV.Scheduled.Description");
    this.propertyList.Add("#TV.Scheduled.thumb");
    this.propertyList.Add("#TV.Scheduled.Genre");
    this.propertyList.Add("#TV.Scheduled.Channel");
    this.propertyList.Add("#TV.Search.Title");
    this.propertyList.Add("#TV.Search.Time");
    this.propertyList.Add("#TV.Search.Description");
    this.propertyList.Add("#TV.Search.thumb");
    this.propertyList.Add("#TV.Search.Genre");
    this.propertyList.Add("#view");
    this.propertyList.Add("#TV.Transcoding.Percentage");
    this.propertyList.Add("#TV.Transcoding.File");
    this.propertyList.Add("#TV.Transcoding.Title");
    this.propertyList.Add("#TV.Transcoding.Genre");
    this.propertyList.Add("#TV.Transcoding.Description");
    this.propertyList.Add("#TV.Transcoding.Channel");
    this.propertyList.Add("#Play.Current.Thumb");
    this.propertyList.Add("#Play.Current.File");
    this.propertyList.Add("#Play.Current.Title");
    this.propertyList.Add("#Play.Current.Genre");
    this.propertyList.Add("#Play.Current.Comment");
    this.propertyList.Add("#Play.Current.Artist");
    this.propertyList.Add("#Play.Current.Director");
    this.propertyList.Add("#Play.Current.Album");
    this.propertyList.Add("#Play.Current.Track");
    this.propertyList.Add("#Play.Current.Year");
    this.propertyList.Add("#Play.Current.Duration");
    this.propertyList.Add("#Play.Current.Plot");
    this.propertyList.Add("#Play.Current.PlotOutline");
    this.propertyList.Add("#Play.Current.Channel");
    this.propertyList.Add("#Play.Current.Cast");
    this.propertyList.Add("#Play.Current.DVDLabel");
    this.propertyList.Add("#Play.Current.IMDBNumber");
    this.propertyList.Add("#Play.Current.Rating");
    this.propertyList.Add("#Play.Current.TagLine");
    this.propertyList.Add("#Play.Current.Votes");
    this.propertyList.Add("#Play.Current.Credits");
    this.propertyList.Add("#Play.Current.Runtime");
    this.propertyList.Add("#Play.Current.MPAARating");
    this.propertyList.Add("#Play.Current.IsWatched");
    this.propertyList.Add("#Play.Current.ArtistThumb");
    this.propertyList.Add("#Play.Current.Lastfm.TrackTags");
    this.propertyList.Add("#Play.Current.Lastfm.SimilarArtists");
    this.propertyList.Add("#Play.Current.Lastfm.ArtistInfo");
    this.propertyList.Add("#Play.Current.Lastfm.CurrentStream");
    this.propertyList.Add("#Play.Next.Thumb");
    this.propertyList.Add("#Play.Next.File");
    this.propertyList.Add("#Play.Next.Title");
    this.propertyList.Add("#Play.Next.CompositeTitle");
    this.propertyList.Add("#Play.Next.Genre");
    this.propertyList.Add("#Play.Next.Comment");
    this.propertyList.Add("#Play.Next.Artist");
    this.propertyList.Add("#Play.Next.Director");
    this.propertyList.Add("#Play.Next.Album");
    this.propertyList.Add("#Play.Next.Track");
    this.propertyList.Add("#Play.Next.Year");
    this.propertyList.Add("#Play.Next.Duration");
    this.propertyList.Add("#Play.Next.Plot");
    this.propertyList.Add("#Play.Next.PlotOutline");
    this.propertyList.Add("#Play.Next.Channel");
    this.propertyList.Add("#Play.Next.Cast");
    this.propertyList.Add("#Play.Next.DVDLabel");
    this.propertyList.Add("#Play.Next.IMDBNumber");
    this.propertyList.Add("#Play.Next.Rating");
    this.propertyList.Add("#Play.Next.TagLine");
    this.propertyList.Add("#Play.Next.Votes");
    this.propertyList.Add("#Play.Next.Credits");
    this.propertyList.Add("#Play.Next.Runtime");
    this.propertyList.Add("#Play.Next.MPAARating");
    this.propertyList.Add("#Play.Next.IsWatched");
    this.propertyList.Add("#Lastfm.Rating.AlbumTrack1");
    this.propertyList.Add("#Lastfm.Rating.AlbumTrack2");
    this.propertyList.Add("#Lastfm.Rating.AlbumTrack3");
    this.propertyList.Add("#numberplace.time");
    this.propertyList.Add("#numberplace.name1");
    this.propertyList.Add("#numberplace.name2");
    this.propertyList.Add("#numberplace.name3");
    this.propertyList.Add("#numberplace.name4");
    this.propertyList.Add("#numberplace.name5");
    this.propertyList.Add("#numberplace.score1");
    this.propertyList.Add("#numberplace.score2");
    this.propertyList.Add("#numberplace.score3");
    this.propertyList.Add("#numberplace.score4");
    this.propertyList.Add("#numberplace.score5");
    this.propertyList.Add("#facadeview.viewmode");
    this.propertyList.Add("#cur2rentmodule");
    this.propertyList.Add("#currentsleeptime");
    this.propertyList.Add("#burner_title");
    this.propertyList.Add("#burner_perc");
    this.propertyList.Add("#burner_size");
    this.propertyList.Add("#burner_info");
    this.propertyList.Add("#convert_info");
    this.propertyList.Add("#curheader");
    this.propertyList.Add("#trackduration");
    this.propertyList.Add("#fps");
    this.propertyList.Add("#WizardCountry");
    this.propertyList.Add("#WizardCountryCode");
    this.propertyList.Add("#WizardCity");
    this.propertyList.Add("#WizardCityUrl");
    this.propertyList.Add("#Wizard.Analog.Done");
    this.propertyList.Add("#Wizard.ATSC.Done");
    this.propertyList.Add("#Wizard.DVBC.Done");
    this.propertyList.Add("#Wizard.DVBS.Done");
    this.propertyList.Add("#Wizard.DVBT.Done");
    this.propertyList.Add("#Wizard.EPG.Done");
    this.propertyList.Add("#Wizard.Remote.Done");
    this.propertyList.Add("#Wizard.General.Done");
    this.propertyList.Add("#InternetAccess");
    this.propertyList.Add("#tetris_score");
    this.propertyList.Add("#tetris_lines");
    this.propertyList.Add("#tetris_level");
    this.propertyList.Add("#tetris_highscore");
    this.propertyList.Add("#Actor.Name");
    this.propertyList.Add("#Actor.DateOfBirth");
    this.propertyList.Add("#Actor.PlaceOfBirth");
    this.propertyList.Add("#Actor.Biography");
    this.propertyList.Add("#Actor.Movies");
     
    Last edited:

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    12,806
    9,222
    Lanzarote
    Germany Germany
    Country flag
    THX, @Kotik ;)
    Let me explain a bit:
    #highlightedbutton is a kind of internal MP property and is always available with the correct value, whether it is explicitly set in a label or not.
    I use it e.g. to determine the latest media shown on the BasicHome: string.contains(#highlightedbutton,VIDEO2).
    In this case VIDEO2 is TVSeries.
    So the label string <label>#(string.format('{0}',#highlightedbutton))</label> results in "TVSeries".
    If minidisplay doesn´t show it correct, then there must something be done within that plugin.
    You may test that the above string works correct, when you use this code in BasicHome:
    XML:
    <control>
        <description>Dummy button for minidisplay</description>
        <type>button</type>
        <posX>800</posX>
        <posY>20</posY>
        <id>0</id>
        <label>#(string.format('{0}',#highlightedbutton))</label>
        <textureFocus />
        <textureNoFocus />
        <colordiffuse>ffffffff</colordiffuse>
       </control>
    Then the label of the actual focussed button is shown at the top in the middle of BasicHome screen ;)
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Greece Greece
    So had some time to test out ur suggestion @catavolt and indeed it works within MP, i do get the item name at the top of the MP screen but in MiniDisplay Debug i am getting this ---->#hedit.main.use.4

    Below u will see the logic MiniDisplay is using in order to provide info.

    Capture.JPG

    By using this logic it will display #currentmodule in Line 1 (VFDs got 2 lines) and this one works fine, so it will display HOME.

    In the 2nd Line it should display the #highlightedbutton but apparently it doesn't, although looking now at the code it has a 2nd parameter #selecteditem.

    Any ideas?
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    12,806
    9,222
    Lanzarote
    Germany Germany
    Country flag
    Could you pls. try this at the top of BasicHome.xml:

    XML:
    <define>#selecteditem:#(string.format('{0}',#highlightedbutton))</define>
      <!--rememberLastFocusedControl>yes</rememberLastFocusedControl-->
    <controls>
      <control>
        <description>Dummy button for minidisplay</description>
        <type>button</type>
        <posX>2000</posX>
        <posY>0</posY>
        <id>2</id>
        <label>#selecteditem</label>
        <textureFocus />
        <textureNoFocus />
        <colordiffuse>00000000</colordiffuse>
       </control>
    With that extra define above the <controls> property I try to assign the value of #(string.format('{0}',#highlightedbutton)) to #selecteditem, and then in the 1st control below <controls> I try to set #selecteditem as label ;)
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    1gkar Latest Intel HD4600 Drivers Issue General Support 1
    Rob Hexenmeister [solved] Latest Media Handler - skinning buttons Fanart Handler 19
    T No TV after updating Windows 10 to latest Version 1903 / OS build 18362.175 (logs attached) General Support 2
    Rob Hexenmeister Latest Media Handler - facade properties - itemcount General Support 3
    G How best to get cover art for tracks to show up on the Audio Menu (Latest Added, Unplayed)? General 9
    Rob Hexenmeister [solved] Latest media handler - time reported as date Fanart Handler 18
    Rob Hexenmeister Video Buttons / Latest Media MediaPortal 1 Skins 7
    Lichloathe [solved] Latest Media Handler - Default view for TVSeries on startup Fanart Handler 2
    ajs [solved] Latest Media Handler - Skin settings - Custom latests items number Fanart Handler 27
    Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
    uxDesign [Question] Where are the latest sources of mpextended? MPExtended 3
    joEhSuper [solved] Latest Media Handler wrong version in MPE Fanart Handler 3
    joecrow [solved] Latest Media Handler - Latests empty Fanart Handler 24
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    T How to add missing buttons IR Server Suite (IRSS) 0
    Rob Hexenmeister That old chestnut - IMON General Support 10
    T Nochmal Imon Pad und Mediaportal 1 Installationsprobleme? 3
    T Imon Pad mit Mediaportal Allgemeines Supportforum 12
    T IMON+Logitech Harmony General 3
    S Mini Display MP 1.24 no Volume OSD no action for keys Mini Display 0
    I MiniDisplay Sonstige Hardware 2
    Top Bottom