2017-07-10, 15:14
(2017-06-20, 18:49)hurlbert Wrote:(2017-05-22, 11:33)ednt Wrote: Next try:
I mounted now the smb share to /storage/pictures
This works all the time. It is available after a reboot.
Code:{"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"file":"file://storage/pictures/TV-Bild.jpg"}}}
returns no answer
In the kodi log file (/storage/.kodi/temp/kodi.log)
I can read:
Quote:ERROR: COMXImageFile::ReadFile file://storage/pictures/TV-Bild.jpg not found
But the file is there. Checked with
Code:ls -al /storage/pictures/TV-Bild.jpg
Quote:-rwxr-xr-x 1 root root 147650 May 22 09:14 /storage/pictures/TV-Bild.jpg
I also tried file:///storage... (which should be the right way) but without success.
I find it strange that nothing is returned from Kodi.
Btw. I use openelec 8.0.3 with Kodi 17.1
I have no way to verify this but I would suspect this is because internal to Kodi it doesn't know about the mounted drive.
It's only a guess but maybe you don't need the "file://" prefix?
Code:
{"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"file":"/storage/pictures/TV-Bild.jpg"}}}