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

XBMC Plugin

Announcements of new plugins or updates.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

dark@side
Posts: 1
Joined: March 10th, 2013, 10:04 am

Re: XBMC Plugin

Post by dark@side »

Hello and created by someone with a complete set of plug-in I am because I do not deal with alone.
2x20 vfd display,windows,xbc frodo
sorry for my english

ulysse
Posts: 26
Joined: March 12th, 2010, 2:09 pm

Re: XBMC Plugin

Post by ulysse »

Hi !
I just rewrite my plugin to work with Json API.
It is provided as it. If you want some improvements I can write it further.

You must enable Web Interface with port 8080 !

Ex :
$dll(xbmc.dll,1,title,)

I write a variable "on"
$dll(xbmc.dll,1,on,)
which return 0 or 1 depends of xbmc running and playing something or not. You can use this to enable/disable a specific screen.

Current supported variables :

playerid=1
type=video
percentage=4
hours=0
milliseconds=360
minutes=0
seconds=1
album=
artist=
director=Robert Lieberman
episode=4
file=C
firstaired=2006-10-22
genre=
id=4
label=1x04. Let's Give the Boy a Hand
rating=7.6999998092651367
season=1
showtitle=Dexter
title=Let's Give the Boy a Hand
track=-1
year=2006
on=1
time=0:00:01
now1=Let's Give the Boy a Hand
now2=Dexter : S01E04

So, enjoy !
You do not have the required permissions to view the files attached to this post.

radon199

Re: XBMC Plugin

Post by radon199 »

Hey,

This new plugin works great for TV shows but whenever I try and play a move it throws an array error.

"[Exception: Exception has been thrown by the target of an invocation : Index was outside the bounds of the array.]"

Do you know a fix for this?

ulysse
Posts: 26
Joined: March 12th, 2010, 2:09 pm

Re: XBMC Plugin

Post by ulysse »

radon199 wrote:Hey,

This new plugin works great for TV shows but whenever I try and play a move it throws an array error.

"[Exception: Exception has been thrown by the target of an invocation : Index was outside the bounds of the array.]"

Do you know a fix for this?
Can you give me your xbmc version and the configuration you use in lcdsmaties please?

Radon199

Re: XBMC Plugin

Post by Radon199 »

I'm running XBMC Frodo 12.2 on Windows 8.1

Your latest DLL is in the correct folder. I've got port 8080 set in the XBMC.

If I play a TV show I get the information.

$dll(xbmc.dll,1,title,) for example works fine.

As soon as I switch to watching a movie I get the above error.

ulysse
Posts: 26
Joined: March 12th, 2010, 2:09 pm

Re: XBMC Plugin

Post by ulysse »

There was maybe a mistake ...
Can you test this version ?
I have no material for now to test so ...
You do not have the required permissions to view the files attached to this post.

Radon199

Re: XBMC Plugin

Post by Radon199 »

That appears to have worked! Awesome thanks. This has been the only XBMC LCD plugin I've been able to get working in Frodo and 8.1.

Not to ask too much but is it possible to get duration working as a variable again?

Thanks!

ulysse
Posts: 26
Joined: March 12th, 2010, 2:09 pm

Re: XBMC Plugin

Post by ulysse »

Radon199 wrote:That appears to have worked! Awesome thanks. This has been the only XBMC LCD plugin I've been able to get working in Frodo and 8.1.

Not to ask too much but is it possible to get duration working as a variable again?

Thanks!
I will add duration next week if you want.
For now i'm using 'percentage' for a progress bar.

ulysse
Posts: 26
Joined: March 12th, 2010, 2:09 pm

Re: XBMC Plugin

Post by ulysse »

Sorry I had work to do ...
Try this dll, I had time and duration variable ...

$dll(xbmc.dll,1,time,time) / $dll(xbmc.dll,1,duration,)
$Bar($dll(xbmc.dll,1,percentage,),100,20)

Have a nice day.
You do not have the required permissions to view the files attached to this post.

StarScream

Re: XBMC Plugin

Post by StarScream »

Hi ulysse, I can't seem to get this to work. I have a username and password set in my remote connection settings. Do they have to be blank? Any way you could make it work with a username and password somewhere? Maybe as 'appSettings' in the 'lcdsmartie.exe.config' file like how the xbmc4lcdsmartie plugin did it (h**p xbmc4lcdsmartie.codeplex (dot) com)? This way people can specify the port they use and everything... including a username/password, which is why I think the xbmc4lcdsmartie plugin doesn't work for me either.

ulysse
Posts: 26
Joined: March 12th, 2010, 2:09 pm

Re: XBMC Plugin

Post by ulysse »

StarScream wrote:Hi ulysse, I can't seem to get this to work. I have a username and password set in my remote connection settings. Do they have to be blank? Any way you could make it work with a username and password somewhere? Maybe as 'appSettings' in the 'lcdsmartie.exe.config' file like how the xbmc4lcdsmartie plugin did it (h**p xbmc4lcdsmartie.codeplex (dot) com)? This way people can specify the port they use and everything... including a username/password, which is why I think the xbmc4lcdsmartie plugin doesn't work for me either.
Since it use json api to work it doesn't need username/password ... Just activate "allow xbmc to be controled by local app" into service settings ...
Maybe you need to install .net framework 2.0 too ...

Post Reply