Page 1 of 1

ERRORS: Failed to Create Thumbnail

PostPosted: Sun Apr 24, 2011 12:35 pm
by lny98
Problem Description: Subsonic.log is filled error messages regarding cover art and thumbnail generation. This basically makes the file unusable for tracking actual usage. I have over 200,000 songs in library, and would be unable to fix the cover art issue, which seems to affect the majority of them.

Questions: Can this (ie: coverart/thumbnail) generation be suppressed? Can this be fixed to just show a blank or default thumbnail/cover (and the error surpressed), since cover art is not really a critical part of what this amazing software does? (any more than showing lyrics)?

Thanks in advance!

Version. 4.4 Server: jetty-6.1.x,java 1.6.0_24, Windows 2003

Typical Error:
[2011-04-23 22:59:09,468] WARN CoverArtController - Failed to create thumbnail for q:\musicLib\VariousArtists\Various Artists - 70's\The Number One 70's Album (2 CD)\CD1\01 - Abba - Take A Chance On Me.mp3
java.lang.NullPointerException
at java.io.ByteArrayInputStream.<init>(Unknown Source)
at net.sourceforge.subsonic.controller.CoverArtController.getImageInputStream(CoverArtController.java:172)
at net.sourceforge.subsonic.controller.CoverArtController.getCachedImage(CoverArtController.java:139)
at net.sourceforge.subsonic.controller.CoverArtController.handleRequest(CoverArtController.java:93)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

PostPosted: Sun Apr 24, 2011 7:30 pm
by 3R3
In the webUI, logged in as admin look under settings tab > general and remove any file extensions or filenames from the "cover art mask" field. That should make SS unable to find any matching covers/filenames, thus theoretically only showing default covers.

Just tested it and it ofc works :)

thanks

PostPosted: Mon Apr 25, 2011 1:16 am
by lny98
I'll give it a try...

cover art...

PostPosted: Thu May 19, 2011 2:10 pm
by lny98
still doesn't work after changing file mask... problem is it's getting it from inside mp3s (tag data).

Re: ERRORS: Failed to Create Thumbnail

PostPosted: Thu May 10, 2012 3:43 pm
by chongopants
Just moved from linux to win7 (not my choice its a peice of sh*t)
However, now I get NO coverart anywhere. Is this is a bug? Vanilla install of win7 and subsonic. Also increased memory and restarted, no change.


/10/12 10:37:10 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:37:40 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:37:50 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:38:00 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:38:10 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:38:20 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:38:30 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:38:40 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:38:50 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:39:00 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:39:10 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:39:20 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:39:30 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:39:40 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:39:50 AM CDT] WARN CoverArtController Failed to create thumbnail for E:\Music\Ronald Jenkees - Ronald Jenkees (V0)\cover.jpg
[5/10/12 10:39:55 AM CDT] WARN Cove

Re:

PostPosted: Thu May 10, 2012 3:44 pm
by chongopants
3R3 wrote:In the webUI, logged in as admin look under settings tab > general and remove any file extensions or filenames from the "cover art mask" field. That should make SS unable to find any matching covers/filenames, thus theoretically only showing default covers.

Just tested it and it ofc works :)



Also, this does nothing at all... just fyi

Re: ERRORS: Failed to Create Thumbnail

PostPosted: Thu May 10, 2012 3:58 pm
by bushman4
If you are using Internet Explorer 9, you must hit the Compatibility Mode button for cover art to display correctly.

Works fine in Chrome and other browser, AFAIK.

HTH,

Glenn

Re: ERRORS: Failed to Create Thumbnail

PostPosted: Thu May 10, 2012 3:59 pm
by bushman4
It also sounds like the user account the Subsonic Server is running as does not have full access to the c:\Subsonic folder and its subfolders.

Glenn