Skip to content

tintamarre/chorus2

 
 

Repository files navigation

Kodi Web Interface - Chorus2

A great modern Web UI for Kodi. Browse your Music, Movies or TV Shows from the comfort of your own web browser. You can play media via Kodi or stream it in your browser. Works best with Chrome but plays well with most modern browsers.

Successor to Chorus. A complete rebuild using Coffee Script, Backbone, Marionette and much, much more.

Author

Jeremy Graham with help from these kind people

Current state

Pretty good, most things work really well. Other things need polish/finishing/fixing.

Getting it working

Disclaimer: Pre release software, expect bugs, changes, nuclear war, etc.

Installing

Install via zip is the easiest way to go. Grab the zip from the root of this repo then do this

Settings

  • Kodi > System > Settings > Services
  • Remote Control -- Enable "Allow programs on this system to control Kodi" -- Enable "Allow programs on other systems to control Kodi"
  • Webserver -- Enable "Allow control of Kodi via HTTP" -- Select Web interface -- Select Chorus2

Feature requests / Bugs

Add them to the list

Streaming

Disclaimer: The success of this depends on the file formats vs what the browser supports. In general most things work.

Audio streaming

In the top right there are some tabs, two of them are named Kodi and Local, this is how you toggle what player the UI is controlling. In Local mode the logo and accents are pinky-red, In Kodi mode the logo is the Kodi blue. When you are in a given mode, actions affect that player, so if you click Play on a track when in Local mode, it will play through the browser, likewise, when in Kodi mode all commands are sent to Kodi. You can also add media to other playlists by clicking the menu buttons (three dots vertical) on most media items.

Video streaming

Video streaming via HTML5 "sort of" works, it really depends on the codec used. An embedded VLC player is also available with better codec support. This looks like the best we can get until Kodi supports transcoding.

Contributing

If you would like to make this project better I would appreciate any help.

Translations

I only know English so definitely need help with this.
I also don't know heaps about javascript multilingual stuff but thanks to @mizaki we have a structure ready to go. So it should be nice and easy to translate the UI.

At the moment, there is 3 languages (english,french,german) more can be easily added. To contribute, send me a PR on a new branch, or if you don't know git, a link to the language file.

Language Files here. English is the only real complete translation file so start with that as your base.

Compiling

Sass and Grunt are used to compile css and js in the dist folder. To get your environment setup first install Bundler and npm.

  • Install required gems with bundle install
  • Install NodeJs packages with npm install
  • Run grunt grunt

Build

A build will also include translation files.

  • Run grunt grunt build

About

Version 2 of chorus, complete re-write, still in development, Considered pre-release and many things might change before first release....

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.3%
  • CoffeeScript 7.7%
  • CSS 3.4%
  • HTML 1.5%
  • Other 0.1%