Start video from SSH

Hi,

I’m trying to start a video from an SSH connection on a Raspberry Pi but I don’t find a way to do it.
Is there anybody who succeed to do it ?

Thanks,
Leliene

xbmc-send -a “PlayMedia(/path/to/yourfile.mp4)”

works for me at least, remember to put the whole path to the file.

Here is a good page for running commands from command line: http://kodi.wiki/view/list_of_built-in_functions

Thanks, it will help me a lot !