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

Status
Not open for further replies.

BoelShit

Portal Pro
November 6, 2005
235
8
44
Home Country
Netherlands Netherlands
knutinh said:
I am leaving until the 28th. I may look into it after that. I have some minor functionality ideas. Such as when scrolling through files, Id rather show two lines of files temporarily,
-----
Song title N-1
Song title N
-------

then return to the current view after a while:
-----
My music
Song title
------

Also, I`d like a graphic view of song/movie progress bar, even if it is ASCII-based. Today mp3 progression would look like :

-----

0.39/3.55
-----

I`d like it to be:

----------
[=========| ]
66% completed, 3:55 total
----------

Or something similar

regards
Knut

@knut,

You can edit the ExternalDisplay.xml

and change the messages showed on LCD.

% of song, replace the code in the file with this... It also fixes the artist/title information!!!!!

<Message Status="PlayingMusic">
<Line Alignment="Left">
<Property Value="#Play.Current.Title" />
<Parse Value=" by #Play.Current.Artist">
<NotNull Value="#Play.Current.Album" />
</Parse>
<Parse Value=", from the album #Play.Current.Album">
<NotNull Value="#Play.Current.Album" />
</Parse>
</Line>
<Line Alignment="Left">
<Parse Value="#percentage/#duration" />
<Text Value=" (#112)">
<NotNull Value="#playlogo" />
</Text>
</Line>

Hope to hear if it worked for you!
 

JoeDalton

Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    Mr.Mitchell said:
    The plugin causes an exception when opening the Setup window. I first get an error that DLPortIO.dll is not found. Then I get the exception.

    If I recall correctly the DLPortIO was not really needed previously I think when you just want to open the setupdialog.

    This was seen on 0.2rc1 and current CVS
    The DLPortIO was always needed. In the past the plugin setup screen refused to open if it was not installed, but I removed that restriction because it is indeed not needed for some display types.
    It seems there was still a problem with my change, but I fixed tat now.
    The plugin setup does open now, and all display types that depend on DLPortIO will be disabled.

    Joe
     

    JoeDalton

    Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    Re: Issue with recent cvs's

    Jaguarius said:
    In the recent cvs's I am getting an error when I try and run the setup for the external display plugin. The exact text of the error is:

    Failed to locate assembly 'ProcessPlugins.XmlSerializers, version=1.0.2149.41435, Culture=neutral, PublicKeyToken=null". Not that the configuration program must be executed from/reside in the MediaPortal folder, the execution will now end.
    I fixed this problem too 8)
    The problem had nothing to do with my code, but was caused by some changes in the Configuration program loader.

    Joe
     

    BoelShit

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

    Great you are still working on the LCD plugin... Are you planning to continue bugfixing or adding more modules like "Radio" in it?
    I've got a couple of things I would like to be fixed/implement :D
     

    JoeDalton

    Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    Yes I am :D
    ...although I don't have as much time as I would like, to do so :cry:

    I'm working on fixing the "resume from standby" problem now...
    If you have other problems or wishes, let me know.
    I'll see what I can do...

    Joe
     

    BoelShit

    Portal Pro
    November 6, 2005
    235
    8
    44
    Home Country
    Netherlands Netherlands
    JoeDalton said:
    Yes I am :D
    ...although I don't have as much time as I would like, to do so :cry:

    I'm working on fixing the "resume from standby" problem now...
    If you have other problems or wishes, let me know.
    I'll see what I can do...

    Joe

    Great!!! Resume from standby is on top of my wishlist.. So Mrs. BoelShit can also work with the machine ;)
    Furthermore I have a wish to have Radio working. It shows the selecteditem but it isn't showing what radiostation is played... I want it the same way as music.. I tried looking into the CVS but I'm not really good at it.
     

    JoeDalton

    Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    :arrow: Fixed plugin no longer working after resume from standby.
    :arrow: Added default settings for Radio.

    After building the currenct CVS version, the simplest option is to delete your existing externaldisplay.xml file and reconfiguring the plugin.

    For those of you who did some customizations and don't want to lose those. Here is what is changed:

    <Message Status="PlayingMusic">
    <Line Alignment="Left">
    <Property Value="#Play.Current.Title" />
    <Parse Value=" by #Play.Current.Artist/">
    <NotNull Value="#Play.Current.Artist" />
    </Parse>
    <Parse Value=", from the album #Play.Current.Album">
    <NotNull Value="#Play.Current.Album" />
    </Parse>
    </Line>
    <Line Alignment="Left">
    <Parse Value="#currentplaytime/#duration" />
    <Text Value=" (#112)">
    <NotNull Value="#paused" />
    </Text>
    </Line>
    </Message>
    <Message Status="PlayingRadio">
    <Line Alignment="Left">
    <Property Value="#Play.Current.Title" />
    </Line>
    <Line Alignment="Left">
    <Parse Value="#currentplaytime" />
    <Text Value=" (#112)">
    <NotNull Value="#paused" />
    </Text>
    </Line>
    </Message>

    ....
    <Message Status="PlayingVideo">
    <Line Alignment="Left">
    <Property Value="#Play.Current.Title" />
    </Line>
    <Line Alignment="Left">
    <Parse Value="#currentplaytime/#duration" />
    <Text Value=" (#112)">
    <NotNull Value="#paused" />
    </Text>
    </Line>
    </Message>
     

    carbinate

    New Member
    December 29, 2005
    4
    0
    Hi, I've just tested this plugin but it doesent work for me, when I were in the setup-menu for JoeDaltons plugin and had made all my configurations and pressed ok-buttom then an dialog showed up and I cant translate it (the meaning with it)...

    Could someone please help me getting this work?! Thanks a lot!

    Here's the message:

    Failed to locate assembly 'ProcessPlugins.XmlSerializer, version=1.0.2177.20399, culture=neutral,
    PublicKeyToken=null'.
    Noten that the configuration program must be executed from/reside in the mediaPortal folder, the execution will now
    end.
     

    BoelShit

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

    Way to go!! What a speed... I'm gonna try this 2nite.. I'll post the results!
     

    JoeDalton

    Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    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
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom