Giter Club home page Giter Club logo

hax's Introduction

kodi.webinterface.hax

A fast and simple remote control for mobile devices.

Screenshot 1 Screenshot 2 Screenshot 3

Links

Installation

Installation (Stable version)

The stable version is available from the official Kodi add-on repository. It can be downloaded and installed using Kodi's add-on manager.

Using Kodi (v16 or above), go to:

  1. Settings
  2. Add-ons
  3. Install from repository
  4. Kodi add-on repository
  5. Web interface
  6. Hax
  7. Install

Then configure Kodi using the settings below (see the configuration section).

Installation (Latest version)

The latest version can be installed from within Kodi after installing Sam's Kodi addon repository.

repository.samsaddons-1.0.1.zip

Download the zip file above then use "Install add-on from zip file" in Kodi to install. More detailed instructions are available here - note that you need to enable the "Unknown Source" option in Settings/System/Add-ons first.

The repository will be added to the "Install from repository" menu in Kodi's Add-on browser.

Then install Hax from within Kodi (v18 or above) by going to:

  1. Settings
  2. Add-ons
  3. Install from repository
  4. Sam's Kodi addon repository
  5. Web interface
  6. Hax
  7. Install

Configuration

See also: http://kodi.wiki/view/web_interface

After installation, Kodi's web interface can be enabled by going to:

  1. Settings
  2. Service Settings
  3. Control

You need to turn on "Allow remote control via HTTP". I use the following settings:

  • Allow remote control via HTTP: on
  • Port: 80
  • Username: kodi
  • Password:
  • Web interface: Hax

You can then visit http://localhost/ in your web browser to use Hax. (If this doesn't work, try http://localhost:8080/.)

Usage

To access Kodi from another device on your network you'll need to find your computer's name or ip address. Then visit http://<computer name>/ or http://<ip address>/ in your web browser to use Hax.

Development

Installation (Development version)

To install the development version, use Git to clone this repository into your Kodi plugins directory. Make sure you use the --recursive option. "Hax development version" will appear under the "My addons" menu and can be set up like any other web interface.

This version takes a long time to load because the build process happens in the browser. This means it can be used without running the build command - a feature that lets us rapidly build and test a http://kangax.github.io/compat-table/ web application without modifying Kodi's basic built-in web server. To do this, the index.html file in the root directory loads SystemJS, which uses jspm and Babel to download, compile and load the es7 modules and their dependencies from within the browser.

Note that styles (CSS) can't be compiled in the browser using PostCSS-cssnext so this version requires a modern browser. Its also slower than the other versions and takes a very long time to load. A faster version can be built using the npm run build command (see below).

Building

npm install
jspm install
npm run build

A self-contained build will be saved into the ./build folder.

Dependencies

Artwork

Libraries

Development tools

  • Babel - Latest JavaScript (ES7) syntax support
  • PostCSS-cssnext - Latest CSS syntax support
  • SystemJS - Dynamic Module loader
  • jspm - Browser package management
  • npm - Build tool

DevOps tools

hax's People

Contributors

bailus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hax's Issues

Automatically play next song in Music -> Files

Hi,
I don't know if this project is still active (although I hope it is, because seems to be the best web interface to Kodi). But I have a request for an enhancement. When playing music from browsing the files, I would like to be able to have the player continue on the next song in the directory. Alternatively, an ability to play all the files in a directory would be great.

Detect TCP server settings

Currently when upgrading the transport, we just assume the TCP server is enabled on the default port 9090.

Detecting these settings might not be possible using API v6.

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.