|
|
![]() |
|
|
|
|
|
#1 | Link |
|
|
Member
|
JRMC Smartie LCD plugin. (Beta)
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 |
|
|
|
|
|
|
#3 | Link |
|
Member
|
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? |
|
|
|
|
|
#4 | Link |
|
Member
|
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 |
|
|
|
|
|
#14 | Link |
|
Member
|
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 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|