Sign inSign up

fletchto99/preview-maid

By fletchto99

•Updated 3 days ago

Preview maid is a tool to help you find missing thumbnail previews in your plex library

Image
0

10K+

fletchto99/preview-maid repository overview

⁠Preview Maid

GHCR Build Status Docker Build Status Docker Pulls

Preview maid is a tool which scans you library items for missing preview thumbnails and, optionally, missing voice activity analysis data & marker data. It can be run as a daily scheduled job at a configurable time or as a one-off job. For more information on how to generate the missing preview thumbnails and voice activity analysis data, see the section below.

⁠Building missing previews, Audio analysis data & Markers

You can try to force the creation of missing preview thumbnails, Audio analysis data & marker data using the Analyze option on the library. Sometimes plex is picky using the analyze button on the library itself, so you can try using the Analyze option on the individual media item.

If the preview thumbnail generation fails you can try setting GenerateBIFKeyframesOnly to 0 in the plex advanced settings⁠. Note: This will increase the time it takes to generate preview thumbnails and will greatly increase the load on your CPU.

⁠Setup

⁠Environment variables
VariableDescriptionDefault
PLEX_URLThe URL to your plex instance.
PLEX_TOKENYour plex API token
FIND_MISSING_THUMBNAIL_PREVIEWSSet to true to find missing thumbnail previewstrue
FIND_MISSING_VOICE_ACTIVITYSet to true to find missing voice activity analysis datafalse
FIND_MISSING_INTRO_MARKERSSet to true to find missing skip intro markers (note this is slow on large libraries)false
FIND_MISSING_CREDITS_MARKERSSet to true to find missing skip credit markers (note this is slow on large libraries)false
FIND_MISSING_AD_MARKERSSet to true to find missing ad markers (note this is slow on large libraries)false
RUN_ONCESet to true to disable scheduled runsfalse
RUN_TIMEThe time to run the job in the format HH:MM00:00
SKIP_LIBRARY_TYPESA comma separated list of library types to skip. Options are movie,show,photo""
SKIP_LIBRARY_NAMESA comma separated list of library names to skip""
DEBUGSet to true to enable debug loggingfalse
⁠Optional Volume Mounts
MountDescription
/app/logsUsed to write logs to a file, rotating per container restart and saving the last 5 restarts.

Note: If the log volumne is mounted, the console output will only show statistics of the run while the affected files will be found in the logs.

Tag summary

Content type

Image

Digest

sha256:10099fcd6…

Size

47.8 MB

Last updated

3 days ago

docker pull fletchto99/preview-maid