2011-11-23, 14:02
grywnn Wrote:Hi there,Sounds like a bug to me. Please create a bug ticket and provide a debug log.
i think i found a bug(?) in Files.getDirectory:
When calling this with a ftp source as directory parameter, i only get subdirectories back, but no files.
Steps to reproduce (i hope):
- create a video source with ftp://<user>:<pass>@<host>/ as location
- call Files.getDirectory, params {"directory":"ftp://<user>:<pass>@<host>/"}
- Subdirectories are returned, video files are not. XBMC in file modeshows files correctly though.
Tested on OS X with yesterdays nightly.
Can anyone confirm this?
vasikgreif Wrote:Hi, I cannot figure out the correct syntax for playing an item from playlist with Playlist.Item. Anyone could post an example? What I need is to start playback from a specified item in playlist. ThanksCan you be more specific? Do you want to use Player.Open? If so you need to execude something like
Code:
{ "jsonrpc": "2.0", "method": "Player.Open", "params": { "item": { "movieid": 25 } }, "id": 1 }