2014-03-18, 20:25
(2014-03-18, 13:40)Montellese Wrote:(2014-03-18, 12:05)Tolriq Wrote: I added support for that in Yatse some times ago so it does work for sure in Gotham.
I've just tested again against Beta 2 and :
03-18 10:59:37.788: V/JsonRpc(26783): JsonRpc.doRequest@241: Request : {"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"file":"C:\\xx\\xxxx.mkv"},"options":{"resume":{"hours":1,"minutes":0,"seconds":8,"milliseconds":0}}}}
03-18 10:59:37.888: V/JsonRpc(26783): JsonRpc.doRequest@252: Response : {"id":1,"jsonrpc":"2.0","result":"OK"}
with a file not in database and queried from Files.GetDirectory and all works perfectly.
Yeah you're right. My glance at the code was too quick. It is however not supported for "path", "partymode", "playlist" and "channelid".
@Lunatixz: Are you using some special file that is not seekable or maybe a stack or zip or other archive or whatever?
My Development PC was running Frodo, Upgraded to Gotham to check if it works... Now I get no response from json only
Code:
ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://......mkv
DEBUG: webserver: request received for /jsonrpc
no error, or request conformation.... Did I miss something in Gotham that needs to be changed?