Albums disappear after I add cover art

Need help? Post your questions here.

Moderator: moderators

Albums disappear after I add cover art

Postby boognish43 » Fri Jan 31, 2014 6:38 pm

It doesnt happen to all albums but for some reason when I add cover art to some folders the album disappears from existence in subsonic. This happens using the change cover tool in the web browser and also when I add a cover.jpg to the folder manually. any ideas?
boognish43
 
Posts: 66
Joined: Sat Jan 09, 2010 3:13 pm

Re: Albums disappear after I add cover art

Postby faka » Thu Jun 19, 2014 5:53 am

Hey I got the same exact thing happening to me.

I am using 4.8 (build 3434) on a Windows system. I usually use an Android client for home use but today decided to mess with it from work and use the web interface. As I was checking out all the options available I was totally stoked about the download cover option. So I started to add covers for quite a few albums that didn't have any. Later when I went to look at what I added I noticed the albums I added covers for are no longer listed in subsonic. Not just the browser but also the android clients.

In the actual music folder dir the missing albums are still there. I noticed it leaves a cover.jpg in the folders when adding covers, so I decided to delete a few of those jpgs and rescan to see if it finds the missing albums. It is going to take awhile but I will report back if it fixes or not.

Just curious has this happened to anyone else?
faka
 
Posts: 2
Joined: Thu Jun 19, 2014 5:40 am

Re: Albums disappear after I add cover art

Postby faka » Thu Jun 19, 2014 6:15 am

Well rescanning doesn't seem to find the albums even after removing the folder.jpg. Open to any suggestions
faka
 
Posts: 2
Joined: Thu Jun 19, 2014 5:40 am

Re: Albums disappear after I add cover art

Postby boognish43 » Tue Oct 28, 2014 5:17 am

This keeps happening and is very annoying... wish i could find a solution
boognish43
 
Posts: 66
Joined: Sat Jan 09, 2010 3:13 pm

Re: Albums disappear after I add cover art

Postby jefflunt » Wed Nov 12, 2014 4:27 pm

Same happens to me. Using 5.0 (build 4100). If I go to the home page, then back to the artist the album will show up again, but the cover art isn't applied. This is when I try to update the cover art via the "Change" -> image search -> "Image successfully downloaded" route.

All I see in the log is:
Code: Select all
[2014-11-12 09:58:40,027] INFO CoverArtService - Backed up old image file to /home/subsonic/media/music/David Bowie/Earthling/cover.backup.jpg


Obviously substitute the album/artist name with the album in your case.

Tried on multiple artists/albums, including some with and without any spaces or special characters in the name. Ex: /home/subsonic/media/music/Beck/Odelay
No luck here either.

Checked my subsonic config, as well as the running process via ps, and everything looks okay, including folder permissions:

Code: Select all
# ps aux | grep java
subsonic  5854 19.8  4.4 2007860 360092 pts/0  Sl   10:21   0:33 java -Xmx350m -Dsubsonic.home=/var/subsonic -Dsubsonic.host=0.0.0.0 -Dsubsonic.port=4040 -Dsubsonic.httpsPort=0 -Dsubsonic.contextPath=/ -Dsubsonic.defaultMusicFolder=/home/subsonic/media/music -Dsubsonic.defaultPodcastFolder=/home/subsonic/media/podcasts -Dsubsonic.defaultPlaylistFolder=/home/subsonic/media/playlists -Djava.awt.headless=true -verbose:gc -jar subsonic-booter-jar-with-dependencies.jar


Confirmed that the file is actually getting written to disk, as when I download album art via the UI, the cover.jpg file size and timestamp change, so it doesn't appear to be a permission issue.

Yesterday, also tried changing my subsonic config to run as the root user instead of the subsonic user. Confirmed again that the file size and timestamps of the cover.jpg files were being change (except their ownership was being set to root:root), yet still not updating in the UI.

Couldn't get the album art to update, even after:
1. Remove /var/subsonic/thumbs folder
2. Restart subsonic
3. Re-scanned media files

The album still shows up under the text list of albums, even if the thumbnail image isn't working, but defeats the purpose of the cover art feature if it doesn't function.

On the off-chance that subsonic's download wasn't working, or was triggering some kind of image hot-link issue (where it looks like you download an image, but you get an error page instead), I downloaded an album art image by hand, confirmed it was on my local computer, then SCPed it into the destination folder. Still no album art change.
jefflunt
 
Posts: 5
Joined: Wed Nov 12, 2014 3:52 pm

Re: Albums disappear after I add cover art

Postby jefflunt » Wed Nov 12, 2014 4:32 pm

Wait, it looks like this might be a browser caching issue. I can't believe I didn't try this sooner.

When I'm in Chrome (my default browser) I see one set of album images.

When I'm in Firefox (my backup browser, but not used often), I see a different set of album images.

When I clear just the cached image history from Chrome and reload my page, the album covers that I've been downloading over the last few days seem to appear, and the list of album images suddenly matches what I see in Firefox.
jefflunt
 
Posts: 5
Joined: Wed Nov 12, 2014 3:52 pm

Re: Albums disappear after I add cover art

Postby jefflunt » Wed Nov 12, 2014 4:38 pm

Yep, this is totally a caching issue, at least in my case.

When I do everything in Firefox, and I force a reload w/no cache after updating an album image, then everything works as expected.

I wonder if it would be possible to help the browser a bit by changing the URL of the album image each time it's changed, so that an updated image would be at a new URL. But at least I have a workaround now.
jefflunt
 
Posts: 5
Joined: Wed Nov 12, 2014 3:52 pm

Re: Albums disappear after I add cover art

Postby jefflunt » Wed Nov 12, 2014 5:00 pm

Saw the same behavior when I switch to another browser (Safari), and over the the mobile client on Android.

It's all caching related. The functionality of updating the album art, at least on the back-end, is working as expected. This is all about the UI layer.
jefflunt
 
Posts: 5
Joined: Wed Nov 12, 2014 3:52 pm

Re: Albums disappear after I add cover art

Postby jefflunt » Sat Nov 15, 2014 5:12 pm

BTW, I most often use Jamstash (an HTML5 player for subsonic) when I'm on my desktop. It doesn't seem to have this caching problem.
jefflunt
 
Posts: 5
Joined: Wed Nov 12, 2014 3:52 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 8 guests