Script controlled Screenshots (Zattoo)
#1
Hello,

I want to run Kodi on a raspberry and control it using a script.
It will have to make live-TV screenshots from time to time and (maybe) switch channels.

The built in functions seem to be an approach, but how are they used?
http://kodi.wiki/view/List_of_built-in_functions

for accessing the live-TV stream I will have to use an addon+account like zatttoo.
How can this be controlled automatically and without a gui?

for now I don't see a clear way to start with.
Maybe there is an easier solution?
E.g. using vlc player: get the zattoo stream url --> pass it to vlc as --> take screenshot

thanks a lot & greetings
Reply
#2
Several ways, kodi-send, json-rpc. The wiki reveals all.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#3
If it´s only about a screenshot, then SSH in and enter the command:

Code:
kodi-send --action=TakeScreenshot

Depending on the OS, the screenshots are saved in the respective folders. You are also able to specify a path to a folder where the screenshot should be saved:

Code:
kodi-send --action=TakeScreenshot(/path/to/file.png)

The filename has to be set for that one.
Reply

Logout Mark Read Team Forum Stats Members Help
Script controlled Screenshots (Zattoo)0