diff --git a/Contents/Code/PAdata18ImageSearch.py b/Contents/Code/PAdata18ImageSearch.py index 7695cfbb1..b16218b2c 100644 --- a/Contents/Code/PAdata18ImageSearch.py +++ b/Contents/Code/PAdata18ImageSearch.py @@ -278,7 +278,9 @@ def classify_image(width, height): # Poster heuristics if orientation == "portrait": - if aspect >= 1.2: # tall enough + # avoid too tall/short (perfect is 1.5) + # https://support.plex.tv/articles/200220677-local-media-assets-movies/#:~:text=Poster%20art%20is%20typically%20of%201:1.5%20aspect%20ratio + if 1.4 <= aspect <= 1.6: if resolution >= 200000: # avoid tiny thumbs return "poster" diff --git a/docs/preferences.md b/docs/preferences.md index b212ae2b5..866d1f804 100644 --- a/docs/preferences.md +++ b/docs/preferences.md @@ -24,14 +24,14 @@ - Large library additions may result in some scrapers to IP BAN (i.e. Data18) ## Data18 Image Searching - Experimental - - Note: Labelled experimental because not a lot of effort went into the matching alorithm. + - Note: Labeled experimental because not a lot of effort went into the matching algorithm. - Currently only configured for Reptyle and Network1Service * ### Data18 Image Search Enable - - Enable/Disable searching Data 18 for Searching for Images on Top of Scraper + - Enable/Disable searching Data 18 for images on top of scraper * ### Data18 Image Extra Galleries Enable - - Enable/Disable getting images from extra galleries (these galleries are normally skipped if better galleries are present) + - Enable/Disable getting images from extra galleries (these large/lower quality galleries are normally skipped if better galleries are present) * ### Data18 Image Search Accuracy - Sets a minimum percentage (0% to 100%) match based on date (if available), title and search site/network