Page 1 of 1

REST API: albums empty, but folders populated

Posted: 03 Feb 2017, 20:32
by mbh
Hi,

I'm the developer of the iOS "Subsonic" client play:Sub.

I have been investigating an issue for one of my users running a Madsonic6 server (6.1.8740.e4c6505.20161001.1002).
On this particular server, a lot of albums appear empty when loaded through the REST API (getAlbum.view)...
Album metadata is present, but no song details. For example:

Code: Select all

{
  "subsonic-response": {
    "status": "ok",
    "album": {
      "artistId": "349",
      "artist": "The Smiths",
      "genre": "Alternative",
      "id": "984",
      "coverArt": "al-984",
      "duration": 2792,
      "songCount": 10,
      "playCount": 0,
      "created": "2016-04-27T19:51:33.097Z",
      "name": "Meat is Murder",
      "year": 1985
    },
    "type": "subsonic",
    "version": "1.14.0"
  }
}
Locating the same album through the folder-based API gives song data:

Code: Select all

{
  "subsonic-response": {
    "status": "ok",
    "directory": {
      "child": [
        {
          "suffix": "m4a",
          "bitRate": 256,
          "title": "The Headmaster Ritual",
…
        }
      ],
      "id": "18485",
      "name": "Meat is Murder",
      "playCount": 0,
      "parent": "447"
    },
    "type": "subsonic",
    "version": "1.14.0"
  }
}
I have tried the above using both the Subsonic API exposed by the server (/rest/), and the Madsonic API (/rest2/) - both give the same results.

Is tere any known issues matching the above, or any things I can make the user try ?
Any and all input appreciated.

Thanks,
Michael.

Re: REST API: albums empty, but folders populated

Posted: 06 Feb 2017, 00:43
by daneren2005
I've received several error reports from users of DSub over the last few months as well

Re: REST API: albums empty, but folders populated

Posted: 06 Feb 2017, 20:51
by mbh
Thanks for the info Daneren2005.

Do you see any pattern in which server version(s) are affected?

Michael