Bug 16132 - wrong link to http://127.0.0.1:9000/music//cover.jpg
: wrong link to http://127.0.0.1:9000/music//cover.jpg
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.6.0
: PC Windows XP
: P2 normal (vote)
: 7.6.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-24 04:09 UTC by ehrlacher
Modified: 2011-04-29 16:14 UTC (History)
4 users (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehrlacher 2010-04-24 04:09:50 UTC
In 7.6.0 r30685 once again the link to the default cover art in the web UI is broken.
If there is no cover in database, cover is linked to

http://127.0.0.1:9000/music//cover.jpg

resulting in a "red cross"-picture.
Comment 1 SVN Bot 2010-04-24 16:19:34 UTC
 == Auto-comment from SVN commit #30690 to the slim repo by kdf ==
 == http://svn.slimdevices.com/slim?view=revision&revision=30690 ==

Bug: 16132
Description: (temporary fix) fallback to an id of 0 in the cover art link when there is no itemobj.id to make a proper image link
Comment 2 KDF 2010-04-24 16:22:23 UTC
so the fix should be in 7.5.1 nightlies.  7.6 seems to be non-writeable at the moment, so that will have to wait until it is merged by internal staff.
Comment 3 Michael Herger 2010-04-27 21:00:40 UTC
Kevin - you consider your change a temporary fix. What is missing to make it permanent?
Comment 4 KDF 2010-04-27 21:17:24 UTC
I was thinking the 'proper' fix was to ensure that the itemobj.id would be populated with 0 rather than using the template.  In most other cases, the artwork doesn't use ||0 in the templates. 

I was hoping that I would be able to track down the change that made the template no longer valid, since it has not been altered in a very long time.  If the itemobj is intended to have an unpopulated id then perhaps this fix is the right one.
Comment 5 Michael Herger 2010-04-28 06:48:21 UTC
Andy - should we have an id of 0 in case there's no artwork? Or should the artwork handler take care of this?
Comment 6 Chris Owens 2010-04-29 09:19:26 UTC
The remaining work can be targeted for 7.6.0
Comment 7 SVN Bot 2011-01-17 04:00:33 UTC
 == Auto-comment from SVN commit #31757 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=31757 ==

Fixed Bug: 16132
Description: we don't always have a cover art ID in our data. Fall back to default artwork in those cases.
Comment 8 Paul Chandler 2011-04-29 16:14:16 UTC
I now see the generic album art at: /music/0/cover.jpg
7.6.0 r32376