2017-05-22, 10:50
Hi,
I can not find out how to show a picture via smb when a username and password is needed.
If I set it once as library via 'remotecontrol' it works.
But after a reboot I need to add this library again.
Is there a trick to set username and password directly in the json string?
or from where is the used username and password?
I tried this:
But get no response from Kodi.
If I use this:
(additional single quotes around, saw this somewhere in github)
I get:
But still no picture shown.
Any ideas?
Thanks in advance
I can not find out how to show a picture via smb when a username and password is needed.
If I set it once as library via 'remotecontrol' it works.
But after a reboot I need to add this library again.
Is there a trick to set username and password directly in the json string?
Code:
{"file":"smb://fs2/tv-eingang/TV-Bild.jpg"}
or from where is the used username and password?
I tried this:
Code:
{"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"file":"smb://user:password@fs2/tv-eingang/TV-Bild.jpg"}}}
If I use this:
Code:
{"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"file":"'smb://user:password@fs2/tv-eingang/TV-Bild.jpg'"}}}
I get:
Code:
{"id":1,"jsonrpc":"2.0","result":"OK"}
Any ideas?
Thanks in advance