Jump to content

Boxset CoverArt issues


Smaky

Recommended Posts

I have just noticed that for manually created Boxsets/collections, The image created by CoverArt is distorted.

 

55e85c40486e9_20150903_93735.jpg

 

When going to the offending boxset the image looks fine, although the highlight border seems to be a bit off on the top and bottom borders the image (this also happens on auto box sets):

 

55e85c80d5382_20150903_93933.jpg

 

I think it would be better to make the highligh not just a border but a complete image (light blue colored) so it ´paints´ beneath the discs (which I assume are transparent png).

 

Looking closely at the images, seems the manually created collections get a distorted image:

 

55e85d8dd55b4_distorted.png vs. 55e85d9a94638_Correct.png

 

Which gets generated by:

 

Distorted image:

http://localhost:8096/Items/71aaf32f9de828a57b6899a119e6ea0d/Images/Primary?height=450&width=300&tag=7ea969eb22bc621be6d380e79331ffbc&enableImageEnhancers=true&quality=90

while the correct one by:

http://localhost:8096/Items/0f2977e5ba9864babadb5a3e571552ff/Images/Primary?height=300&width=300&tag=4a2c5f7473e96569be2c201b5ae653a2&enableImageEnhancers=true&quality=90

Notice the difference in the height/width parameters sent to generate the images. Not sure why the auto generated boxsets are using the later while the manually created ones use the former.

 

Another isse I see is that there is a black shadow shadow being drawn behind the generated image. Since the image itself already has a shadow. 

 

55e85e63dd593_20150903_94959.jpg

 

It looks weird. I would say the dark highlight should be eliminated when using CoverArt to let it control the full look & feel. Probably by creating two sets of images one highlighted and the other one not, so it looks something like this:

 

55e85f8f95ce4_Correcthighlighted.png

 

Update: Just for reference this is how the images look in Metadata Manager (in there the CoverArt Primary Image looks just fine):

 

55e86034c3de4_20150903_95753.jpg

 

Where the image is being created dynamically by: 

http://localhost:8096/Items/71aaf32f9de828a57b6899a119e6ea0d/Images/Primary?height=150&tag=7ea969eb22bc621be6d380e79331ffbc&quality=90

resulting in this:

 

55e860c3865e4_correctsmall.png

 

There´s no distortion here.

Edited by Smaky
Link to comment
Share on other sites

shorty1483

For the Distortion:

 

Try to download a cover from Fanart.tv with the resolution 1000x1426. This worked for me when I had some files with this distortion in the past.

 

For the border around images:

 

Try to insert this into the custom CSS field:

.itemDetailImage {
    -moz-box-shadow: 0px 0 0px #3b3b3b;
    -webkit-box-shadow: 0px 0 0px #3b3b3b;
    box-shadow: 0px 0 0px #3b3b3b;
    border: solid 0px #3b3b3b;
}
.itemDetailGalleryLink img:hover {
    -moz-box-shadow: 0 0 0px 0px #673ab7;
    -webkit-box-shadow: 0 0 0px 0px #673ab7;
    box-shadow: 0 0 0px 0px #673ab7;
}

If you still use a customm CSS like Theme Darkness, just search for the parts and replace them.

 

Looks like this on my WebClient:

 

55e8686a8c59d_Frameless.png

Edited by shorty1483
Link to comment
Share on other sites

Should I understand the distortion comes from the image resolution? I mean, it is odd I have over 120 boxsets and only the two manually created exhibit this problem. Will try your suggestions thoug. Thanks.

Link to comment
Share on other sites

Deathsquirrel

This may be a treatment-specific issue or a problem of processing folder.jpgs with different resolutions.  I use a different boxset treatment and don't have this problem.  As a reference I'm using Metrocase treatments on both movies and boxsets and all my folder.jpg source files are 1000X1500.

Link to comment
Share on other sites

shorty1483

This may be a treatment-specific issue or a problem of processing folder.jpgs with different resolutions.  I use a different boxset treatment and don't have this problem.  As a reference I'm using Metrocase treatments on both movies and boxsets and all my folder.jpg source files are 1000X1500.

 

Possible...I grab my sources from fanart.tv and themoviedb. Since not every time an image is available on both sources, I have a lot of different resolutions from 1000x1426 (fanart.tv) to 1000x1500 or higher (themoviedb). Perhaps Imagemagick doesn't like it. Dunno. Had similar problem, but today from one minute to another everything was fine.

Link to comment
Share on other sites

As you can see in both the detail screen and the editor - the image itself is being generated fine.  It is the display parameters in the web client that are somehow getting messed up just for those.

 

The other thing that is different is that none of the child items have a disc image.  Try providing those and see if things change.

Link to comment
Share on other sites

Ok, here is a snapshot of the second manual collection I have in my library. As you might notice, this one does have actual disc images yet it gets distorted anyways.

 

55e8e1ef5d281_20150903_191020.jpg

 

55e8e232d0f4f_20150903_191242.jpg

 

Now, on your comment about the image being generated appropiately I think something is not correct when these imagese are requested. I noticed the code uses a dynamically created image using the following code:

http://localhost:8096/Items/71aaf32f9de828a57b6899a119e6ea0d/Images/Primary?height=450&width=300&tag=7ea969eb22bc621be6d380e79331ffbc&enableImageEnhancers=true&quality=90

Comparing that to the ones used on other images I notived the height and weight parameters are both 300px while these two uses 450px for height causing distortion. Not sure how this code is generated but seems to me to be a bug.

Edited by Smaky
Link to comment
Share on other sites

I am trying to test this out... however I am facing issues. I have uploaded dis images to all items in my Walt Disney collection. However, when I refresh the page it seems to me the broser is getting a cached image instead of CoverArt recreating it. As I still get the distorted image with no disc art on it. 

 

I went to CoverArt configuration and changed to a different layout for Boxsets. Then I got a new image generated with the new disc art on it (BTW; this particular case I got non-distorted images):

 

55e90d73daeaa_ok_1.png   55e90d815421b_ok_2.png

 

However, when I switch back to the original layout that caused the images to be distorted I get the distorted images with no disc art on it. Seems to me they have been saved in a cache.

 

I tried clearing off the brosert's cache. But that did not help. Is there a place where CoverArt saves all generated images?

Update:

 

I switched to a different layout (ClearCase discs) and found the images are distorted even with disc art uploaed to the collection items:

 

55e90f5e25592_distorted_2.png    55e90f6dd95f5_distorted_1.png

 

It seems to me there is an issue with these layouts.

Edited by Smaky
Link to comment
Share on other sites

Happy2Play

I believe they are all cached here (Emby-Server\cache\images\enhanced-images).

Link to comment
Share on other sites

Yup... thanks for the tip Happy2Play.

 

After deleting them they got re-created. However, they are still distorted.

 

55e910f50eacb_distorted_4.png   55e910ff23d94_distorted_3.png

 

So I guess this rules out the disc art root cause.

Edited by Smaky
Link to comment
Share on other sites

Can you find the actual image in the enhanced-images cache and see if the image itself is distorted or if it is just being stretched by the client?

Link to comment
Share on other sites

The image in the image cache is ok. The image is being stretched by the client.

 

I have been testing further. I recreated the walt disney collection (well created a new one from scratch) and found this time the image got distorted initially I added all the media before looking at the image in collections), it got distorted, then went back to the collection and deleted all but one item from it and it got fixed. After that, I added one by one the collection items and checked back into the collections. This way the image never got distorted. When I tried the same with the old collection it never got fixed. Notice the snapshot below where the second walt disney collection is still distorted and it has no items on it at all:

 

55e9d390e1cc5_20150904_121811.jpg

 

Now, the only difference I noticed between these two collections in the Metadata Manger is that the first one (the one that is not distorted) shows as lock icon before the name. Not sure why.

 

55e9d3dbb1b8d_20150904_121842.jpg

 

The other one without the lock still shows the image distorted.

 

Update: Interestingly, I found why the lock is there. On metadata there´s a check to ´Lock this item to "Lock this item to prevent future changes". As soon as I unchecked it, the image got distorted. Unfortunately, locking it again did not fix the image.

 

 

55e9d55518734_20150904_122934.jpg

Edited by Smaky
Link to comment
Share on other sites

there's nothing the cover art plugin can do about it. the web client does sometimes stretch images slightly in order to make them look uniform. it does this when it thinks their aspect ratio is close enough to what it wants to display, and it sounds like these images are just falling within that range.

Link to comment
Share on other sites

I believe the ratio it is expecting for covers is 1:1.5.  I think most posters on tmdb are 1000x1500.

 

However, a treatment like the box set one changes this ratio fairly significantly due to the elements added to the base image.

Link to comment
Share on other sites

I have already used 100x1500 to try to fix this in my manually created collections. However, web client still insists on distorting them.

 

55ef64c8de73f_20150908_173143.jpg

 

55ef64d3965ab_20150908_173734.jpg

 

Edited by Smaky
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...