improvement(downloads): no-embed builtin presets + 1080p default

Embedding (thumbnail/chapters) rewrote the whole file — a 10 GB video spent minutes making a
10 GB temp copy — while the Plex .nfo + poster sidecars already carry that metadata. So:
- builtin presets no longer embed (migration 0040 re-seeds them; formats._DEFAULTS embed off);
  only the tiny FFmpegThumbnailsConvertor (for poster.jpg) remains, so downloads go
  video -> audio -> merge -> done with no full-file rewrite
- default preset is now 1080p (Best stays available, second in the list) so a long video
  doesn't silently pull ~10 GB and blow the quota
Users who want self-contained files can enable embedding in a custom profile.
This commit is contained in:
npeter83 2026-07-03 04:08:53 +02:00
parent fc69656d12
commit d7fe3c34e8
2 changed files with 77 additions and 2 deletions

View file

@ -35,9 +35,12 @@ _DEFAULTS = {
"container": "mp4",
"audio_format": "m4a",
"vcodec": None,
# Embedding is OFF by default: it rewrites the whole file (doubles I/O — a 10 GB video
# gets a 10 GB temp copy), and the Plex `.nfo` + poster sidecars already carry the
# metadata/thumbnail. Users who want self-contained files opt in via a custom profile.
"embed_subs": False,
"embed_chapters": True,
"embed_thumbnail": True,
"embed_chapters": False,
"embed_thumbnail": False,
"sponsorblock": False,
}