Jump to content

CoverArt didnt refresh Covers automatically


Darky

Recommended Posts

Since the last Serverupdates CoverArts didnt autoupdate the covers.

 

If i add new media into the library , the library scan didnt pull the CoverArt function.

 

Only if i manualy refresh the media via metadata-manager works !

 

Server Version is now Version 3.0.5340.21263

 

CoverArt Version is now 4.0.6.0

Link to comment
Share on other sites

Cheesegeezer

Yep I can second this @@ebr.  I changed my CA for TV Series and they didn't update.  Only new media that is added gets the correct cover treatment.

 

I went from Sapphire I think to a Series CA.

 

Server 5.0.5430

CA 4.0.6.0

 

Log Attached from Server (started a fresh one for you and went thru the motions of changing the CA ;) )

 

Screenshot attached

 

 

 

 

server-63543916800.txt

post-71-0-22295800-1408356510_thumb.png

post-71-0-00537300-1408356527_thumb.png

Link to comment
Share on other sites

Looks like it is specific to TV Series maybe as movies work fine for me.  But, if I change a Series treatment, CA is called and processes it but the server spits out this informational message:

2014-08-23 13:03:12.7622 Info - ImageProcessor: Failed to read image header for C:\Users\Eric\AppData\Roaming\MediaBrowser-Server\data\metadata\63\633dd2bbef8c2c147ee81d5a19ed6a5e\folder.jpg. Doing it the slow way.

Right at the same time and the image doesn't change.

 

If I bring it up in the "Images" tab of the web editor, the image doesn't have any CA treatment on it at all.  No errors are being thrown by either the server or CA but something here has changed in a recent server build.

 

Here is the whole context of the processing:

2014-08-23 13:03:12.7012 Debug - HttpServer: HTTP GET http://localhost:8096/mediabrowser/Items/0b4433212641223532551f87f9453b0e/Images/Primary?maxHeight=252&tag=4be18653fd0a3422c64b69809af3f821&quality=90
2014-08-23 13:03:12.7412 Debug - CoverArt: CoverArt will treat \\MEDIASERVER\Movies\TV Series\Arrested Development-1\folder.jpg
2014-08-23 13:03:12.7412 Debug - CoverArt: CoverArt using profile default for Arrested Development
2014-08-23 13:03:12.7412 Debug - HttpServer: HTTP GET http://localhost:8096/mediabrowser/Shows/0b4433212641223532551f87f9453b0e/Seasons?userId=e88f579fb2cc41765db764faa4882b40&Fields=ItemCounts%2CAudioInfo%2CPrimaryImageAspectRatio
2014-08-23 13:03:12.7462 Debug - CoverArt: CoverArt using frame type Series from image set SpineCase for Arrested Development
2014-08-23 13:03:12.7622 Info - ImageProcessor: Failed to read image header for C:\Users\Eric\AppData\Roaming\MediaBrowser-Server\data\metadata\63\633dd2bbef8c2c147ee81d5a19ed6a5e\folder.jpg. Doing it the slow way.

@@Luke...?

Link to comment
Share on other sites

That's just the editor showing the original version but it should work on other pages. The error shouldnt be a problem. All that matters is the cache key changing

Link to comment
Share on other sites

In previous versions of the server/web client it has shown the CA treated image there and now it is not.

 

Nothing has changed in CA so the cache keys from its perspective are working as they have but, for some reason, the server is not delivering the proper image for these items now.

Link to comment
Share on other sites

OK but playlists have an image enhancer and they are working as the playlist content changes. Will just need some debugging

Link to comment
Share on other sites

Okay, I was wrong it is not only in MBC.  I can re-create in the web client as well although something (I don't know what yet) does cause the image to re-process and then be okay everywhere again.  But, if I just change the treatment in the CA config for a TV series then bring up either MBC or the web client the treatment will not change.

 

I threw a debug message in MBC and can see that the image tags are not changing so I'm getting them from the local cache.

 

Before CA treatment change:

=================== Image http://localhost:8096/mediabrowser/Items/4b25e9a28cd2073cf3fe4d27ae162396/Images/Primary?maxWidth=350&Quality=90&tag=37a639a518870a7793bfe13da0c117d4 obtained from local cache.,25,Image loader-Worker

Then after changing the treatment style in CA and re-starting MBC:

=================== Image http://localhost:8096/mediabrowser/Items/4b25e9a28cd2073cf3fe4d27ae162396/Images/Primary?maxWidth=350&Quality=90&tag=37a639a518870a7793bfe13da0c117d4 obtained from local cache.,25,Image loader-Worker

The image tag is the same and, thus, the path exactly the same so I get it from local.

 

The web client (at the moment) is also showing the wrong image with the old treatment:

 

53f8e8c074a17_canotupdate1.png

 

53f8e8d676297_canotupdate2.png

Link to comment
Share on other sites

I did confirm though that it is only a problem with TV series and seasons (maybe a few others I didn't try) as movies and thumbs all update fine when I change the treatments.

 

Not sure what else to look for here.

Link to comment
Share on other sites

@@Luke I don't know what else to look at here.  I just re-confirmed by changing the treatment style for series and then bringing one up in the web client.  The treatment did not change and, looking in the server log, CA was never called to re-treat the image.

 

If I do the exact same thing for movies it all works as expected - CoverArt is called and all the images are re-treated properly.

 

It has to be something in the server specific to TV that changed in the last couple of release versions.  Can you point me in the right direction...?

Link to comment
Share on other sites

Well, not being able to find anything in server commits that should be related I'm going back through the last changes to CA.  Maybe this has been an issue longer than we think.

Link to comment
Share on other sites

I could not identify any recent changes but I found some old logic that needed to be re-worked.  It is possible this has been broken for a very long time...

Link to comment
Share on other sites

jamesplay

Would you consider implementing treatment of TV episodes for rounded/diamond/sapphire styles? 

Seeing as though episodes only have a 16:9 primary image, coverart seems to treat it for a different aspect ratio.

iralLnb.png

Link to comment
Share on other sites

Truthfully if I had to guess it's the cache key not changing. the server doesn't really store that value anywhere, it just passes it from your method to the Dto that the client sees. That's not to say there couldn't be an issue in the core, it's just that i've been through that code many times over looking for these kinds of things and haven't found anything.

Link to comment
Share on other sites

Truthfully if I had to guess it's the cache key not changing. the server doesn't really store that value anywhere, it just passes it from your method to the Dto that the client sees. That's not to say there couldn't be an issue in the core, it's just that i've been through that code many times over looking for these kinds of things and haven't found anything.

 

Yeah, I think it is something that has actually been broken for TV for a long time and just no one noticed.  I'll get an update to CA out soon.

  • Like 1
Link to comment
Share on other sites

Cheesegeezer

Yeah, I think it is something that has actually been broken for TV for a long time and just no one noticed.  I'll get an update to CA out soon.

 

Just wanted to report that whatever you did.... has fixed it for me.  4.0.6.1 works a treat. tried a few different treatments and they are all changing as expected.  Thanks bud :D

Link to comment
Share on other sites

@@ebr > Thanks for your work !

 

I have some strange effects:

 

i use movie.xml files in the compatibel serevr mode.

 

I normaly create the movie.xml file with media browser and set a MKV tag under type.

 

The only thing for me to bring it working is to manualy refresh the single new media with metadata manager.

 

For new media typ "blu-ray" it will working !

 

When i manualy modify the "type" tag to blu-ray in the file movie.xml everything is working after normal rescan media.

 

If i set it then to MKV it will only working if i manually refresh this media in the metadata manager.

 

After that i can switch from blu-ray to mkv and vice versa when i modify the .xml file and rescan media BUT i can not for example switch to AVI.

 

Is there somthing wrong with my database or is there somthing broken in the servelogic because it has running with some serverversions before but now its broken for me.

Link to comment
Share on other sites

First, I would encourage you not to directly edit the xml but, rather, use the web editor.  Under "Display Settings" there is a field called "Treat Image as".  That is the value CA will read.

 

However, the only supported values in this field are 'Blu-ray', 'DVD' and 'HD-DVD'.  CA 4.x has never supported any others.

Link to comment
Share on other sites

Two possibilities:

 

1) You are bringing up the image and CA is running before the item has been fully probed and we know exactly what the codec is.

2) You have potentially mapped some of your types (like mkv) to the DVD cover in the Specific Covers section of the configuration in CoverArt.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...