2018-06-24, 23:15
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
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
* 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
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