Forum
[SOLVED] Taking a screenshot - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+--- Thread: [SOLVED] Taking a screenshot (/thread-3843.html)



Taking a screenshot - dreamweaver - 4th Oct, 2016 06:35 PM

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


RE: Taking a screenshot - Nachteule - 4th Oct, 2016 09:16 PM

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


RE: Taking a screenshot - dreamweaver - 5th Oct, 2016 01:36 PM

(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