Git Product home page Git Product logo

kodi.service.command's Introduction

service.command

A simple service for Kodi, with which you can activate commands on idle/wake or other events.

How To

Install the service via ZIP installation. The service will create .sh files in its data directory, when the corresponding events happen. You can then edit these .sh files to run your desired commands. Obviously this is centered around a linux host.

Example

Imagine you have the BOINC addon in your Kodi calculating stuff for science. BOINC allows some configuration to only use a certain amount of CPU time, when the CPU is not occupied over a treshold value. But for that to happen, you have to start something that uses the CPU and then wait that BOINC recognizes that. On Kodi that might lead to a laggy menu or weird behavior at the start of a movie or something like that. To make sure BOINC is paused, when you actually want to use your Kodi, you could pause/unpause it on activation/deactivation of the screensaver, like I did. That way BOINC would only run for a while on startup and when the screensaver is active.

onScreensaverActivated.sh --> add docker unpause boinc
onScreensaverDeactivated.sh --> add docker pause boinc

kodi.service.command's People

Contributors

d03n3rfr1tz3 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.