Coder Social home page Coder Social logo

chorus2's Introduction

Kodi Web Interface - Chorus2

The default Web Interface for Kodi.

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. Still considered beta software, expect bugs, changes, nuclear war, etc.

Getting it working

As of Kodi v17, Chorus2 comes pre-installed out of the box, you just need to enable it and tick a few boxes.

Enabling & Configuring

Kodi > Settings (cog) > Services > Control

  • Enable "Allow control of Kodi via HTTP"
  • Select Web interface
  • Select "Kodi web interface - Chorus2"
  • Enable "Allow programs on this system to control Kodi"
  • Enable "Allow programs on other systems to control Kodi"

For security reasons you should set a username and password to prevent unauthorized access

Manual install

For Kodi v16 and below or if you want to get the latest version ASAP, an install via zip is the easiest way to go. Grab the latest release of webinterface.default.2.X.X.zip from the releases page then install it like this. NOTE: Chorus2 is intended to be used with the latest version of Kodi and some (or all) things might not work in older versions due to API changes.

Using it

Point your web browser to http://localhost:8080 - replace localhost with your IP address if using remotely and if you have changed your port to something other than 8080 be sure to change that too. More information and advanced usage can be found over on the Kodi Wiki page.

Feature requests / Bugs

Add them to the list. For bugs please include Kodi version, Web browser version, Chorus version and any errors that display in the console. For feature requests, checkout the API browser to see if your request is currently possible.

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. Chrome users: Chrome has removed support for vlc/divx plugins so streaming a video requires a Chrome friendly codec. For best results use Chrome with mp4 video that has 2 channel audio (5.1 audio doesn't seem to work).

Kodi settings via the web interface

You can change most of the settings you would find in Kodi via the settings page in the web interface. Some settings have been omitted as they require interaction with the GUI and others are just a basic text field with no options.

Kodi API browser

There is a hidden feature in Chorus that allows you to play with the Kodi API and see what is capable via the JSON-RPC interface. If you are building an app or addon that uses the API this can be super useful for both finding and testing all the methods and types available. If you are thinking about a new feature for Chorus, this is also a great place to test if it is possible (and fast track development by adding a working example to an issue). You can find the API browser via "Chorus Lab" (bottom right 3 vertical dots > "The Lab") or directly via http://localhost:8080/#lab/api-browser.

Contributing

If you would like to make this project better I would appreciate any help. There is a develop branch for each version of Kodi. Please do pull requests against the dev branch for the correct version (even better if you can do a PR for both). Leia (v18) dev branch is 18.x-dev, Krypton (v17) dev branch is 17.x-dev. See the developers documentation for information about getting a dev environment up and running then compiling the project using docker.

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 are a handful of languages available but more can be easily added. More strings are always being added so always consider english as the source of truth.

So if you see something in english but want it in your language, I need you! To contribute, send me a PR on a new branch against 18.x-dev and/or 17.x-dev, 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.

Donate

Are you a fan of Chorus? You can buy Jeremy a beer to say thanks :)

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Click here for more information .

Screenshots

Homepage (now playing)

alt text

Search results

alt text

Artists

alt text

alt text

Video library

alt text

Filtering

alt text

Settings

alt text

Add-ons

alt text

Editing media

alt text

chorus2's People

Contributors

alwinesch avatar bcs78 avatar cvh avatar cypresslin avatar driet avatar enen92 avatar etharr avatar framirezl avatar gade01 avatar jairbubbles avatar jez500 avatar jose1711 avatar kasperzutterman avatar kwirk avatar lubikr avatar malard avatar martijnkaijser avatar misterj3012 avatar mizaki avatar quthla avatar razzeee avatar rechi avatar rubo77 avatar sirloinofbeef avatar stephenwithav avatar tim-yao avatar tintamarre avatar un1versal avatar weblate avatar zapata11 avatar

Stargazers

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

Watchers

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

chorus2's Issues

Cleanup on stop

Once Kodi stops playing the previous fanart, thumbnail and duration are still displayed.

Sort albums by date added

(I'm not sure if you're accepting feature requests yet - if that's not the case, please close this issue, and accept my apologies for the annoyance!)

It'd be very useful to be able to sort albums (e.g. /#music/albums) by date added. The "Recently Added" view only shows the ~20 most recently added albums, which isn't very helpful in a lot of cases, especially when you add a lot of new music in a short space of time.

Feature request: Bigger remote buttons

Well, even though development seems to be slow, Ill ask for this.

The remote control part is fantastic but...Can you make

  • Remote buttons be bigger (navigation stuffs)
  • Ability to activate OSD (Press i since 2.0.10)
  • Take screenshot of actual Kodi screen and maybe even auto upload it to some imageshare site

Video/Stream not working

Hi ,

I tried several files (large or small) MKV or AVI and the stream function does not kick in.
I also tried the three options ๐Ÿ‘
html 5
or Vlc (the plugin starts to lad but the file never starts)
or divx 5

Test run with Firefox last release and chrome (windows 7x64 and kodi 14.2 under windows 7x64)
PS : note that under chrome, plugins for VLC don t load up

Retry websocket on close

At the moment if the socket closes it reverts to polling. Sometimes it's just a momentary blip and retrying the websocket would be better. In AWXi I do the following:
if pong && error < 4
error++
retry websocket
else
polling

Live TV and Radio click/EPG

Clicking the channel (not the play button) takes you to #. Missing EPG page I would presume?

Mentioning EPG would it be better to have PVR as a subsection with "Channels" and "EPG"?

Music
SECTIONS
Recent
Artists
Albums
DIGITAL RADIO
Channels
Guide

SSL reverse proxy support ?

  Notifications.prototype.getConnection = function() {
      var host, socketHost, socketPath, socketPort;
      host = config.get('static', 'socketsHost');
      socketPath = config.get('static', 'jsonRpcEndpoint');
      socketPort = config.get('static', 'socketsPort');
      socketHost = host === 'auto' ? location.hostname : host;
      return "ws://" + socketHost + ":" + socketPort + "/" + socketPath + "?kodi";
    };

should be updated to support ssl reverse proxy support
Look at this:
jez500/chorus#120 (comment)

Thanks

Bug: Starting playback of any item when source on NAS is off should return a warning.

Currently if you tell chorus2 to start playing an Album in your library while Kodi is turned on but the source/location of the item is turned off or unavailable,

Kodi says OK Ill play that and it will show in case of music the album cover with time and everything but of course nothing else happens the player actauly opens you see Kodi getting ready but...

18:11:53 T:140288267093952   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
18:11:53 T:140287003301632   DEBUG: webserver: request received for /jsonrpc?Collection
18:11:53 T:140286785222400   DEBUG: webserver: request received for /jsonrpc?Base
18:11:53 T:140288267093952   DEBUG: CAnnouncementManager - Announcement: OnDPMSDeactivated from xbmc
18:11:53 T:140288267093952   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnDPMSDeactivated
18:11:53 T:140288267093952   DEBUG: RecreateWindow - current output: HDMI-0, mode: 0x1e6, refresh: 60.000
18:11:53 T:140288267093952   DEBUG: OnLostDevice - notify display change event
18:11:54 T:140288267093952   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-x86_64-linux.so)
18:11:54 T:140288267093952   DEBUG: Loading: /usr/lib/kodi/system/ImageLib-x86_64-linux.so
18:11:54 T:140288267093952   DEBUG: CWinSystemX11::RefreshGlxContext: refreshing context
18:11:54 T:140287886345984   DEBUG: CActiveAE - display reset event
18:11:54 T:140287877953280    INFO: CActiveAESink::OpenSink - initialize sink
18:11:54 T:140287877953280   DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:hdmi:CARD=NVidia,DEV=1
18:11:54 T:140287877953280    INFO: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=NVidia,DEV=1"
18:11:54 T:140287877953280    INFO: CAESinkALSA::Initialize - Opened device "hdmi:CARD=NVidia,DEV=1,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
18:11:54 T:140287877953280    INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
18:11:54 T:140287877953280    INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE
18:11:54 T:140287877953280   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 680, bufferSize 2720
18:11:54 T:140288267093952    INFO: GL: Maximum texture width: 16384
18:11:54 T:140288267093952   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
18:11:54 T:140288267093952    INFO: DPMS: disabled power-saving
18:11:54 T:140288267093952   DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc
18:11:54 T:140288267093952   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverDeactivated
18:11:54 T:140288267093952   DEBUG: Loading settings for musicdb://songs/4785.mp3?albumid=194
18:11:54 T:140288267093952   DEBUG: CPlayerCoreFactory::GetPlayers(musicdb://songs/4785.mp3?albumid=194)
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
18:11:54 T:140288267093952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
18:11:54 T:140288267093952   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
18:11:54 T:140288267093952   DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (3)
18:11:54 T:140288267093952   DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
18:11:54 T:140288267093952   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
18:11:54 T:140288267093952   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
18:11:54 T:140288267093952   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
18:11:54 T:140288267093952   DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
18:11:54 T:140288267093952   DEBUG: PlayFile: OpenFile succeed, play state 1
18:11:54 T:140286231566080  NOTICE: Thread PAPlayer start, auto delete: false
18:11:54 T:140286231566080   DEBUG: PAPlayer::Process - Playback started
18:11:54 T:140288267093952   DEBUG: ADDON: Dll Initializing - Shadertoy
18:11:54 T:140288267093952   DEBUG: SECTION:LoadDLL(/usr/lib/kodi/addons/visualization.shadertoy/visualization.shadertoy.so)
18:11:54 T:140288267093952   DEBUG: Loading: /usr/lib/kodi/addons/visualization.shadertoy/visualization.shadertoy.so
18:11:54 T:140286785222400   DEBUG: webserver: request received for /jsonrpc?Base
18:11:54 T:140287877953280   DEBUG: Previous line repeats 1 times.
18:11:54 T:140287877953280   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 544, bufferSize 2720
18:11:54 T:140287877953280   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 62 ms
18:11:54 T:140288267093952   DEBUG: Calling TransferSettings for: Shadertoy
18:11:54 T:140288267093952   DEBUG: Visualisation::Start()
18:11:54 T:140288267093952    INFO: GL: Enabling VSYNC
18:11:54 T:140287877953280   DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 6 Output Channel Count: 6
18:11:54 T:140287877953280   DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR,FC,LFE,SL,SR
18:11:54 T:140287877953280   DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR,SL,SR,FC,LFE (ALSA: FL FR RL RR FC LFE)
18:11:54 T:140287877953280   DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
18:11:54 T:140287877953280   DEBUG:   Output Device : HDA NVidia
18:11:54 T:140287877953280   DEBUG:   Sample Rate   : 44100
18:11:54 T:140287877953280   DEBUG:   Sample Format : AE_FMT_S32NE
18:11:54 T:140287877953280   DEBUG:   Channel Count : 6
18:11:54 T:140287877953280   DEBUG:   Channel Layout: FL,FR,SL,SR,FC,LFE
18:11:54 T:140287877953280   DEBUG:   Frames        : 544
18:11:54 T:140287877953280   DEBUG:   Frame Samples : 3264
18:11:54 T:140287877953280   DEBUG:   Frame Size    : 24
18:11:54 T:140287886345984   DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
18:11:54 T:140288267093952    INFO: GL: Selected vsync mode 6
18:11:54 T:140287003301632   DEBUG: webserver: request received for /jsonrpc?Base
18:11:54 T:140288267093952   DEBUG: ------ Window Deinit () ------
18:11:54 T:140287003301632   DEBUG: webserver: request received for /themes/base/images/row-playing-white.gif?1423213071
18:12:03 T:140286239958784   DEBUG: CSMBFile::Open - opened Volume_2/MUSIC/Mark Ronson - Uptown Special/02. Summer Breaking  - Mark Ronson feat. Kevin Parker.mp3, fd=-1
18:12:03 T:140286239958784    INFO: SMBFile->Open: Unable to open file : 'smb://NAS2/Volume_2/MUSIC/Mark%20Ronson%20-%20Uptown%20Special/02.%20Summer%20Breaking%20%20-%20Mark%20Ronson%20feat.%20Kevin%20Parker.mp3'
                                            unix_err:'71' error : 'No route to host'
18:12:03 T:140286239958784   ERROR: Init: Error opening file musicdb://songs/4785.mp3?albumid=194

chorus2 should handle this better, since if I try to do this directly in kodi nothing happens and I get an error pop up Ill blame the Web interface.

[Improvement] Listing of songs in a album grow selection on mouseover.

Would be extra nice if when you click on an album and when on mouseover the play, thumbs up and add to queue buttons grew slightly (same as in the active queue)

This would make it easy to see on higher resolution especially when you want to add a song to queue the dammed icons are so tiny.
Examples
capture

capture

also in this view only would benefit from a alternating bg style per song.

icjmj

PVR missing on recent direct route

If you go directly to recent of tv shows or music the PVR is missing in "Sections". I guess it only works on the others as their calls take longer. Just need a change listener trigger when the addon call has completed?

Using Reverse Proxy give 404 on all images

Not sure if this is even something that can be fixed but with Chorus and Chorus2 when I use a reverse proxy in front of the Kodi webserver it will not display any images.
image

When accessing it through the LAN it will give me for example the image
http://htpc/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252fjjBgi2r5cRt36xF6iNUEhzscEcb.jpg%2F'

With the reverse proxy in place the image url would be
http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252fjjBgi2r5cRt36xF6iNUEhzscEcb.jpg%2F'
That would give a 404 error.

kodi-webinterface.js:25687 GET http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252fjjBgi2r5cRt36xF6iNUEhzscEcb.jpg%2F 404 (Not Found)Marionette.Region.Marionette.Object.extend.attachHtml @ kodi-webinterface.js:25687Marionette.Region.Marionette.Object.extend.show @ kodi-webinterface.js:25608(anonymous function) @ kodi-webinterface.js:60167(anonymous function) @ kodi-webinterface.js:50632fire @ kodi-webinterface.js:3119self.fireWith @ kodi-webinterface.js:3231done @ kodi-webinterface.js:9275callback @ kodi-webinterface.js:9685
kodi-webinterface.js:25687 GET http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252f5ttOaThDVmTpV8iragbrhdfxEep.jpg%2F 404 (Not Found)Marionette.Region.Marionette.Object.extend.attachHtml @ kodi-webinterface.js:25687Marionette.Region.Marionette.Object.extend.show @ kodi-webinterface.js:25608(anonymous function) @ kodi-webinterface.js:60167(anonymous function) @ kodi-webinterface.js:50632fire @ kodi-webinterface.js:3119self.fireWith @ kodi-webinterface.js:3231done @ kodi-webinterface.js:9275callback @ kodi-webinterface.js:9685
kodi-webinterface.js:25687 GET http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252f93Y9BGx8blzmZOPSoivkFfaifqU.jpg%2F 404 (Not Found)Marionette.Region.Marionette.Object.extend.attachHtml @ kodi-webinterface.js:25687Marionette.Region.Marionette.Object.extend.show @ kodi-webinterface.js:25608(anonymous function) @ kodi-webinterface.js:60167(anonymous function) @ kodi-webinterface.js:50632fire @ kodi-webinterface.js:3119self.fireWith @ kodi-webinterface.js:3231done @ kodi-webinterface.js:9275callback @ kodi-webinterface.js:9685
kodi-webinterface.js:25687 GET http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252fD6e8RJf2qUstnfkTslTXNTUAlT.jpg%2F 404 (Not Found)Marionette.Region.Marionette.Object.extend.attachHtml @ kodi-webinterface.js:25687Marionette.Region.Marionette.Object.extend.show @ kodi-webinterface.js:25608(anonymous function) @ kodi-webinterface.js:60167(anonymous function) @ kodi-webinterface.js:50632fire @ kodi-webinterface.js:3119self.fireWith @ kodi-webinterface.js:3231done @ kodi-webinterface.js:9275callback @ kodi-webinterface.js:9685
kodi-webinterface.js:25687 GET http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252fA7HtCxFe7Ms8H7e7o2zawppbuDT.jpg%2F 404 (Not Found)Marionette.Region.Marionette.Object.extend.attachHtml @ kodi-webinterface.js:25687Marionette.Region.Marionette.Object.extend.show @ kodi-webinterface.js:25608(anonymous function) @ kodi-webinterface.js:60167(anonymous function) @ kodi-webinterface.js:50632fire @ kodi-webinterface.js:3119self.fireWith @ kodi-webinterface.js:3231done @ kodi-webinterface.js:9275callback @ kodi-webinterface.js:9685
kodi-webinterface.js:25687 GET http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252ftFOQ4q6JnHcdw58ThL4SzFv37NT.jpg%2F 404 (Not Found)Marionette.Region.Marionette.Object.extend.attachHtml @ kodi-webinterface.js:25687Marionette.Region.Marionette.Object.extend.show @ kodi-webinterface.js:25608(anonymous function) @ kodi-webinterface.js:60167(anonymous function) @ kodi-webinterface.js:50632fire @ kodi-webinterface.js:3119self.fireWith @ kodi-webinterface.js:3231done @ kodi-webinterface.js:9275callback @ kodi-webinterface.js:9685
kodi-webinterface.js:25687 GET http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252fz2sJd1OvAGZLxgjBdSnQoLCfn3M.jpg%2F 404 (Not Found)Marionette.Region.Marionette.Object.extend.attachHtml @ kodi-webinterface.js:25687Marionette.Region.Marionette.Object.extend.show @ kodi-webinterface.js:25608(anonymous function) @ kodi-webinterface.js:60167(anonymous function) @ kodi-webinterface.js:50632fire @ kodi-webinterface.js:3119self.fireWith @ kodi-webinterface.js:3231done @ kodi-webinterface.js:9275callback @ kodi-webinterface.js:9685
kodi-webinterface.js:25687 GET http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252f12n6dEayPtv7CqgbeSkznFQSKzh.jpg%2F 404 (Not Found)Marionette.Region.Marionette.Object.extend.attachHtml @ kodi-webinterface.js:25687Marionette.Region.Marionette.Object.extend.show @ kodi-webinterface.js:25608(anonymous function) @ kodi-webinterface.js:60167(anonymous function) @ kodi-webinterface.js:50632fire @ kodi-webinterface.js:3119self.fireWith @ kodi-webinterface.js:3231done @ kodi-webinterface.js:9275callback @ kodi-webinterface.js:9685
kodi-webinterface.js:25687 GET http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252fq9kL9WW0Uu4AcfTi5iCLcYzBgnm.jpg%2F 404 (Not Found)Marionette.Region.Marionette.Object.extend.attachHtml @ kodi-webinterface.js:25687Marionette.Region.Marionette.Object.extend.show @ kodi-webinterface.js:25608(anonymous function) @ kodi-webinterface.js:60167(anonymous function) @ kodi-webinterface.js:50632fire @ kodi-webinterface.js:3119self.fireWith @ kodi-webinterface.js:3231done @ kodi-webinterface.js:9275callback @ kodi-webinterface.js:9685
kodi-webinterface.js:25687 GET http://htpc.xyz.zyx/image/image%3A%2F%2Fhttp%253a%252f%252fimage.tmdb.org%252ft%252fp%252foriginal%252faAmfIX3TT40zUHGcCKrlOZRKC7u.jpg%2F 404 (Not Found)Marionette.Region.Marionette.Object.extend.attachHtml @ kodi-webinterface.js:25687Marionette.Region.Marionette.Object.extend.show @ kodi-webinterface.js:25608(anonymous function) @ kodi-webinterface.js:60167(anonymous function) @ kodi-webinterface.js:50632fire @ kodi-webinterface.js:3119self.fireWith @ kodi-webinterface.js:3231done @ kodi-webinterface.js:9275callback @ kodi-webinterface.js:9685

Cannot get through initial setup

When starting Chorus2 for the first time, it bails out during setup with the following error:

TypeError: null is not an object (evaluating 'JSON.parse(localStorage.getItem('config:app-config:local')).data')

or in Chrome:

Uncaught TypeError: Cannot read property 'data' of null

I assume this is due to the local storage still not having been created, and for that to happen I probably need to get through the setup? This is rather a chicken-and-the-egg problem.

Caching of media library

I've been considering how to keep an offline cache of the library and keep it synced when connected. It used to be if a movie was "refreshed" it was removed and added again with the updated info (with a new ID). This is no longer the case. It may be that we have to except in those cases we can not know (from a general sense) that this has happened.

As far as knowing new media has been added I should think it's as simple as checking the limits and then checking the last ID against the cache.

One of my worries has been about cache size (indexDB etc.) have a limited size (or not, bit of a mess). jez500 have you had any dealings with large local storage?

Kodi/Local for shows : no difference

Hi ,

If I go and select a show episode, whatever I choose local or kodi, the episode will be played on the kodi.
As far as it seems that local for video does not work great, maybe to remove it ?

Search is broken v2.0.10

  1. Searching for something automatically searches in all categories, cant be stopped

  2. if you search for something that doesnt exist, the search just keeps going for what seem forever. half hour later still going, 1 hour later going for gold, 2 hours later I realized this is very likely also broken.

Bug one is new, the other not.

Time error

Played a podcast of 1 hour and 25 seconds which displayed as 1:025. I'm guessing a missing colon and a zero.

Feature request - Stop scanning (video,audio) library

The only thing missing is the label (Stop scanning) to be updated when you start a Video/Audio scan,

capture

How it works (not documented thx wsnipex for tip) You press Scan video/audio library scan start press it again scan should stop. as this is calling the builtins apparently.

missing stop button

Hi ,

When you read a file, you can see pause,backward and forward but no stop button
Can you add that ?
Thanks ,

DeepDish

Remote button blank until mouse over

The remote button is blank which is hard to identify if thers any button whatsover there

Kodi info

Kodi (15.0-BETA2 Git:2015-06-05-0cb3841-dirty). Platform: Linux x86 64-bit
Kodi compiled Jun 5 2015 by GCC 4.8.2 for Linux x86 64-bit version 3.13.11 (199947)
Running on Ubuntu 14.04.2 LTS, kernel: Linux x86 64-bit version 3.13.0-53-generic

Chorus2 version - 1.0.0
Browser Firefox 38.0.5

_No mouseover_
capture

_On mouse over_
untitled

About Chorus

Hi ,

The function does not work...nothing happens when you click on it.
Tested on Firefox and Chrome

Bug or feature? Album/song listing per artist view doesnt align

I tried showing 3 albums for more effect.

capture

If the idea is on purpose so as to avoid confusing which songs belongs to what albums, why not use styles like evrery other Album entry with songs which belong to that album) is shown in a different shade of background.

See
icjmj

Like that not only look different enough per album view everything could look aligned and tidy.

YouTube/History is alphabeticaly sorted, not by 'last seen'

Hi,

When accessing to YouTube history, files are sorted not by last seen (what would I expect), but by name. Is it possible to add button unsorted or add explicit exception do-not-sort-youtube-history?

I think, key rpc query is:

{"jsonrpc":"2.0",
 "method":"Files.GetDirectory",
 "id":"1449044597784",
 "params":[
   "plugin://plugin.video.youtube/channel/mine/playlist/HLLNxxxxxxxxxxxx/",
   "video",
   ["title","file","mimetype","thumbnail"],
   {"method":"label","order":"ascending","ignorearticle":true}
 ]
}

By experimenting, correct order is obtained by:

{"jsonrpc":"2.0",
 "method":"Files.GetDirectory",
 "id":"1449044597784",
 "params":[
   "plugin://plugin.video.youtube/channel/mine/playlist/HLLNxxxxxxxxx/",
   "video",
   ["title","file","mimetype","thumbnail"],
   {}
 ]
}

[Feature] Playing Kodi-side playlists

I searched for this feature in Chorus 1, but it seems not to be supported, so i make a feature suggestion for Chorus 2:
When selecting "Playlists" in the Web UI, the playlists which are saved on the Kodi host system should be displayed - asides to the local browser-based playlists. These playlist should be playable by kodi itself. The lists would be global for all users of the web interface.

Save filters

Store the filters (unwatched etc.) so they are remembered between sessions and sections.

Option to disable this in settings?

can't install on kodi 15.2

Remove this line from addon.xml to get the zip file to install on Kodi 15.2
<extension point="xbmc.gui.webinterface"/>

Power option in remote

In Chorus 1 you press the power button in remote and you get a pop up with some options. You select the option you want and presto.

In Chorus 2 You press the power button and Kodi immediately exits a message (Kodi has quit) is displayed in Chorus 2.

I also have a suggestion regarding system messages. Atm they are displayed on the bottom right corner, if you blink you miss them. (I suppose this mimics some system notification in tray)

It would be better perhaps to use a position people expect messages to pop up like center of the window in some sort of box that indicates "Hello Im a system message"

Else make the message in a box pop up where it currently is just give it some more prominence within the window so its not easily missed.

Thumbs up for tv series.

First off i would like to say i really like this Web interface, and it's by far the best one around!.

I used chorus 1 for a long time and i really liked the options to give thumbs up to tv series.
In Chorus 2 i can give a movie a thumb up but i don't have this option when checking my series.

Thanks for this awesome interface!

Kind regards,
Mark

Feature Request: Set JSON Enabled Settings from Chrous

Many settings (all?) within Kodi can be set by JSON call, could we have a "Kodi Admin" style interface within Chorus to allow remote-administration of Kodi ?

Use case is i managed 7 Kodi Installs all over the UK for various family members, but they aren't techies, i SSH in to admin a lot of the time but exposing the settings menu through a nice web interface would make my life so much easier!

Many Thanks for your consideration

Sections bar

This uses a lot of white space (mostly), my idea is to make it a vertical and have the Sections, Filter, Sort, etc. dropdown (over the content) to make better use of the space.

Add a 'lost connection to Kodi' message/indicator

just a suggestion : As you know, I use a kodi test on a VM.
It is quite interesting that if there s a problem on the central Kodi (for instance, I did not set the password properly to access to the music db)
Therefore, I could try to click and access one of the track and nothing was coming up and nothing was reporting to the chorus interface.
Maybe a warning could be welcome
food for thoughts

Cast calling

Calling the Cast property is very expensive and should be avoided (along with streamdetails) unless explicitly used. For example only when viewing episode details. Returning all TV show even on an i750 that I use for Kodi takes 8.58s with 262 shows.

Can argue about cache hitting but lower powered (Pi) are going to timeout. :)

Pressing play no longer works in nightly Kodi versions

This is a Kodi core issue as the default web interface is also affected.

Im reporting this here as well with the faint hope you could help or already know whats causing it... It affects even the default webinterface as mentioned but Im not using that though it was tested just to make sure it wasnt the addon but core.

Bug report http://trac.kodi.tv/ticket/16129

Thers nothing in web console at all.

Chorus2 wont load any content.

Copied dist folder to addons folder and rename it webinterface.kodi, webiinterface loads but dont get any content loading from Kodi navigating around chrous2 just doesnt seem to display anything but the interface itself.

It shows the loading animation or no animation whatsoever no matter how long you leave it for.
No matter what category your in no content ever loads.

Kodi info

Kodi (15.0-BETA2 Git:2015-06-05-0cb3841-dirty). Platform: Linux x86 64-bit
Kodi compiled Jun 5 2015 by GCC 4.8.2 for Linux x86 64-bit version 3.13.11 (199947)
Running on Ubuntu 14.04.2 LTS, kernel: Linux x86 64-bit version 3.13.0-53-generic

Chorus2 version - 1.0.0
Browser Firefox 38.0.5

Console log shows a great deal of errors.
http://pastebin.com/raw.php?i=CmyWpD4x

So clearly either this doesnt support Firefox or something is is seriously wrong.

splash
splash1
splash2
splash3

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.