View Full Version : JRMC Smartie LCD plugin. (Beta)


RedDom
05-11-05, 06:19 AM
I've created a basic plugin for lcd smartie, to get info from JRMC and display it on any LCD supported by smartie. Its my first shot at JRMC development, .Net development and smartie plugin development, its also only been tested on my dev machine and my media pc. so expect it not to work, but post any feedback here and I'll try and fix it. I don't have much time to work on it but I'll do my best.
I don't have anywhere to host it so will attach to this message (I think you will need to be logged in to download it)


Thx
RD

JRMC_Now plugin for LCD Smartie
by Dominic Stubbins


This should be considered Alpha quality code, I wrote it for my own system, where i use it with JRMC11 and netremote. It has a number of known Bugs:

1)You may find you end up with some rougue media center processes running. I cant get it to shutdown properly when you close media center.
2)the plugin is not threaded, smartie will hang if it cant talk to jrmc for a while, if for example you are using the jrmc UI!

3) Many others I'm sure.


Prerequisites
JRMC (only tested 11, should work on some earlier ones)
.Net
LCDSmartie 5.3 (lcdsmartie.sourceforge.net)

Install:
Copy JRMC_Now.dll, interop.mediajukebox.dll into the lcdSmartie\Plugins directory.


USage.


There Are two functions in the plugin

Function 1, returns all the information about the current track in playing now.

you specify, dll name,FunctionNo (Number) ,Fieldname (String),Formatted (String)

dllname=JRMC_Now.dll
functionno=1
Fieldname, can be any of the fields in your database, for example. (Album,Artist,Albumartist,Name,Duration,Bitrate,genre,custom 1 all work, as do some others),
formatted should be set to "TRUE" or "False", this will format the response, so for example duration, will either be returned as min:seconds or just seconds if formatted=false

examples of lcdsmartie entries

$dll(JRMC_Now.dll,1,artist,true) displays artist
$dll(JRMC_Now.dll,1,duration,true) displays 3:24
$dll(JRMC_Now.dll,1,duration,false) displays 204


Function = 2, returns the state of the current system, it has two options, Position or status. Position returns the current track time, either in seconds, or formatted. Status returns the current play status, stopped (0) paused (1) ,playing(2) or waiting(3) either as a number or formatted as text

$dll(JRMC_Now.dll,2,status,true) displays "Playing"
$dll(JRMC_Now.dll,2,status,false) displays "2"
$dll(JRMC_Now.dll,2,position,true) displays 1:24
$dll(JRMC_Now.dll,2,position,true) displays 84

jriver
05-11-05, 07:05 AM
Thanks, Dominic.

Cyndrax
09-27-05, 08:53 PM
When I try to run this (with 5.3.2 and 5.3), I get an error "Can't Load Plugin"

Load of plugin failed: LoadLibrary failed with #126: The specified module could not be found.

Is there something that needs to be done to register the plugin with either JRMC or LCDSmartie?

RedDom
09-28-05, 03:07 AM
It seems like lcd smartie cant see the plugin, there is no need to register anything, just make sure the 2 dll's are in lcd smarties plugins directory. I think the name is case sensitive in lcd smartie.

do other smartie plugns work?
what version of jrmc are you using?, also try starting jrmc first, or stopping it if its started.

RD

CHA
03-02-06, 04:41 PM
Is this plug-in still available..? Download fails..

mircea
03-13-06, 04:49 AM
please...
somebody still has a copy of this plugin?

thanks in advance!

mircea
03-23-06, 04:51 AM
Logged on, still the download fails... could somebody send it to mircea at crutescu com
thank you in advance

mircea
04-04-06, 10:10 AM
:( ...Please....
In my current setup, i cannot use something else than JRMC... :(

CHA
04-17-06, 11:58 AM
Bump..
I need it too..:)

CHA
04-19-06, 02:29 PM
Finally got hold of it..works great.. :)

Anyone interested in a copy, send me a PM.

isearchable
10-16-06, 03:17 PM
If someone has this, can they re-post it please. I have JRMC 11 and Smartie 5.3.

I would love to see playing now on there.

doctorcilantro
10-20-06, 12:55 PM
Yes, could someone post this. Also wondering if anyone has tried on MC12 yet?

thaks
DC

raym2
12-13-06, 06:43 AM
...Also wondering if anyone has tried on MC12 yet?


Tried it out today with MC12. Works great! There's some issues with it as detailed in the readme but nothing too serious.

doctorcilantro
02-14-07, 09:28 PM
Works well on MC12 w/o MC11 installed (I read about your issue Raym).

IT does leave a rogue MC process hanging around using 5mb of memory. Hoping no <C database corruption can occure since there is no clean exit of MC.

Also, strang bug:

When the plugin is running you can't right click on pictures that have been opened and rotated in MC. You have to right click the title bar to reset the system. I also lose mouseover focuse in panes as well as totally losing the ability to scroll with the scrollwheel. f I kill LCDsamrtie these problmes go away; they are rather annoying and interupt workflow dramtically.

DC

5teviewonders
02-15-12, 06:17 PM
Great plugin!! I can confirm that it works with media centre 16.

rnadeau6299
05-07-12, 04:20 PM
I have JRMC on a server. I have sagetv on a client along with the JRMC plugin for sagetv. The Lcd display is on the sagetv client. In other word, can the plugin get the info over the network and if so how would I do that? Thanks!