I can explain the problem, I can even pinpoint where the problem is (in the HTML), but I cannot figure out how to fix this... so, here's the bug report.
Problem: when I share an audio track, the "share page" does not display the album artwork, for example here: http://johnfoliot.subsonic.org/share/KfkiA
When I look at the source code for that page, I can see the path to the 500px image, but I believe that is where the problem lies. On the linked page I just provided, the path to the album artwork is declared as:
- Code: Select all
image: "coverArt.view?size=500&pathUtf8Hex=5c5c5448454e45574c4942524152595c5075626c69635c536861726564204d757369635c426c7565735c4b656e6e79205761796e652053686570686572645c2831393937292054726f75626c652049735c284c6f6e672920476f6e652e6d7033",
title: "Everything Is Broken",
I've narrowed it down to the fact that after the size declaration (size=500) there is an html escaped ampersand, like this: "size=500&pathUtf8Hex" - and it is the html-escaped & that is causing the problem, since when I go here:
http://johnfoliot.subsonic.org/coverArt ... 652e6d7033
...I get a 404, but when I remove the amp; (and just leave the actual & in place) then I get the image file, like this:
http://johnfoliot.subsonic.org/coverArt ... 652e6d7033
So... there you go. Like I said, I tried to figure out how to correct this myself, but I cannot find the pathing declaration anywhere (however I am but an HTMl grunt). Hope you can get this fixed and rolled into the next release - or even better post the fix here.
thanks man!
