LCD plugin supporting more than 70 display types (now with full graphics support!!!) (1 Viewer)

Status
Not open for further replies.

BoelShit

Portal Pro
November 6, 2005
235
8
44
Home Country
Netherlands Netherlands
Joe

LCD resume after standby works!!!!!!!

Dank U wel... (Thank you, for the non-dutch)

Radio is also working, only thing left is the Trailer part (it doesn't show 1st line is Trailer) :D

Keep up the good work!!!
 

JoeDalton

Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    Nice to know it really works...
    I couldn't test it, because I use the PVR Scheduler plugin myself. That one shuts MP down before hibernate/standby and restarts it when the PC wakes up again and thus avoiding all those problems.
    I find this works better than other scheduler plugins.

    Joe
     

    BoelShit

    Portal Pro
    November 6, 2005
    235
    8
    44
    Home Country
    Netherlands Netherlands
    I tried PVR scheduler too but that didn't seem to work on my system.. I thought it would be a perfect workaround for the LCD problem but I don't need it now..

    MP is running the whole day only time it's in standby is when I tell it to :D
     

    carbinate

    New Member
    December 29, 2005
    4
    0
    JoeDalton said:
    carbinate,

    This problem is already fixed. If you can get your hands on a recent CVS build from https://www.team-mediaportal.de/mediaportal-cvs-download.php (or build it yourself from the sources), the configuration program should run fine.

    As a workaround, you might try deleting the externaldisplay.xml file in your mediaportal home folder before starting the plugin configuration.
    You need to reconfigure the plugin then, but that is what you want, no?

    If you then get another exception about a missing processplugin.dll file,
    replace the contents of the configuration.exe.config file with this:

    Code:
    <configuration>
      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <probing privatePath="plugins\process"/>
        </assemblyBinding>
      </runtime>
    </configuration>

    Joe
    :(


    Thanks a lot Joe! but it still doesent work :/, ive tried all 3 ways you told me but I still get that message (it's like 3-4posts above).

    Hm, I've maybe discovered the problem, I have thought i got a different VFD then what had.

    I got this: http://www.arisetec.com/products/VFD.htm, a Samsung 16T202DA1E 16 x 2 alphanumeric VFD. I cant find it in the list in the configure>plugin>setup, does that mean its not supported? or am I just stupid that cant get it to work?

    Cheers
    //Carb
     

    JoeDalton

    Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    carbinate,

    If you tried building MP from sources then I'm pretty sure you haven't got the latest ones... Please check the end of the .\Configuration\Startup.cs file. The CurrentDomain_AssemblyResolve method should read as follows:
    Code:
        private static System.Reflection.Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
        {
          if (args.Name.Contains(".resources"))
            return null;
          if (args.Name.Contains(".XmlSerializers"))
            return null;
          MessageBox.Show("Failed to locate assembly '" + args.Name + "'." + Environment.NewLine + "Note that the configuration program must be executed from/reside in the MediaPortal folder, the execution will now end.", "MediaPortal", MessageBoxButtons.OK, MessageBoxIcon.Error);
          System.Windows.Forms.Application.Exit();
          return null;
        }
    You can see that if the name of the assembly contains ".XmlSerializers", I return null instead of showing the error message you are (still) getting...

    As for your display; I read in the docs (http://www.arisetec.com/support/vfd_manual01.htm) that it is HD44780 compatible. If that type doesn't work, you might try to increase the Text Mode Comm. Delay value.

    If you do get it to work, please add it to the LCD Hall of Fame. (You can edit that page yourself). That way you are also helping others with the same display as yours.

    Joe
     

    carbinate

    New Member
    December 29, 2005
    4
    0
    JoeDalton said:
    carbinate,

    If you tried building MP from sources then I'm pretty sure you haven't got the latest ones... Please check the end of the .\Configuration\Startup.cs file. The CurrentDomain_AssemblyResolve method should read as follows:
    Code:
        private static System.Reflection.Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
        {
          if (args.Name.Contains(".resources"))
            return null;
          if (args.Name.Contains(".XmlSerializers"))
            return null;
          MessageBox.Show("Failed to locate assembly '" + args.Name + "'." + Environment.NewLine + "Note that the configuration program must be executed from/reside in the MediaPortal folder, the execution will now end.", "MediaPortal", MessageBoxButtons.OK, MessageBoxIcon.Error);
          System.Windows.Forms.Application.Exit();
          return null;
        }
    You can see that if the name of the assembly contains ".XmlSerializers", I return null instead of showing the error message you are (still) getting...


    Hm, Thanks for your help Joe, but I'm really new in this and is quite bad in english :oops:

    First, what do you mean with "If you tried building MP from sources then I'm pretty sure you haven't got the latest ones"??

    Second, I cant find the startup.cs file?! what shall I then do?

    Thanks for taking your time but understands if you wont :?

    //Carb.
     

    JoeDalton

    Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    carbinate said:
    First, what do you mean with "If you tried building MP from sources then I'm pretty sure you haven't got the latest ones"??

    Second, I cant find the startup.cs file?! what shall I then do?
    I think I can presume you didn't build MP from sources yourself, otherwise you would have known what I meant :wink:

    I think the CVS build you downloaded was not the correct one.
    Please try this one instead. I'm sure this one is the correct version.
    • - Download the file and extract it in a temp folder.
      - Then copy all files in that temp folder over your existing MP installation (in C:\Program Files\Team MediaPortal\MediaPortal).
      - Next, run start.bat in that same folder (not the temp folder).
      - Last, delete the existing externaldisplay.xml file (from that same folder)
    After these steps, you should be able to configure my plugin.
    I hope this helps...

    Joe

    [edit]If you still have problem, try to contact me on IRC. I'm online now and then...[/edit]
     

    knutinh

    Portal Pro
    September 4, 2005
    558
    2
    JoeDalton:

    Thanks for your great effort.

    How difficult do you think it would be to implement a progress bar? I am thinking of finding a way to make myself usefull, and I think that modding your plugin so that the current song/movie/program time divided by total time is output as a total number of characters N, where the first M characters are of one type while the last (N-M) characters are of another type.

    This would give a very basic, ASCII-based visual feedback on progress that steps one character at a time. Of course, characters for elapsed/remaining time should be specified in the xml file for easy user adaptation to different display technologies. Of course, the total length and placement of this bar should also be configured in this file.

    The reason that Im considering this is that I have a very small display, and at viewing distance it is very difficult to make out the characters.

    If this is very difficult or impractical I wont give any more thought to it.

    best regards
    Knut Inge
     

    JoeDalton

    Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    knutinh:

    Great idea. I'll send you a PM with some more info on how to begin with it...

    Joe
     

    carbinate

    New Member
    December 29, 2005
    4
    0
    Hi!

    I just wanted to thank you Joe, it works great!!! THnaks for your effort regarding the plugin and the great support! :wink:

    Best plugin so far!

    regards
    Carb.

    ps: I'll uppdate the hall of fame for this display too ds
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom