Add statistics and data-consistency menus, recently-added folder

This commit is contained in:
2026-07-02 06:10:14 +02:00
parent b5c2023212
commit f0f38d4257
17 changed files with 498 additions and 78 deletions
+11
View File
@@ -124,6 +124,17 @@ movie table, and one-click Filmotéka generation.
- **Tag provenance (ČSFD vs user):** each file records which tags came from ČSFD
(`csfd_tags`). Re-fetching regenerates only those; user-added tags are kept, so
changing a movie's ČSFD link refreshes ČSFD tags without losing manual ones.
- **Special folders + "- " prefix:** besides the tag tree, generation produces
`- Tipy dne` (15 random) and `- Nově přidané` (10 newest by `File.added`, mtime
fallback — ctime is bumped by hardlinking). All grouping folders and these
specials are prefixed with **"- "** so
DLNA/TV browsers sort them before the genre folders at the output root. Specials
are `reserved_subfolders` so cleanup never touches them; renaming old unprefixed
folders is handled automatically (they become stale root-level folders and are
swept on the next generation).
- **Date added:** `import_movie` stamps `File.added` (ISO); older items without it
fall back to the file's mtime for the "recently added" ordering (ctime is
unreliable — creating the Filmotéka hardlinks bumps it).
## Tasks