Code Monkey home page Code Monkey logo

kodi-cli's Introduction

"kodi-cli" and its simple GTK3 frontend

Kodi/XBMC bash script to send Kodi commands using JSON RPC. It also allows sending youtube videos to Kodi. The GTK3 frontend simpliefies sending YouTube links and controling basic aspects of playback withing X, as for example seeking by clicking on the progress bar.

GTK3 frontend screenshot

#Usage

kodi-cli -[p|i|s|(y|q) youtbe URL/ID|t "text to send"|o "youtube title"]

#Arguments

 -d Decrement the volume on Kodi
 -f toggle fullscreen
 -g go to specified percentage of the video
 -h showing this help message
 -i interactive navigation mode. Accept keyboard keys of Up, Down, Left, Right, Back, hjkl (vim-like)
    (c)Context menu and (i)Information
 -j jump back given # of seconds
 -n play next item in current playlist
 -o play youtube video directly on Kodi, use the name of video (this option depends on using mps-youtube)
 -p Play/Pause the current played video
 -q queue youtube video to the current list, use either URL or ID (of video); use instead of -y
 -r retreive the percentage of the total time that has been played already
 -s stop the playback
 -t 'text to send'
 -u increment the volume on Kodi
 -x exit XBMC
 -y play youtube video; use either URL or ID (of video)
 -z suspend the system with Kodi

#Dependencies for the "-o" option to work you'll need to install mps-youtube

#Version 1.1

kodi-cli's People

Contributors

elpraga avatar nawar avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

gibby

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.