Forum

Full Version: Taking a screenshot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm running Kodi 16.1 on a Raspberry Pi. I would like to be able to take a screenshot of the Kodi screen
from the CLI (i.e. an SSH session).

With XBMC on OpenELEC I could use the command "xbmc-send.py -a TakeScreenshot".

The same command on XBian silently fails. The script /usr/local/bin/xbmc-send.py exists, this sends the command
to UDP port 9777. I can see that the process kodi.bin is listening on port 9777, but as far as I can tell no screenshot is taken.

Is there a way to take a screenshot (with xbmc-send or otherwise)?

Thanks
Did you have set default screenshot folder in Kodi settings?

If not, you have to add path and filename to the command like this:

Terminal

xbmc-send.py --action="TakeScreenShot(/tmp/myscreenshot.png)"

Just tested it, works like a charm Smile
(4th Oct, 2016 09:16 PM)Nachteule Wrote: [ -> ]Did you have set default screenshot folder in Kodi settings?

If not, you have to add path and filename to the command like this:

Terminal

xbmc-send.py --action="TakeScreenShot(/tmp/myscreenshot.png)"

Just tested it, works like a charm Smile


Works perfectly for me too. Problem solved, thanks for your help
Reference URL's