v18 Leia / alpha2 - Browsing music library via default Web Interface: no songs listed
#1
Testing the latest Leia/v18 nightly (should be alpha 2).  Ubuntu 18.04LTS, from the Ubuntu nightly PPA

This is with an external MySQL database, media stored in an NFS share.

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.
There seems to be a JSON problem. Maybe the API changed and the web interface is not updated?
I also noticed that Kodi's official Android app and other Kodi apps show a similar problem: albums are listed, but songs are not.

Not sure this is the right place to report this but thought I'd start here. Maybe this is a known issue or due to leia being under heavy development.
Thanks!



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


* 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
Quote:Maybe the API changed and the web interface is not updated?
Yes, that is exactly it. Chorus 2 needs updating to match the breaking changes to the JSON API made back in November.

Best place for feedback about Chorus 2 is https://forum.kodi.tv/forumdisplay.php?fid=156
Reply
#3
(2018-06-24, 00:55)DaveBlake Wrote:
Quote:Maybe the API changed and the web interface is not updated?
Yes, that is exactly it. Chorus 2 needs updating to match the breaking changes to the JSON API made back in November.

Best place for feedback about Chorus 2 is https://forum.kodi.tv/forumdisplay.php?fid=156 
Thanks - will try and see if this was reported and if not, will re-post there
Reply



Logout Mark Read Team Forum Stats Members Help
Leia / alpha2 - Browsing music library via default Web Interface: no songs listed0
This forum uses Lukasz Tkacz MyBB addons.