v18 Music > Song browsing is broken (songs and album details not listed) in Chorus2
#1
Testing the latest Leia/v18 nightly (should be alpha 2).  Ubuntu 18.04LTS, from the Ubuntu nightly PPA

Basic Music library browsing and playback works fine when using Kodi's GUI. Album, artist, genre and song listing/browsing, all works as well.

Now when using Kodi's web interface I noticed two problems
  • Albums are listed OK, but when clicking on an album, which would normally cause all the album songs to be listed, I get the "spinning wheel" in the browser but the page loading never finishes, the songs are never shown.
  • Genres and artists are listed OK, but when clicking on an artist, which would normally cause all its albums and songs to be listed, again a never ending spinning wheel and nothing is shown


Interesting bits and full logs below.

I reported this initially in the Music section but they diagnosed immediately that the problem is with Chorus2 using an outdated API.

I also opened a github issue for this (link). Chorus2 github seems to be unused (last commit is more than a year old) so I decided to post the details here. Hoping that Kodi's default webinterface is still maintained and this can be fixed



------------------------------------------------


* when clicking on Album id 3889 via web interface:

full debug log: https://filebin.net/gvwhnt8fp0widhga
 
Quote:15:12:25.922 T:140249047422720   DEBUG: CWebServer[8080][IN] X-Requested-With: XMLHttpRequest
15:12:25.922 T:140249047422720   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"AudioLibrary.GetAlbumDetails","id":"1529781145889","params":{"albumid":3889,"properties":["thumbnail","playcount","artistid","artist","genre","albumlabel","year","dateadded","style","fanart","mood","description","genreid","rating","type","theme"]}}
15:12:25.922 T:140249047422720   DEBUG: JSONRPC: Value does not match any of the enum values in type
15:12:25.922 T:140249047422720   DEBUG: JSONRPC: Array element at index 12 does not match in type properties
15:12:25.922 T:140249047422720   DEBUG: CWebServer[8080][OUT] Accept-Ranges: none
15:12:25.922 T:140249047422720   DEBUG: CWebServer[8080][OUT] Cache-Control: private, max-age=0, no-cache
15:12:25.922 T:140249047422720   DEBUG: CWebServer[8080][OUT] Content-Length: 345
15:12:25.922 T:140249047422720   DEBUG: CWebServer[8080][OUT] Content-Type: application/json
15:12:25.922 T:140249047422720   DEBUG: CWebServer[8080][OUT] HTTP/1.1 200 /jsonrpc?Album

* When clicking on an Artist (id 5), it should display albums id 6 and 7, but nothing is shown

full debug log: https://filebin.net/szq9jkz52ozzulp4
 
Quote:15:32:37.576 T:140405085492992   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"AudioLibrary.GetAlbumDetails","id":"1529782357522","params":{"albumid":6,"properties":["thumbnail","playcount","artistid","artist","genre","albumlabel","year","dateadded","style","fanart","mood","description","genreid","rating","type","theme"]}}
15:32:37.576 T:140405056857856   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"AudioLibrary.GetAlbumDetails","id":"1529782357524","params":{"albumid":7,"properties":["thumbnail","playcount","artistid","artist","genre","albumlabel","year","dateadded","style","fanart","mood","description","genreid","rating","type","theme"]}}
15:32:37.577 T:140405085492992   DEBUG: JSONRPC: Value does not match any of the enum values in type
15:32:37.577 T:140405085492992   DEBUG: Previous line repeats 1 times.
15:32:37.577 T:140405085492992   DEBUG: JSONRPC: Array element at index 12 does not match in type properties
15:32:37.577 T:140405056857856   DEBUG: Previous line repeats 1 times.
15:32:37.577 T:140405056857856   DEBUG: CWebServer[8080][OUT] Accept-Ranges: none
15:32:37.577 T:140405056857856   DEBUG: Previous line repeats 1 times.
15:32:37.577 T:140405056857856   DEBUG: CWebServer[8080][OUT] Cache-Control: private, max-age=0, no-cache
15:32:37.577 T:140405056857856   DEBUG: Previous line repeats 1 times.
15:32:37.577 T:140405056857856   DEBUG: CWebServer[8080][OUT] Content-Length: 345
Reply
#2
FWIW, I am seeing the same problems. The web UI music browser is seriously broken. It's pretty much unusable.

(1) If I try to browse an album (e.g., #music/album/1) I see the "Just a sec..." message in the web browser and nothing happens.
Quote:18:00:52.685 T:140060846429952   DEBUG: CWebServer[8080]: request received for /jsonrpc?Album
18:00:52.685 T:140060846429952   DEBUG: JSONRPC: Value does not match any of the enum values in type
18:00:52.685 T:140060846429952   DEBUG: JSONRPC: Array element at index 12 does not match in type properties

(2) If I try to browse via a specific artist, no albums are listed. No graphic for the artist appears. Same errors in the log file.

I could try to debug the JavaScript for Chorus, but it's been minimized. Is there a way to run the full JavaScript source?

Looking at the github repo for Chorus 2, indeed there have been no updates in a long while. I don't find much in the way of documentation, either.

Going forward, what are our options?
Reply
#3
Hi, I have fixed this now 

Grab "webinterface.default.18.x-2.4.5.zip" from: https://github.com/xbmc/chorus2/releases/tag/18.x-2.4.5 to get it working in Leia
Author of Chorus
Reply
#4
Once again big thanks @jez500 for maintaining one of the best Kodi features  - the patched up version works for me
Reply
#5
Just to confirm that the latest Leia nightly (ubuntu/ppa),

Kodi 18.0-BETA1 Git:20180802-8384518

comes with:

   Chorus version2.4.5

And that the web interface issue is now fully fixed. None of the problems mentioned in the OP are present.
Thanks!
Reply
#6
Well I'm afraid that this is not fixed in latest kodi or it's a similar yet another kind of issue.
I've explained this here:
https://forum.kodi.tv/showthread.php?tid=351666
Reply

Logout Mark Read Team Forum Stats Members Help
Music > Song browsing is broken (songs and album details not listed) in Chorus20