# archer-2009-s01

Third run of `playbooks/import-media/` v1.0.

## Provenance

- **Source path on onyx:** `/home/admin/Downloads/Archer Season 1  [1080p AI 10bit S94 Joy]/`
- **Release group:** Joy / S94
- **Quality:** 1080p AI-upscale x265 10-bit
- **Audio:** HE-AAC 5.1 ENG
- **Subtitles:** 3× embedded DVDsub (ENG / SPA / FRE) per episode
- **Episode count:** 10 (S01E01–E10)
- **Total size:** 2.2 GB

Per `README.md:41` quality bar — AI-upscaled masters allowed when source doesn't support 4K. Original Archer FX broadcast was 720p; 1080p AI-upscale acceptable.

## Target

- **Library:** tv
- **Path:** `/home/user/media/tv/Archer (2009)/Season 01/`
- **Container view:** `/media/tv/Archer (2009)/Season 01/`
- **Series Item ID:** `9d22c409d531...`

## Counts

| | Before | After | Delta |
|---|---:|---:|---:|
| SeriesCount | 11 | 12 | +1 |
| EpisodeCount | 207 | 217 | +10 |

## Stream sample (E01 — Mole Hunt)

```
Duration: 00:21:32.83, bitrate: 1415 kb/s
Stream #0:0: Video: hevc, none, 1920x1080, 23.98 fps
Stream #0:1(eng): Audio: aac (HE-AAC), 48000 Hz, 5.1, fltp
Stream #0:2(eng): Subtitle: dvd_subtitle (dvdsub), 1920x1080
Stream #0:3(spa): Subtitle: dvd_subtitle (dvdsub), 1920x1080
Stream #0:4(fre): Subtitle: dvd_subtitle (dvdsub), 1920x1080
```

HEVC 1080p (8-bit per `Video: hevc, none`), 1.4 Mbps, ~21 min runtime.

## Subtitle status

- 3× embedded DVDsub (image-based) per episode — ENG / SPA / FRE
- DVDsub renders via server burn-in or external picker; no text VTT fallback
- If owner wants text subs (cleaner, browser-native), follow `playbooks/subtitles/` to drop external `.eng.srt` later

## Verification checks

- [x] Folder/filename canonical (`Archer (2009)/Season 01/Archer (2009) - S01E<NN> - <Title>.mkv`)
- [x] Permissions `user:user` 644 / 755
- [ ] LibraryMonitor auto-fired — DID NOT (third consecutive miss after Lilo + Maul). Forced manual `POST /Library/Refresh` 204 → counts bumped within ~90 s.
- [x] `Items/Counts` Series 11→12, Episodes 207→217
- [x] Series enumerated as new item `9d22c409d531...`
- [ ] **TMDb / TVDB providers**: NOT auto-matched (`tmdb=? tvdb=?`). Same as Maul run. Operator to manually identify via UI.

## Notes / surprises

- Filename normalization: source had `Archer S01E01 Mole Hunt  [1080p x265 10bit Joy].mkv` (double space, group brackets). Stripped to `Archer (2009) - S01E01 - Mole Hunt.mkv` per `docs/08`. Episode-title list compiled from filenames — no source NFO available.
- LibraryMonitor failure pattern is now **3-for-3** on TV imports — confirmed not flaky, it's broken. Playbook v1.1 must call out manual `/Library/Refresh` as MANDATORY (not optional fallback).
- TMDb auto-match failed for the third time in three imports. Worth investigating: maybe the TMDb plugin token / library option `EnableInternetProviders` is off for the TV library. Operator: check Dashboard → Libraries → TV Shows → Metadata downloaders.

## Operator action

1. Open `https://arrflix.s8n.ru` → search "Archer" → confirm series visible.
2. Manually identify if metadata desired: 3-dot → "Identify" → search TMDb (probably ID `10283`).
3. Verify direct-play (HEVC HE-AAC should direct-play on most clients; DVDsub burn-in on transcode if needed).
4. Source download at `/home/admin/Downloads/Archer Season 1  [1080p AI 10bit S94 Joy]/` retained until owner confirms playback.
