Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: Taking a screenshot
4th Oct, 2016, 06:35 PM
Post: #1
Taking a screenshot
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
Find all posts by this user
Quote this message in a reply
4th Oct, 2016, 09:16 PM
Post: #2
RE: Taking a screenshot
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
Find all posts by this user
Quote this message in a reply
5th Oct, 2016, 01:36 PM
Post: #3
RE: Taking a screenshot
(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
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Screenshot file size is 0 jrh18 2 2,459 11th Jul, 2013 03:41 AM
Last Post: jrh18

Forum Jump: