processes/ -> playbooks/ (git mv preserves history; updated cross-refs in ROADMAP, README, subtitles playbook + scripts). playbooks/import-media/README.md v1.0 — 7-step import workflow: stage on onyx -> rsync to nullstone -> chmod -> verify scan -> Items/Counts bump -> optional subtitle pass -> run-log Cross-references docs/05/07/08, ADMIN-GUIDE, README. Mirrors the existing subtitles playbook structure (CHANGELOG + runs/_template). CHANGELOG v1.0 lists known gaps (bin/cleanup-import.sh and bin/normalize.py still doc-only, ROADMAP M6). First run logged: playbooks/import-media/runs/lilo-stitch-2002.md. Lilo & Stitch (2002) imported to /home/user/media/movies/, item c2f4aff133c1b9631500fadf293b0b2f, TMDb 11544, MovieCount 3 -> 4. LibraryMonitor didn't auto-fire — needed manual /Library/Refresh; playbook updated to make this an unconditional step. Source: 1080p BluRay HEVC 10-bit / EAC3 5.1 / 2x PGS embedded subs. Per quality bar (README.md:41) — passes.
63 lines
2.9 KiB
Markdown
63 lines
2.9 KiB
Markdown
# lilo-stitch-2002
|
||
|
||
First run of `playbooks/import-media/` v1.0.
|
||
|
||
## Provenance
|
||
|
||
- **Source path on onyx:** `/home/admin/Downloads/Lilo & Stitch (2002) (1080p BluRay x265 HEVC 10bit EAC3 5.1 YOGI)/Lilo & Stitch (2002) (1080p BluRay x265 YOGI).mkv`
|
||
- **Release group:** YOGI
|
||
- **Quality:** 1080p BluRay HEVC 10-bit
|
||
- **Audio:** EAC3 5.1 English
|
||
|
||
## Target
|
||
|
||
- **Library:** movies
|
||
- **Path:** `/home/user/media/movies/Lilo & Stitch (2002)/Lilo & Stitch (2002).mkv`
|
||
- **Container view:** `/media/movies/Lilo & Stitch (2002)/Lilo & Stitch (2002).mkv`
|
||
- **Item ID:** `c2f4aff133c1b9631500fadf293b0b2f`
|
||
- **TMDb:** `11544`
|
||
- **IMDb:** `tt0275847`
|
||
|
||
## Counts
|
||
|
||
| | Before | After | Delta |
|
||
|---|---:|---:|---:|
|
||
| MovieCount | 3 | 4 | +1 |
|
||
|
||
## Stream summary
|
||
|
||
```
|
||
Duration: 01:25:22.18, bitrate: 3698 kb/s
|
||
Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1816x1080, 23.98 fps
|
||
Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), 640 kb/s
|
||
Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (pgssub)
|
||
Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle (pgssub), 1920x1080
|
||
```
|
||
|
||
Color tagged BT.709 (SDR) — no tonemap path needed. Direct-play-friendly HEVC.
|
||
|
||
## Subtitle status
|
||
|
||
- Embedded: yes — 2× English PGS (image-based, burnt-in style)
|
||
- External sidecar: none yet
|
||
- Action: none for now. PGS works on most clients via server burn-in. If text subs preferred, run `playbooks/subtitles/` later.
|
||
|
||
## Verification checks
|
||
|
||
- [x] Folder/filename canonical (`Lilo & Stitch (2002)/Lilo & Stitch (2002).mkv`)
|
||
- [x] Permissions `user:user` 644 (file) / 755 (dir) — verified via `ls -la` post-rsync
|
||
- [ ] LibraryMonitor auto-fired — DID NOT trigger on this import (file landed but no log line). Forced manual `POST /Library/Refresh` returned 204 → ffprobe ran within seconds → MovieCount bumped. **Possible cause:** rsync over many seconds may break the inotify watch's debounce; bind-mount FS event delivery from host into container can be flaky on userns-remap setups. Manual refresh always works. Flagged for v1.1 of playbook to recommend always running manual refresh after rsync.
|
||
- [x] `Items/Counts.MovieCount` bumped 3 → 4
|
||
- [x] TMDb match: `11544` populated
|
||
- [x] Artwork: PrimaryImage `15330b2e...` + 1 backdrop fetched
|
||
- [x] Direct-play candidate (HEVC 10-bit, BT.709, EAC3 5.1)
|
||
|
||
## Notes / surprises
|
||
|
||
- LibraryMonitor didn't auto-pick the new file — had to force `POST /Library/Refresh`. Updated the playbook to make this an unconditional step rather than "optional fallback".
|
||
- Filename didn't need NFO override — TMDb matched correctly on first try via folder + year.
|
||
- Source download at `/home/admin/Downloads/Lilo & Stitch (2002) (1080p BluRay x265 HEVC 10bit EAC3 5.1 YOGI)/` retained per `ADMIN-GUIDE.md:74` (don't delete until confirmed playing in app).
|
||
|
||
## Operator action
|
||
|
||
User to verify in browser: `https://arrflix.s8n.ru` → search "Lilo" → confirm artwork + Play. After that, source download on laptop can be deleted.
|