2014-09-14, 07:43
Yes, it sounds strange, but the Raspberry Pi has been the only device to play my videos using a/v sync with no audio drift issues (I've used many different pc's with various nvidia/ati cards, and I couldn't escape the audio drift problem.)
I want XBMC on a pc to send a command to the XBMC on raspberry pi to play a shared movie. I'm using eventghost. My problem is using payload wildcards with JSONRPC.
I can launch direct movies, if I do this:
[{"file":"smb://192.168.1.7/My Videos/Movies/Kung Fu Panda/Kung Fu Panda.mp4"}]
But I cannot figure out how to use payloads. I've tried setting it as:
[{"file":"{eg.event.payload[0]}"}]
And setting the event as Main.pi
and launching
Eventghost -e pi smb://192.168.1.7/My Videos/Movies/Kung Fu Panda/Kung Fu Panda.mp4
fails. The Log give parameter errors. What am I missing?
I want XBMC on a pc to send a command to the XBMC on raspberry pi to play a shared movie. I'm using eventghost. My problem is using payload wildcards with JSONRPC.
I can launch direct movies, if I do this:
[{"file":"smb://192.168.1.7/My Videos/Movies/Kung Fu Panda/Kung Fu Panda.mp4"}]
But I cannot figure out how to use payloads. I've tried setting it as:
[{"file":"{eg.event.payload[0]}"}]
And setting the event as Main.pi
and launching
Eventghost -e pi smb://192.168.1.7/My Videos/Movies/Kung Fu Panda/Kung Fu Panda.mp4
fails. The Log give parameter errors. What am I missing?