Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Extensibility options - custom script/variable?

General discussion about LCD Smartie.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351

Post Reply
bengalih
Posts: 1
Joined: July 26th, 2018, 10:39 pm

Extensibility options - custom script/variable?

Post by bengalih »

Hi all - new user/poster here.

I just found LCD Smartie as an alternative to the M.Play software that came with my nMedia PC LCD screen.

I've had this panel for years but never really used it because it seems it (or at least the software) was designed for Windows Media Center (and a few other programs like WinAmp, etc).
Stuff that I didn't really use and I thought it was pointless to just display random fan or user data.

In any event - I'm wanting LCD Smartie (or another program if anyone knows!) to be able to display data from *any* source.

Right now I'm hoping to pull some data out of PLEX media app using an API call.
Problem is once I get this XML from the call and figure out how to parse out what I want, I need LCD Smartie to be able to push that data to the panel.

I don't know if this is possible? Can I write this to a text file that LCD Smartie can read? Can LCD Smartie run a script and output the return value, etc?

Any help is appreciated.

Thanks.

dperrow
Plugin Author
Posts: 276
Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland

Re: Extensibility options - custom script/variable?

Post by dperrow »

I have an untested dll for Smartie that will read text from a file that you are welcome to try. It has a .cfg file where the text file to be read is defined and has one function which takes the line number in the file and start and end character positions and outputs that. i.e.:

Code: Select all

/*********************************************************************
 *         Function 1 - param1 is line number in file                *
 *                      param 2 is s#e s=start character (default 0) *
 *                              e=end character (default all)        *
 *********************************************************************/
FileText.zip
you can call it multiple times to output different lines/text parts.

If you need any help with this just post on here again.
You do not have the required permissions to view the files attached to this post.

dperrow
Plugin Author
Posts: 276
Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland

Re: Extensibility options - custom script/variable?

Post by dperrow »

Alternatively, LCDSmartie has a built in function $File which will output a line of text from a file or there's web text that can be downloaded from:
http://lcdsmartie.sourceforge.net/smartied.htm

dperrow
Plugin Author
Posts: 276
Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland

Re: Extensibility options - custom script/variable?

Post by dperrow »

Alternatively, LCDSmartie has a built in function $File which will output a line of text from a file or there's web text that can be downloaded from:
http://lcdsmartie.sourceforge.net/smartied.htm

Post Reply