Kodi Community Forum
JasonRPC command "player.open" not working with video file - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174)
+---- Thread: JasonRPC command "player.open" not working with video file (/showthread.php?tid=194703)



JasonRPC command "player.open" not working with video file - moravec - 2014-05-10

hello, here the log.

http://pastebin.com/rnGtBkmX

the file will not play, but we get an OK back.


RE: JasonRPC command "player.open" not working with video file - Martijn - 2014-05-10

Moved to jsonrpc support


RE: JasonRPC command "player.open" not working with video file - Mizaki - 2014-05-10

Code:
ERROR: CDVDPlayer::OpenInputStream - error opening [//192.168.0.110/Video/AMX/300_dolby_cntdwn.m2ts]
Are you saying it plays if tried from within XBMC?


RE: JasonRPC command "player.open" not working with video file - moravec - 2014-05-10

Yes, and it is also working if I change to a local file instead.

For example: c:\test.mkv

With Eden this was working on remote system.

Regards
Christian


RE: JasonRPC command "player.open" not working with video file - Montellese - 2014-05-11

Are you trying to use an UNC path? First of all these should start with \\ and not // but IIRC support for UNC paths was completely removed but I could be wrong.


RE: JsonRPC command "player.open" not working with video file - moravec - 2014-05-11

yes, unc path. Can please anyone of the developers reproduce this, so we know if it is a bug or by design?

We also tried with \ instead of / and received an error pharsing.

Chrisitan


RE: JasonRPC command "player.open" not working with video file - Montellese - 2014-05-13

Backslashes need to be escaped so if you want to send
Code:
\\192.168.0.110
over JSON-RPC you actually need to send
Code:
\\\\192.168.0.110
and the same is required for any other backslashes in the path (not just the leading ones). That's why you receive a parsing error.


RE: JasonRPC command "player.open" not working with video file - moravec - 2014-05-13

I would say we tried this also... With no success...

Christian


RE: JasonRPC command "player.open" not working with video file - Montellese - 2014-05-13

I'm sorry but "no success" is not a useful error report at all. There can be a thousand reasons why it doesn't work. You need to provide
  • your exact JSON-RPC request
  • the response you get
  • a Debug log (wiki) with JSON-RPC debugging enabled

From your initial log it looks like the JSON-RPC request succeeded but XBMC didn't find a way to actually play the file.


RE: JasonRPC command "player.open" not working with video file - moravec - 2014-05-14

Yes and this seems to be a bug. Because as mentioned if a local path/file is used it works. Same files, just local on c: drive.


Re: JasonRPC command "player.open" not working with video file - nickr - 2014-05-14

See post #9


RE: JasonRPC command "player.open" not working with video file - moravec - 2014-05-14

With local files it is working, this is ok for me. I don't know if I can provide any logs again. I just reported this because it seems to be a bug or is not supported anymore. A dev responsible should be able to test this within minutes. I am not a developer and this xbmc machine is not at my home and the option to test a 3rd party person is required.

This person told me it is little and confusing documented and should be used path or file now with Gotham.


RE: JasonRPC command "player.open" not working with video file - Memphiz - 2014-05-16

try smb:// instead of \\