2011-12-21, 15:06
Montellese Wrote:Uhm Files.GetDirectory is returning directories AND files for me and I didn't do any fundamental changes to it for quite a while (only fixed the bug reported by Mizaki) so please provide specific details on what is not working including your JSON-RPC request, the result and what you would expect to be present in the response.
I send:
Code:
{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "smb://user:pass@server3/movies/","media":"video"}, "id": 1}
And it returns:
Code:
{"id":1,"jsonrpc":"2.0","result":{"files":null,"limits":{"end":0,"start":0,"total":0}}}
In the directory there are movies, which even are in the XBMC library. The same goes with music, when I use "media":"music". So, for me, it returns only directories, not files inside...