iMON VFD/LCD MiniDisplay driver for MediaPortal 1.1.3/1.2.1 (2 Viewers)

Status
Not open for further replies.

duduge

Portal Member
May 21, 2009
6
6
Home Country
France France
Hi everyone,
I try to set up my imon display using Minidisplay plugin. The problem is the message sent by the "Menubutton" control. This message is reachable by #selectedlabel<id> (with <id>=2 for "Layout View" and <id>=5 for "View as"). Is there a simple way to retrieve this message by #highlightedbutton ?

Thanks for your help.

PS: I don't know if I give a clear explanation of the issue?!? :oops:

Yup I'm not sure what you are saying? Then again it might just be that I don't have enough knowledge of the MiniDisplay/Skin implementation...
Though you may want to tell people which skin you are using and which display hardware you have (LCD or VFD?)[DOUBLEPOST=1389044072][/DOUBLEPOST]So I could setup my development environment and it's not catching fire :)
Don't get too excited though cause implementing anything could still take me months.
View attachment 142562 View attachment 142563 View attachment 142564 View attachment 142565

I use StreamedMP skin and Imon LCD display. In fact, I try to set up MiniDisplay to use my HTPC without my TV screen and navigate only with Imon LCD. The issue is: when I navigate throught menu in mediaportal, the message return to display is always #highlightedbutton but when I am on "Layout View" or "View as" buttons (which are Menubutton), the message return to display is #selectedlabel2 (Layout view) or #selectedlabel5 (View as). I'd prefer that this menubutton return #highlightedbutton.....
 

shorty1483

MP Donator
  • Premium Supporter
  • June 12, 2011
    188
    61
    Home Country
    Germany Germany
    One question: Is there a possbility to change the shown in Display by editing an xml?#
    Not sure what you mean...

    Oh I forgot a word :D

    I mean, in MediaPortal Data directory there are multiple xml's which define e.g. in the old iMon plugin, what info is in the Display (e.g. 1st line MediaPortal, 2nd Line Clock). Now with just one line usable in iMon LCD, I just can set preferring the 1st/2nd line in normal mode and 1st/2nd line in video mode.

    My question is, can i define by xml editing, which info is shown in the iMon display when I'm in different views/plugins etc.?
     
    Last edited:

    duduge

    Portal Member
    May 21, 2009
    6
    6
    Home Country
    France France
    One question: Is there a possbility to change the shown in Display by editing an xml?#
    Not sure what you mean...

    Oh I forgot a word :D

    I mean, in MediaPortal Data directory there are multiple xml's which define e.g. in the old iMon plugin, what info is in the Display (e.g. 1st line MediaPortal, 2nd Line Clock). Now with just one line usable in iMon LCD, I just can set preferring the 1st/2nd line in normal mode and 1st/2nd line in video mode.

    My question is, can i define by xml editing, which info is shown in the iMon display when I'm in different views/plugins etc.?

    Yes you can... At least for Impon LCD.
    Just click on Configuration Editor and edit which information you want to display when you browse mediaportal. This is what I try to set up .....
     

    shorty1483

    MP Donator
  • Premium Supporter
  • June 12, 2011
    188
    61
    Home Country
    Germany Germany
    Not sure what you mean...

    Oh I forgot a word :D

    I mean, in MediaPortal Data directory there are multiple xml's which define e.g. in the old iMon plugin, what info is in the Display (e.g. 1st line MediaPortal, 2nd Line Clock). Now with just one line usable in iMon LCD, I just can set preferring the 1st/2nd line in normal mode and 1st/2nd line in video mode.

    My question is, can i define by xml editing, which info is shown in the iMon display when I'm in different views/plugins etc.?

    Yes you can... At least for Impon LCD.
    Just click on Configuration Editor and edit which information you want to display when you browse mediaportal. This is what I try to set up .....

    Which Configuration editor? I'm not using Streamed MP.
     

    duduge

    Portal Member
    May 21, 2009
    6
    6
    Home Country
    France France
    Oh I forgot a word :D

    I mean, in MediaPortal Data directory there are multiple xml's which define e.g. in the old iMon plugin, what info is in the Display (e.g. 1st line MediaPortal, 2nd Line Clock). Now with just one line usable in iMon LCD, I just can set preferring the 1st/2nd line in normal mode and 1st/2nd line in video mode.

    My question is, can i define by xml editing, which info is shown in the iMon display when I'm in different views/plugins etc.?

    Yes you can... At least for Impon LCD.
    Just click on Configuration Editor and edit which information you want to display when you browse mediaportal. This is what I try to set up .....

    Which Configuration editor? I'm not using Streamed MP.

    Have look on: http://wiki.team-mediaportal.com/1_...ation/00_Configuration/95_Plugins/MiniDisplay

    Using this configurator, a xml file will be modified with your modifications.... (I can't remember the name of the xml file)

    PS: All explanations at the end of the link
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    I use StreamedMP skin and Imon LCD display. In fact, I try to set up MiniDisplay to use my HTPC without my TV screen and navigate only with Imon LCD. The issue is: when I navigate throught menu in mediaportal, the message return to display is always #highlightedbutton but when I am on "Layout View" or "View as" buttons (which are Menubutton), the message return to display is #selectedlabel2 (Layout view) or #selectedlabel5 (View as). I'd prefer that this menubutton return #highlightedbutton.....

    @duduge I can use StreamedMP nicely with only the VFD screen but it has two lines of text. Thus I can browse and play my musics without turning on the TV.
    I'm not sure what's "Layout View" and "View as" but I understand better the nature of your problem. I'll try to take a look at it at some point. Just don't hold your breath. Which operation would you like to do with your LCD? Playing music too?
    Maybe you should open a new thread for this specific issue document it using screenshots or photos and provide me a link to it. This one thread here as been abused long enough :)
     

    nicsergio

    MP Donator
  • Premium Supporter
  • April 27, 2010
    165
    159
    Home Country
    Italy Italy
    (y)(y)(y)(y)

    last DLL is OK!! thanks

    when you have something else to try, let me know ;)

    @Stéphane Lenclud
    since I'm using your DLL, has happened a couple of times that MP crashes on startup.. :(
    I opened the log file and found this:
    Code:
    [2014-01-11 18:42:48,319] [Log    ] [MiniDisplay] [ERROR] - Exception: System.ArgumentException: L'elemento è già stato aggiunto. Chiave nel dizionario: 'C:\Program Files (x86)\Team MediaPortal\MediaPortal\TvControl.dll'. Chiave aggiunta: 'C:\Program Files (x86)\Team MediaPortal\MediaPortal\TvControl.dll'
      in System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
      in System.Collections.Hashtable.Add(Object key, Object value)
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.DynaInvoke.GetClassReference(String AssemblyName, String ClassName)
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplayHelper.IsCaptureCardRecording()
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplayHelper.SetPluginIcons()
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplay.DoWork()  Message: L'elemento è già stato aggiunto. Chiave nel dizionario: 'C:\Program Files (x86)\Team MediaPortal\MediaPortal\TvControl.dll'. Chiave aggiunta: 'C:\Program Files (x86)\Team MediaPortal\MediaPortal\TvControl.dll'  Site  : Void Insert(System.Object, System.Object, Boolean)  Source : mscorlib  Stack Trace:    in System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
      in System.Collections.Hashtable.Add(Object key, Object value)
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.DynaInvoke.GetClassReference(String AssemblyName, String ClassName)
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplayHelper.IsCaptureCardRecording()
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplayHelper.SetPluginIcons()
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplay.DoWork()

    I use MP V1.6 Final.

    thanks
     

    shorty1483

    MP Donator
  • Premium Supporter
  • June 12, 2011
    188
    61
    Home Country
    Germany Germany
    (y)(y)(y)(y)

    last DLL is OK!! thanks

    when you have something else to try, let me know ;)

    @Stéphane Lenclud
    since I'm using your DLL, has happened a couple of times that MP crashes on startup.. :(
    I opened the log file and found this:
    Code:
    [2014-01-11 18:42:48,319] [Log    ] [MiniDisplay] [ERROR] - Exception: System.ArgumentException: L'elemento è già stato aggiunto. Chiave nel dizionario: 'C:\Program Files (x86)\Team MediaPortal\MediaPortal\TvControl.dll'. Chiave aggiunta: 'C:\Program Files (x86)\Team MediaPortal\MediaPortal\TvControl.dll'
      in System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
      in System.Collections.Hashtable.Add(Object key, Object value)
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.DynaInvoke.GetClassReference(String AssemblyName, String ClassName)
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplayHelper.IsCaptureCardRecording()
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplayHelper.SetPluginIcons()
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplay.DoWork()  Message: L'elemento è già stato aggiunto. Chiave nel dizionario: 'C:\Program Files (x86)\Team MediaPortal\MediaPortal\TvControl.dll'. Chiave aggiunta: 'C:\Program Files (x86)\Team MediaPortal\MediaPortal\TvControl.dll'  Site  : Void Insert(System.Object, System.Object, Boolean)  Source : mscorlib  Stack Trace:    in System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
      in System.Collections.Hashtable.Add(Object key, Object value)
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.DynaInvoke.GetClassReference(String AssemblyName, String ClassName)
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplayHelper.IsCaptureCardRecording()
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplayHelper.SetPluginIcons()
      in MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplay.DoWork()

    I use MP V1.6 Final.

    thanks

    Same behaviour on my side, had the MP crash today also when finishing a movie with the stop button.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom