Page 1 of 1

VLC plugin in 2016 ?

Posted: January 31st, 2016, 8:50 pm
by Jojo
Hi everybody !

I recently purchased a negative 2x16 LCD screen from Adafruit with USB, which seems to be pretty cool !
I have downloaded LCD Smartie and some of the plugins already on it works pretty well.
But the ones that interested me aren't working :/

I can't use the actual VLC plugin (2006 yeah..) because the program "can't load" the plugin even if it's well placed on folders and without uppercases and cie. :cry:
It's the same for the Windows media player one. But I'm sure it's because I got Windows 10..
In fact I bought this mini LCD for parties :lol: So dancers can know the name of the music played :)

There is a SPC plugin that works well (level meter), on his screenshot we can see a playing track, that's what I wanted, the author name and the title of the music.

Did someone have make these plugins work in windows 10 ?

Thanks you and congratulation for this software and those plugins ! (Sorry for my english I'm French).

Bye !

Re: VLC plugin in 2016 ?

Posted: February 1st, 2016, 12:05 am
by Joj
Ok so i searched a lot and I found an alternate solution ^^

I found a little program called NowPlaying that allows me to get the artist - title in a file.txt. (It uses the web interface of VLC).
And with LCDSmartie, there is a command to read file lines ! $File(C:\file.txt,1)

I added this line with the cool SPC plugin made by dperrow here on the second line and this is a very cool result ! $dll(spc,1,1#1,16)

Only 3 little problems :
- We have to configure VLC to enable web remote control every time we launch VLC.
- Very little problem with dperrow plugin, there is a number that appears (the number after the # appears on the LCD), so we have to click one time to the right blue arrow on the UI.
- I can't change the color of the Adafruit negative 16x2 LCD. It's proprietary I suppose, I can only with hexadecimals (0xFE 0xD0 255 255 255 for white for example) but I don't think that I can do it with LCDSmartie, only with a terminal like Realterm.

Thanks for this amazing tool and your cool plugins !

Bye !

Re: VLC plugin in 2016 ?

Posted: February 2nd, 2016, 5:05 pm
by dperrow
Hi,
i'm using windows 10 and the SPC dll and I dont get an extra character. Any chance you could post a screenshot of what you mean?

Also, what display driver are you using in LCD Smartie? I have faint recollection of producing something to handle the colour thing.

Re: VLC plugin in 2016 ?

Posted: February 9th, 2016, 8:30 am
by jojo2
Hi !

I can't post link since I'm not a member for now (I tried last time, maybe it has changed), at this time I'm not home so I can't do it but maybe later this day I will try to post a link :)
For your SPC, each time I launch it it makes this : 1_--_-__--_-_-_-_ (example). I got W10 64, but maybe there are some dependencies such as . net or something like that (sorry I'm not very competent on this subject :oops: ) that I haven' got !

I'm using the matrix driver that Adafruit is advising (USB + Serial Backpack Kit with 16x2 RGB backlight LCD).

When we change the color on the LCDSmarties's UI and save it nothing change on the LCD (but the color changes in the UI), probably because the LCD color command is proprietary I think :/

Thanks you !!

(Sorry for my English)

Re: VLC plugin in 2016 ?

Posted: February 9th, 2016, 11:40 pm
by jojo337
Hi, I finally got an account :)

LCDSmartie is 5.4.2.92.beta
SPC is 1.0.39.231

I got an older picture of the LCD, I don't have it right now, but next week yes :)
Here are the screens
20160131_234241_005_01.jpg
test.jpg
You can see the parameter after the # is on the LCD.
(Same with $dll(spc,1,1#2,16) but there is a 2 instead of 1)
Some parameters/plugin :
test2.jpg
test4.jpg
Thanks, and anyway the plugin is working fine so thanks you it's a pretty cool plugin !

Re: VLC plugin in 2016 ?

Posted: February 13th, 2016, 9:20 am
by dperrow
So is it only on the PC screen that the 1 appears and not actually on the LCD display ?

I cant get this to happen on my setup.

Re: VLC plugin in 2016 ?

Posted: February 13th, 2016, 12:53 pm
by dperrow
you could try $dll(spc,1,1#1#1,16) or $dll(spc,1,1#2#1,16)
The added number is a smoothness factor (1-9) the default being 1

Let me know how it goes.

by the way the original example display was from Windows Media Center or MediaPortal.

Re: VLC plugin in 2016 ?

Posted: February 13th, 2016, 6:03 pm
by jojo337
Hi and thanks you for your reply !

The number appears on the UI and on the LCD, the first screen was taken after I press the blue arrow, here is a screen with colors to see :
sas.jpg
Here are two pictures on the LCD before and after the arrow (the parameter was #1):
20160213_163240_001.jpg
20160213_163304.jpg
With your new proposition :
ds.jpg
de.jpg
As you can see when I change a number of the parameter after the first #.

Here is the log if you want :

Code: Select all

17:13:09.058 Log file Opened at 13/02/16 17:13:09
17:13:09.058 OS = 6.2
17:13:09.058 SPC_read_cfg_file: Started
17:13:09.058 SPC_read_cfg_file: File Opened
17:13:09.059 SPC_read_cfg_file: AudioDevice=45
17:13:09.059 SPC_read_cfg_file: AudioInput=0
17:13:09.059 SPC_read_cfg_file: Scaling=1.500000
17:13:09.059 SPC_read_cfg_file: UseWasapi=1
17:13:09.059 SPC_read_cfg_file: BlackChar=255
17:13:09.059 SPC_read_cfg_file: Finished
The smoothness code that you give didn't remove the number in my case.
I think it's the first parameter after the # that is displayed.
I tried it on two W10 computers AMD&Intel, 2 AMD GPU. Matrix driver.
Also, I found on your website that someone got the same issue (lcdspc.codeplex*com/workitem/list/basic), I hope you can find the solution, but this is not urgent, because we can easily avoid the problem with the arrow ;)

Thanks !

EDIT : I found a solution to change the color of the LCD ! With this line : $Chr(254)$Chr(208)$Chr(255)$Chr(1)$Chr(1) (The three last Chr are for the RGB colors), I have to put in on a different "screen" because if I put some text after it do a garbage.

Re: VLC plugin in 2016 ?

Posted: March 13th, 2016, 5:05 pm
by jojo337
Hi,

Here is the beginning config file if you want :

Code: Select all

[Communication Settings]
DisplayDLLName=matrix.dll
DisplayDLLParameters=COM5,9600
Baudrate=8
COMPort=1
USBPalm=0
ParallelPort=888
HDAlternativeAddressing=0
HDKS0073Addressing=0
HDTimingMultiplier=1
MX3USB=0
HTTPProxy=
HTTPProxyPort=0
RemoteHost=localhost

[General Settings]
RefreshRate=5
WinAmpLocation=C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
BootDriverDelay=1
SETIEmail=test@test.com
DistLog=C:\koelog.txt
EmailPeriod=1
DLLPeriod=250
ScrollPeriod=400
AlwaysOnTop=0
Size=6
NewsRefresh=120
RandomScreens=0
FoldUsername=Test
GameRefresh=1
MBMRefresh=30
CheckUpdates=1
ColorOption=4
MinFadeContrast=0
SkinPath=images\
DLLContrast=210
DLLBrightness=210
HideOnStartup=0
AutoStart=0
AutoStartHidden=0
EmulateLCD=0
LCDType=7
Contrast=88
Brightness=26
CFContrast=66
CFBrightness=61
CFCGRomVersion=2
IRBrightness=3
LastTab=9
TrayIcon=smartie.ico
ShowMBM=0
ShutdownLine1="Au revoir.."
ShutdownLine2="Bisous !"
ShutdownLine3=""
ShutdownLine4=""

[Screen 01]
Enabled=1
Theme=1
ShowTime=60
Sticky=0
Skip=0
InteractionTime=10
Interaction=5
Text01=" > $File(C:\Users\Jojo\Desktop\Programmes\lcd_smartie_v5.4.2.92 Beta\NowPlaying 1.2\nowplaying.txt,1)"
Text02="$dll(spc,1,1#1,16)"
Text03=""
Text04=""
NoScroll01=0
NoScroll02=1
NoScroll03=0
NoScroll04=0
ContinueNextLine01=0
ContinueNextLine02=0
ContinueNextLine03=0
ContinueNextLine04=0
Center01=1
Center02=1
Center03=0
Center04=0
I don't know why the number appears in my configurations (I tested it with 3 differents configurations, intel/amd but they are all on W10 64bits), maybe the code interpretation is not the same ? Is there any dependencies ? I got some Microsoft Visual C++ from 2008 to 2015 in my programs. Maybe it's about the parameters parsing part of your code that is interpreted differently in W10 64bits ? Or in the part that display things in the program/LCD ? I got the version 5.4.2.92 beta of LCDS, and SPC version 1.0.39.231.

Thanks you !

Re: VLC plugin in 2016 ?

Posted: April 6th, 2016, 12:35 pm
by jojo337
OK so I think I'm gonna slap myself... I downloaded the last version of LCDSmartie beta !!! ++ !!! (I haven't got the ++ before..) and the number disappears !

I'm going to check the config file of LCDSmartie but I don"t think the reason is there, I will do more tests but anyway the result is what I wanted so thanks for your amazing program :)

Edit : AH yes, in the ++ version there is already the SPC plugin, I copied only the SPC conf file, the SPC.dll is different, the SPC which make appears the number is around 20ko and the other who works is 33ko, but it seems to be older (2012).

Re: VLC plugin in 2016 ?

Posted: April 14th, 2016, 6:39 pm
by Latvian3Dman
jojo337, thanks for that info, but - that (in ++ archive) seems to be older version of SPC that doesn't have VU-meter mode yet :(
So, I guess, quation stays - why numbers appears at the start of spectrum lines?
By the way, VU-meter bars are unaffected, no unneeded numbers anywhere.

Re: VLC plugin in 2016 ?

Posted: April 14th, 2016, 9:40 pm
by Latvian3Dman
Okay, I found how to fix that (number in first position), and it is soooo simple that it is not even funny. Okay, it is a bit. Anyway: just take DLL file from this post:
by dperrow ยป Fri Apr 12, 2013
download/file.php?id=442
That's it.
DLL size is the same, 20480, but date is 2013.04.12 , april.
Wrong doing file is 20480, date 2013.09.11, september.
I am not sure (don't remember) at what point, how, and where I got that september file.
Probably september file has fixed something. But made that display weird problem with numbers after #.

Re: VLC plugin in 2016 ?

Posted: April 24th, 2016, 2:28 am
by jojoNotAtHisHouse
Hi ! Thanks you for the solution !! I will try it when I come back to my home but if it works for you it will works for me :)
I will try to compare the files if I can :)

Have a good day