|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Corrupt poster images
I've been noticing quite a few corrupted poster images lately. Not sure if it is happening during transfer or rescaling and it only seems to affect posters. So far I haven't seen anything else pop up corrupt. Deleting the offending file, removing its entry from the ignore list, and issuing a rescan seems to correct the issue, but that's a lot of manual work Images attached for reference.
I poked around a bit and didn't see this mentioned in the known issues thread and don't see any other posts about it so maybe it's unique to my system? Any thoughts on where to look or logs I can capture for you? I don't think that the hard drive where these are stored is crapping out, it isn't showing any other symptoms of errors, but I've been wrong on these things before.... |
#2
|
||||
|
||||
Can't say I've seen this a lot but I have seen 3 or 4 of these. And if I go to tvdb and find the images manually I can download them with ho issues. So the problem is not in the original image.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#3
|
|||
|
|||
Quote:
Have the ones you have noticed been posters or has it occurred in banners/backgrounds/etc? |
#4
|
||||
|
||||
In terms of downloading and scaling, bmt handles all image types the same. I would expect to see the same problem worth banners and backgrounds.
While I've never experienced this myself, any type of transmission d error may cause this. Without specifics and a reproducible issue it's pretty hard to solve.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#5
|
|||
|
|||
Yeah I would lean more towards download/connection issues. TVDB and TMDB get overloaded and have issues quite often.
|
#6
|
|||
|
|||
Quote:
Any idea if disabling poster and background scaling (banner is already disabled) would have horribly ill effects on performance for Phoenix/Diaimond? It would definitely rule out the rescaling question and just leave transmission and other negligible gremlins to watch for. Makes sense |
#7
|
||||
|
||||
Quote:
I suspect though, that if the scaling is the problem, then it will simply be moved to the scaling in the image apis (uses the same basic logic)
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#8
|
|||
|
|||
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#9
|
|||
|
|||
Quote:
Quote:
|
#10
|
|||
|
|||
I certainly wont speak for all plugins but i think most are doing the caching to decrease access time to the image.... so i dont think they they're replacing the original....
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#11
|
|||
|
|||
I sure hope not that would be a horrible practice to replace people's original image.
|
#12
|
|||
|
|||
oh ya agreed 100 times over
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#13
|
|||
|
|||
I noticed a corrupt image a few days ago and scanned through the cache/fanart directories and came up with the one I noticed and another one. In both cases the original image is fine and the cached image is corrupt. I've uploaded the cached images, the source images are both >750k so I'm not bothering with uploading them here. If you want them, let me know and I'll get them to you without eating up the forums storage space
Interestingly, these look more like color problems than the first ones I found did. |
#14
|
|||
|
|||
all of the corrupt images i have are color shifted like your examples... I just disabled the scaling that bmt does by default when an image is first downloaded. Now I'll be on the lookout for differences between the cache and central fanart folder...
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#15
|
|||
|
|||
Quote:
If this is a problem with the rescaling algorithm it might be tough for Stuckless and the (other?) Phoenix devs to track down; I bet they didn't actually write it. At this point it is more of a nuisance than anything, but I would like to help track it down if I can |
#16
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#17
|
|||
|
|||
YGPM, let us know the results
|
#18
|
|||
|
|||
More test images
These are just the originals. These seem to rescale improperly every time. I deleted the cached images and flicked back and forth until they got cached again and they show up with the color distortion just like before. I also tried having the ui at a diff resolution so they would scale to a different size and the distortion still occurred. Files md5 the same as the originals from tvdb so it's not like they got corrupted in transit. This is really bizarre!
Also, don't feel like I'm rushing you on this, I'm not. Just trying to provide enough info for you to track down whatever is causing it |
#19
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#20
|
||||
|
||||
After doing some research on this, the conclusions are not good. Apparently it's a known bug that the Java ImageIO library (which is what I use for reading/writing images) has issues with some jpeg files that use a different kind of color model.
http://stackoverflow.com/questions/1...ns-jpeg-colors http://bugs.sun.com/bugdatabase/view...bug_id=4799903 I tried the solutions listed in those articles but it did not fix the problem. The only way I was able to get the file to convert correctly was by changing the source file. If I opened the source file with an image editor, and then just saved it, they the java image scaling would produce the correct file. Just a note that the issue here is not the scaling. In my test, I would simply read the file and then write the same to another name using the build in java image apis (ImageIO.read, ImageIO.write) and the resulting file was corrupt every time. Unfortuntely, java doesn't appear to to be resolving this issue, and I'm not sure there is much that I can as well
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Poster view crashing - Help please | PhilH | Sage My Movies | 3 | 11-11-2010 11:53 AM |
Default poster when there is no fanart | Oats | SageMC Custom Interface | 0 | 10-21-2010 04:53 PM |
Poster not showing up as Thumb | technazz | SageMC Custom Interface | 0 | 09-24-2009 07:01 AM |
Poster art not showing | veger69 | SageMC Custom Interface | 5 | 07-20-2009 10:06 AM |