Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MinPosterWidth is the minimum acceptable width for a poster image // If the poster is smaller than this, we'll fall back to cropping the cover MinPosterWidth = 800 // MinPosterHeight is the minimum acceptable height for a poster image MinPosterHeight = 1000 )
Variables ¶
This section is empty.
Functions ¶
func GetOptimalPosterURL ¶
GetOptimalPosterURL attempts to find the highest quality poster URL It tries the awsimgsrc URL first, checks its resolution, and falls back to cover if needed Returns shouldCrop=false always since backend handles all cropping via downloadTempPoster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.