pannal / plex-for-kodi

Unoffical Plex for Kodi add-on releases.
GNU General Public License v2.0
237 stars 30 forks source link

Interface is stretched vertically on 16:10 screen #107

Open inox9 opened 1 month ago

inox9 commented 1 month ago

Description:

Details:

Checklist

Please take a look at screenshot: 20240513105425_1

It is taken on a steam deck which has 1280x800 screen with 16:10 AR. As you can see - everything is stretched vertically including background poster. Seems like 16:9 AR is hardcoded in plugin. Plextuary skin is installed. In kodi itself screen resolution is set to 1280x800 and everything displays properly. The way I see how to fix this issue:

  1. For icons and other interface elements - they just need to be properly displayed according to display's AR
  2. For backgrounds - I guess that they are downloaded as static 16:9 pictures so they can be just zoomed a bit to fit 16:10 screen entirely without stretching.

Kodi log attached: kodi.log

pannal commented 1 month ago

Yeah that's an interesting problem. Not sure if it's fixable. We're displaying at a fixed 1080p basis, so 16:9. Kodi seems to stretch the interface to match that. I don't know whether this behaviour can be changed.

Also, adding support for other aspect ratios, if not fixable in Kodi, would mean duplicating the full UI for that AR, which is impractical.

pannal commented 1 month ago

Does whitelisting your resolutions in Kodi System/Display change the behaviour perhaps?

Edit: You can also try to use the "Video calibration" tool in Settings / System / Display

inox9 commented 1 month ago

Tried all of these - no luck unfortunately

pannal commented 1 month ago

Sorry, then. The only option would be to adjust all of PM4Ks templates to your needs. I don't have time for that, unfortunately.

If you or someone else wants to tackle it, you can probably copy the resources/skins/Main/1080i/ to resources/skins/Main/16by10/, adjust all of the templates accordingly, and modify resources/skins/Main/skin.xml.