curls to send to a local kodi instance. Intended to be used as keybindings to control the media center from a separate keyboard.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
Daniel Martinez b93a380ceb making a real she'll script 2 lat temu Update '' 3 lat temu making a real she'll script 2 lat temu
the_things added comments 3 lat temu

I use these curl commands to control playback of a kodi media center from a separate computer. For instance, on my laptop I can press Ctrl+Alt+Space to play/pause on the living room HTPC.

Kodi must have the webserver for control enabled under Settings > Services > Control. The curls need to be adjusted to your specific setup. In these commands I set as the destination. Works best if HTPC has a set internal IP, to be set on the router. If a username/password is set on kodi, change to http://user:pass@192.168.x.x:port/jsponrpc