Bug 17355 - Some cover art not appearing when using WMA lossless format
: Some cover art not appearing when using WMA lossless format
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Artwork
: 7.6.0
: PC Windows Home Server
: P2 major with 1 vote (vote)
: 7.6.1
Assigned To: Andy Grundman
: Audio::Scan
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-27 12:23 UTC by rahokie
Modified: 2011-08-06 10:52 UTC (History)
4 users (show)

See Also:
Category: ---


Attachments
Scanner logfile with debug options turned on. (7.83 KB, text/plain)
2011-07-29 05:15 UTC, rahokie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rahokie 2011-07-27 12:23:08 UTC
I upgraded to 7.6.0, and found approximately 20% of my album covers were not showing up in the server web interfaces.  All of the cover art appeared properly before this time.

I am running WHS and embed the artwork into each wma lossless track using Mp3tag ID3v2.3 UFT-16.  As an example, I have two albums, one "Volume One" and the other "Volume Two".  I am sure I processed both of these albums with the same workflow.  Volume One artwork shows up, and Volume Two does not.

I will attach one track from each album in hopes you can duplicate and determine the root cause.
Comment 1 rahokie 2011-07-27 12:56:17 UTC
Okay, I tried two times to upload my testcase.  Since the two tracks total 50MB, it appears the system won't allow me to upload.

I have posted the testcase at the following public location:
http://dl.dropbox.com/u/5213273/Shared/Test%20Squeeze.zip
Comment 2 Michael Herger 2011-07-29 03:09:55 UTC
Did the scan finish successfully? Is this reproducible with those two files?

Please set logging level for scan.* options to debug (Settings/Advanced/Logging) and re-run a scan with the latest nightly build. Then upload the full scanner.log file. Thanks!
Comment 3 rahokie 2011-07-29 05:15:40 UTC
Created attachment 7356 [details]
Scanner logfile with debug options turned on.
Comment 4 rahokie 2011-07-29 05:20:08 UTC
I installed v7.6.1-r32929 and ran a scan with the clear+rescan settings and debug logging options turned on.  Same results for the two files referenced.  Volume 1 artwork appears, Volume 2 album artwork is missing.

Please let me know if you can reproduce on your end.
Comment 5 Michael Herger 2011-07-29 07:18:08 UTC
As these are lossless WMA I assume you've been using WMP to rip them. I just fixed an issue where SBS would not find WMP downloaded artwork. This should be fixed in the 7.6.1/r32932 or later build. Could you please give it a try?

http://downloads.slimdevices.com/nightly/?ver=7.6
Comment 6 rahokie 2011-07-29 08:38:49 UTC
I am using Easy CD-DA Extractor to rip my WMA files, not WMP.  And now that I think about it, I may have embedded the artwork using that program as well (instead of Mp3tag).

I downloaded 7.6.1/r32935, and the results are the same (artwork shows up for Volume1, missing on Volume2).

Could you please download my files and let me know if you can reproduce my results on your end?
Comment 7 Michael Herger 2011-07-29 08:47:18 UTC
Andy - scanner fails to read the embedded artwork data: 

[11-07-29 17:45:08.3521] Slim::Utils::ImageResizer::sync_resize (136) Error resizing /Users/mh/Music/test/17355/Test Squeeze/Various - Turn Up The Radio Hits Volume #2/01. Concert Of The Age.wma: Can't resize unknown type, magic: "\2\3\3\3\3\4\3\3"
Comment 8 Andy Grundman 2011-07-29 09:12:34 UTC
Is this a dupe of bug 16664?
Comment 9 Michael Herger 2011-08-02 23:33:17 UTC
*** Bug 17376 has been marked as a duplicate of this bug. ***
Comment 10 Michael Herger 2011-08-02 23:33:39 UTC
from bug 17376:

7.6.1 r32935 was supposed to resolve the lack of artwork showing for WMA files
however the problem still remains for many albums.

The problem seems to occur (and is repeatable) as follows :
1.  Artwork is embedded and no folder.jpg exists - no album art shown.
2.  Artwork is embedded and folder.jpg exists - no album art shown.
3.  Artwork is not embedded and folder.jpg exists - album art is shown.
4.  Artwork is not embedded and no folder.jpg exists - no album art shown (as
expected).

So as you can see the inclusion of album art in a wma file causes SB Server not
to display the artwork irrespevtive of whether an artwork file is present.
Comment 11 Michael Herger 2011-08-03 05:47:20 UTC
*** Bug 17396 has been marked as a duplicate of this bug. ***
Comment 12 Michael Herger 2011-08-03 05:51:28 UTC
*** Bug 16664 has been marked as a duplicate of this bug. ***
Comment 13 Andy Grundman 2011-08-03 07:42:51 UTC
Yeah, here is the technical issue: the first file has the WM/Picture tag in the Extended Content Description block, while the second one has it in the Header Extension/Metadata Library block. The image offset calculation is buggy for the second case.
Comment 14 SVN Bot 2011-08-03 09:04:30 UTC
 == Auto-comment from SVN commit #869 to the opensource repo by agrundman ==
 == http://svn.slimdevices.com/opensource?view=revision&revision=869 ==

Fixed bug 17355, fixed WM/Picture offset calculation when artwork is stored in the Header Extension/Metadata Library block
Comment 15 Andy Grundman 2011-08-03 09:05:42 UTC
Please note this won't be part of a build until I look at some other Audio::Scan bugs and check in new binaries.
Comment 16 Andy Grundman 2011-08-03 13:57:55 UTC
Please test with 7.6.1 build 32962 or later.
Comment 17 rahokie 2011-08-04 06:04:03 UTC
Downloaded and installed 7.6.1 build 32962 and all my artwork is back again.  Thanks for the fix!
Comment 18 Simon 2011-08-05 15:29:33 UTC
Fixed for me too.
Comment 19 Andreas 2011-08-06 10:52:05 UTC
Thanks for the fix!