Acceptable parameters for "XBMC.Slideshow"
#1
Question 
I'd like to use the EventClient or JSON-RPC Interface method "XBMC.Slideshow" to launch an arbitrary slideshow.

This method accepts as variables, a path to a directory or a path to a .pls file.

Can someone tell me whether it accepts anything else, or where in the source I'd find my answer?

Most ideal would be if it accepts a string representing a list of images, but any attempts of mine have failed.

Thank you

Andrew
Reply
#2
I managed to create the behaviour I needed by passing in a url to a .pls file so I no longer require any other input patterns from that built in function.
Reply
#3
Anyone could tell me how exactly start slideshow with .pls via JSON? I tried:

Code:
jsonRequest('XBMC.StartSlideshow', '"directory": "c:/b/pokus.pls"')

which doesn't work, when I pass directory only without pokus.pls, it works fine.

Maybe I have something wrong in my .pls file? :

Code:
[playlist]

File1=c:/a/01.jpg
Length1=-1

File1=c:/a/02.jpg
Length1=-1

File1=c:/a/03.jpg
Length1=-1

File1=c:/a/04.jpg
Length1=-1

File1=c:/a/05.jpg
Length1=-1

File1=c:/a/06.jpg
Length1=-1

NumberOfEntries=6

Version=2

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Acceptable parameters for "XBMC.Slideshow"0