Missing images (artist/album)

Jamstash is an HTML5 Mini Player for the Subsonic streaming server

Moderator: moderators

Missing images (artist/album)

Postby dsync89 » Sat Oct 20, 2012 4:16 pm

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.
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: Missing images (artist/album)

Postby grumpwagon » Sat Oct 20, 2012 11:41 pm

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.
grumpwagon
 
Posts: 74
Joined: Sun Sep 30, 2012 3:36 am

Re: Missing images (artist/album)

Postby dsync89 » Sun Oct 21, 2012 2:25 am

Yes it is exactly what you had thought, I'm using MusicCabinet. It's too bad that it won't work with these mods.
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: Missing images (artist/album)

Postby hakko » Sun Oct 21, 2012 7:38 am

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.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Missing images (artist/album)

Postby dsync89 » Sun Oct 21, 2012 2:49 pm

Hi there hakko, I have tested Minisub with latest Music Cabinet but was having the same problem, i.e. images are not loading.

Image
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: Missing images (artist/album)

Postby maxxh » Sun Oct 21, 2012 4:23 pm

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.
maxxh
 
Posts: 21
Joined: Sat Apr 16, 2011 9:22 pm
Location: Austria

Re: Missing images (artist/album)

Postby hakko » Sun Oct 21, 2012 4:33 pm

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"/>
...
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Missing images (artist/album)

Postby tsquillario » Mon Oct 22, 2012 1:11 pm

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.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Missing images (artist/album)

Postby dsync89 » Mon Oct 22, 2012 1:43 pm

Hope to see this problem resolved in the next update. :)
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am


Return to Jamstash (formerly MiniSub)

Who is online

Users browsing this forum: No registered users and 0 guests