20160513 - PMS 0.9.16.6 handling of New Media and Thumbnails,...

hi folks,

as of PMS 0.9.16.6 any media i add to current libraries, PLEX is unable to show a Thumbnail of media added. metadata works as expected regardless of which source library is added to. no big issue.

can give examples as needed.

best regards,

finite void

hi folks,

same occurs with latest Plex Media Player.

can give examples as needed.

logs et al.

best regards,

finite void

hi folks,

system specs:

CPU: Intel G3258 at 4.4 - 5.9GHz
HSF: http://noctua.at/en/nh-d15s.html
MEM: 16Gb Kingston / Overclockers UK (Limited Edition) DDR3, 1866MHz at stock - 2800MHz+
BRD: Gigabyte GA-Z97X-UD5H-BK, Rev 1.2
PSU: Corsair RM850
WIFI: Asus PCE-AC68
RTR: Asus RT-AC68U
OS: Windows 10 LTSB 64-bit

can give examples as needed.

logs et al.

best regards,

finite void

hi folks,

not that it matters:

GPU: 2x Gigabyte GV-N98TXTREME C-6GD in SLI

can give examples as needed.

logs et al.

best regards,

finite void

could you follow the steps here for enabling debug logging - restarting the server and then trying to reproduce the problem - perhaps with a small test library. Then get screenshot and the Plex Media Server.log and Plex Media Scanner.log files (including Plex Media Scanner.n.log files)

https://support.plex.tv/hc/en-us/articles/201643703-Reporting-issues-with-Plex-Media-Server
https://support.plex.tv/hc/en-us/articles/200250417

hi sa2000,

apologies for delay.

please find attached log files & screenshots as requested:

20160517 - PMS - Archived Logs.zip
20160517 - PMS - Screenshots.zip
Plex Media Scanner.log
Plex Media Server.log

thanks in advance & best regards,

finite void

Please could you also zip and attach the log files in the PMS Plugin Logs folder.

for sure. please find attached:

20160517 - PMS - Plugin Logs.zip

@finite void said:
for sure. please find attached:

20160517 - PMS - Plugin Logs.zip

@finite void said:
hi sa2000,

apologies for delay.

please find attached log files & screenshots as requested:

20160517 - PMS - Archived Logs.zip
20160517 - PMS - Screenshots.zip
Plex Media Scanner.log
Plex Media Server.log

thanks in advance & best regards,

finite void

Thanks for the logs and screenshots

There are loads of Error 500s like this one

Example of sequence leading to error 500 on request for the image

May 17, 2016 12:41:34:900 [7356] DEBUG - Request: [192.168.1.10:60737] GET /photo/:/transcode?width=117&height=176&minSize=1&url=http%3A%2F%2F127.0.0.1%3A32400%2Flibrary%2Fmetadata%2F3699%2Fthumb%2F1463485199%3FX-Plex-Token%3Dxxxxxxxxxxxxxxxxxxxx (3 live) TLS GZIP

May 17, 2016 12:41:34:901 [7356] DEBUG - Photo transcoder: Request for url [127.0.0.1:32400/library/metadata/3699/thumb/1463485199?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx] (is local: 1 upscaled: 0)

May 17, 2016 12:41:34:903 [7356] DEBUG - Computed media url for item 3699: http://127.0.0.1:59816/system/agents/media/get?guid=com%2Eplexapp%2Eagents%2Ethetvdb%3A%2F%2F81189%2F1%3Flang%3Den&mediaType=3&url=metadata%3A%2F%2Fseasons%2F1%2Fposters%2Fcom%2Eplexapp%2Eagents%2Ethetvdb_2abae5d107f5676364734d0b77ec80b8d83c7e5f

May 17, 2016 12:41:34:903 [7356] DEBUG - HTTP requesting GET http://127.0.0.1:59816/system/agents/media/get?guid=com%2Eplexapp%2Eagents%2Ethetvdb%3A%2F%2F81189%2F1%3Flang%3Den&mediaType=3&url=metadata%3A%2F%2Fseasons%2F1%2Fposters%2Fcom%2Eplexapp%2Eagents%2Ethetvdb_2abae5d107f5676364734d0b77ec80b8d83c7e5f

May 17, 2016 12:41:34:907 [7356] DEBUG - Calculated media file path for item 3699: C:\Users\roof\AppData\Local\Plex Media Server\Metadata\TV Shows\a\d3d4266c0f4dbb7801056a11f73a093e4cef98c.bundle\Contents\_combined/seasons/1/posters/com.plexapp.agents.thetvdb_2abae5d107f5676364734d0b77ec80b8d83c7e5f

May 17, 2016 12:41:34:907 [7356] DEBUG - Calling back into ourselves for photo to transcode, optimizing the process (status: -1)

May 17, 2016 12:41:34:907 [7356] DEBUG - Photo cache obtained 43 bytes from http://127.0.0.1:32400/library/metadata/3699/thumb/1463485199?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx

May 17, 2016 12:41:34:908 [7356] DEBUG - Saving original media file to C:\Users\roof\AppData\Local\Plex Media Server\Cache\PhotoTranscoder\1f\1f3dcfca0cfb1998ca41de435b4996f8c904a05f.jpg

May 17, 2016 12:41:34:910 [7356] ERROR - Source image with format 25 and size 1x1, refusing to create strange sized thumbnail of size 1x1

May 17, 2016 12:41:34:910 [7356] ERROR - Error resizing an image, we don't trust what we cached [C:\Users\roof\AppData\Local\Plex Media Server\Cache\PhotoTranscoder\1f\1f3dcfca0cfb1998ca41de435b4996f8c904a05f.jpg]

May 17, 2016 12:41:34:911 [6704] DEBUG - Completed: [192.168.1.10:60737] GET /photo/:/transcode?width=117&height=176&minSize=1&url=http%3A%2F%2F127.0.0.1%3A32400%2Flibrary%2Fmetadata%2F3699%2Fthumb%2F1463485199%3FX-Plex-Token%3Dxxxxxxxxxxxxxxxxxxxx (3 live) TLS GZIP 10ms 441 bytes 500

Following the request into the system agent

2016-05-17 12:41:34,904 (3f4) :  DEBUG (runtime:717) - Handling request GET /system/agents/media/get?guid=com%2Eplexapp%2Eagents%2Ethetvdb%3A%2F%2F81189%2F1%3Flang%3Den&mediaType=3&url=metadata%3A%2F%2Fseasons%2F1%2Fposters%2Fcom%2Eplexapp%2Eagents%2Ethetvdb_2abae5d107f5676364734d0b77ec80b8d83c7e5f

2016-05-17 12:41:34,905 (3f4) :  DEBUG (runtime:814) - Found route matching /system/agents/media/get

2016-05-17 12:41:34,905 (3f4) :  DEBUG (logkit:13) - Returning stored data for metadata://seasons/1/posters/com.plexapp.agents.thetvdb_2abae5d107f5676364734d0b77ec80b8d83c7e5f (in com.plexapp.agents.thetvdb)
2016-05-17 12:41:34,907 (3f4) :  DEBUG (runtime:924) - Response: [200] str, 43 bytes

It returned a stored image which was suspect leading to the error 500
We do not know when this image was stored in the cache
One suggestion is to clear the cache for thetvdb agent and re-scan

See this support page on how to clear the cache
https://support.plex.tv/hc/en-us/articles/202967376
The one that needs to be cleared is for thetvdb agent

After you clear the agent http cache, move the media files/folders out, update the library. empty trash and then move the media back and update the library
If problem persists, please get screenshots, and zip of all the logs

hi sa2000,

done ALL the above already :slight_smile:

please advise.

thanks in advance & best regards,

finite void

hi sa2000,

deleted ALL cache(s)

proceeding to Rebuild,…

will advise.

as well aware this could take some time; that said - this is not the answer,…

best regards,

finite void

@finite void said:
hi sa2000,

done ALL the above already :slight_smile:

please advise.

thanks in advance & best regards,

finite void

If you have cleared the thetvdb agent cache following steps on this support page
Clearing Plugin/Channel/Agent HTTP Caches

Then I would like to see all the logs after the first library update - see below

  • Shutdown Plex Media Server (Exit system tray plex icon popup)
  • Clear thetvdb cahe (deleting C:\Users\roof\AppData\Local\Plex Media Server\Plug-in Support\Caches\com.plexapp.agents.thetvdb
  • Move the media files/folders for Breaking Bad out of D:\PLEX\TV\x265 TV\Breaking Bad
  • Do Library Update
  • At the end. Empty Trash
  • Move media files / folders for Breaking Bad back into D:\PLEX\TV\x265 TV\Breaking Bad
  • Do Library Update
  • At the end - wait a couple of minutes and if no posters / images, get a screenshot - showing the time please and zip the logs including both the Logs and Log\PMS Plugin Logs

As the cache is cleared it will probably re-fetch all images

hi sa2000,

i know how to Read Log files,…

please advise.

thanks in advance & best regards,

finite void

hi sa2000,

the correct answer was: appears to be an issue w/ PhotoTranscoder plugin: previously cached or new Thumbnails it ignores & sets Thumbnail to 1x1 pixels instead of clearing cache & looking thru Media & / or looking online,…

best regards,

finite void

@“finite void” said:
i know how to Read Log files,…

please advise.

What we are looking for are some errors / exceptions may be, on the first scan for the media when there is no cached images - perhaps in the com.plexapp.system.log com.plexapp.agents.thetvdb.log files when matching the episodes with thetvdb info and then fetching banners / posters / fanart etc

indeed how to resolve tho

@finite void said:
hi sa2000,

the correct answer was: appears to be an issue w/ PhotoTranscoder plugin: previously cached or new Thumbnails it ignores & sets Thumbnail to 1x1 pixels instead of clearing cache & looking thru Media & / or looking online,…

best regards,

finite void

I do not think there is a function for automatic clearing of the cache within Plex Media Server - I am sure it is something that would be considered as part of cache management and dealing with corrupted cached data

mind you if you read the Log files correctly!!! we could always test in a Virtual Machine? up for that?

so whilst i wait for several hundred gigabytes to import to PLEX & automagically provide Thumbnails!?! which it is unable to,… meh.

can re-install Windows 10 LTSB x64 if needed Developer input,…

pls BUMP to Developers,…