open and playback nas content by json commands
#1
hello everybody.

i'm trying to control a pool of kody players by central application and i managed to send start/stop, status etc commands.

But at the moment i do not undertand how kodi mounts samba shares, and how video files could be addressed in the open command.

I'm using GAMBAS for the GUI and the open command is this one (translated from examples i found on the net):
Code:
Public Open As String = "{" & Quote("jsonrpc") & ":" & Quote("2.0") & "," & Quote("method") & ":" & Quote("Player.Open") & "," & Quote("params") & ":{" & Quote("item") & ":{" & Quote("file") & ":" & Quote("TARGET") & "}}}"

where target have to be replaced by the smb or local path.

On kodi interface i have on VIDEO->FILE the Qnap2OTVA position, and if i get there, i have some sub-folders with video files.
For example "ProgramA" folder with inside "EPISODE1.mpg"

What is the correct path to replace in target?

thanks,

Federico
Reply

Logout Mark Read Team Forum Stats Members Help
open and playback nas content by json commands0