Page 1 of 1

Missing images (artist/album)

PostPosted: Sat Oct 20, 2012 4:16 pm
by dsync89
First of all, thanks for this mod. The overall user interface is really nice and a big plus for the HTML5 support.

Currently all my music stream just fine, but for somewhat unknown reason the images for both artist, albums, or any other images does not seem to load. Hope to find a solution here.

Re: Missing images (artist/album)

PostPosted: Sat Oct 20, 2012 11:41 pm
by grumpwagon
Do you use another mod (like Music Cabinet or Madsonic)? Images load for me fine on my stock server, but on my test MusicCabinet server, they do not load. I imagine the devs of the MC/MS mod have changed some things so that loading the images happens in a different way.

If that's not it, I don't know.

Re: Missing images (artist/album)

PostPosted: Sun Oct 21, 2012 2:25 am
by dsync89
Yes it is exactly what you had thought, I'm using MusicCabinet. It's too bad that it won't work with these mods.

Re: Missing images (artist/album)

PostPosted: Sun Oct 21, 2012 7:38 am
by hakko
How does MiniSub load album images? Since it uses the REST API, I'd expect it to work like any of the apps, and I've verified that cover images (embedded artwork / cover.jpg etc) gets displayed in iSub. So I would expect it to be shown in MiniSub too.

MusicCabinet also uses the approach of displaying last.fm artwork, both for artists and albums, in the default web interface. Those images won't show up in apps, as it is an addition to the default Subsonic behavior and therefore is hard to squeal into the REST API which is designed for just plain Subsonic.

Re: Missing images (artist/album)

PostPosted: Sun Oct 21, 2012 2:49 pm
by dsync89
Hi there hakko, I have tested Minisub with latest Music Cabinet but was having the same problem, i.e. images are not loading.

Image

Re: Missing images (artist/album)

PostPosted: Sun Oct 21, 2012 4:23 pm
by maxxh
It looks like the problem has something to do with authentication.

MiniSub does not send the username and password Parameter with the getCoverArt REST request.

Re: Missing images (artist/album)

PostPosted: Sun Oct 21, 2012 4:33 pm
by hakko
I don't know if this makes sense to anyone, but the random albums view returned via the REST API does contain a cover art id. However, it's still in Subsonic 4.6 style with a hex id that is the full path to the cover art. Could that be a problem for MiniSub?

Example:

localhost:31116/rest/getAlbumList.view?u=admin&p=********&c=minisub&v=1.7.0&type=random

Code: Select all
<subsonic-response status="ok" version="1.7.0">
<albumList>
<album id="-1454" parent="230" title="The Seer" album="The Seer" artist="Swans" isDir="true" coverArt="2f566f6c756d6573[hex path to cover art]" created="2012-10-21T18:24:18" userRating="0" averageRating="0"/>
...

Re: Missing images (artist/album)

PostPosted: Mon Oct 22, 2012 1:11 pm
by tsquillario
maxxh wrote:It looks like the problem has something to do with authentication.

MiniSub does not send the username and password Parameter with the getCoverArt REST request.


I'll take a look at this, you are correct I do not send the username/password for images. I'll force it to do this next update.

Re: Missing images (artist/album)

PostPosted: Mon Oct 22, 2012 1:43 pm
by dsync89
Hope to see this problem resolved in the next update. :)