ZeroQI / YouTube-Agent.bundle

Plex Metadata Agent for Movies and TV Series libraries
452 stars 43 forks source link

Fix video thumbnail aspect ratio #87

Closed micahmo closed 3 years ago

micahmo commented 3 years ago

Quick fix that I added to my fork, you are welcome to merge if you want.

I noticed that the preferred video thumbnail size is 4:3. In the Plex web app and the Roku app, the thumbnail is appropriately repositioned so that the letterbox is not seen. But I've recently noticed on the Plex Android TV and Android mobile app, the thumbnail is not centered, so the black bar is seen at the top. (See screenshots below.)

I propose to prefer thumbnails in the following order which prioritizes 16:9.

maxres - 1280/720 - 16:9 - example medium - 320/180 - 16:9 - example standard - 640/480 - 4:3 - example high - 480/360 - 4:3 - example default - 120/90 - 4:3 - example

BTW, this is basically the same fix as #81.


Before fix

After fix