curls to send to a local kodi instance. Intended to be used as keybindings to control the media center from a separate keyboard.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Daniel Martinez b93a380ceb making a real she'll script 2 年前 Update '' 3 年前 making a real she'll script 2 年前
the_things added comments 3 年前

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