diff --git a/.claude/skills/jellyfin/SKILL.md b/.claude/skills/jellyfin/SKILL.md index 449e721a0..16e747920 100644 --- a/.claude/skills/jellyfin/SKILL.md +++ b/.claude/skills/jellyfin/SKILL.md @@ -97,7 +97,22 @@ Check with: `curl -s -H "X-Emby-Token: TOKEN" http://localhost:8096/Library/Virt - **Passwords**: `coup1802` (NOT `ded89Lm4`) — Jellyfin has native auth, no Authelia - Auth header is `X-Emby-Token` (Jellyfin is an Emby fork) -- Music videos are typed as "Movie" in Jellyfin +- **Music videos are typed `MusicVideo`, NOT `Movie`** (corrected 2026-07-21, ersatztv#177). The old + "typed as Movie" note described a deliberate DB reclassification workaround that existed only because + ErsatzTV could not consume `MusicVideo` items — ersatztv#42 shipped that sync, so the workaround's + premise is gone. Verified live: the `Music Videos` library (`/data/music`, collection type + `musicvideos`) holds 1437 items typed `MusicVideo` and **zero** typed `Movie`. Query with + `includeItemTypes=MusicVideo`. (Reclassification to `Movie` may still apply to concert/standup content + in the `movies`/`mixed` libraries — that is a different set; see the server-management jellyfin skill.) +- **`Album` is not an `ItemFields` value.** It is a plain `BaseItemDto` property serialized whenever set, + so it comes back regardless of the `fields=` query param — do NOT add it to `fields` (verified: 111 of + 1437 music videos returned `Album` with `fields=Path` alone). Contrast `Genres`/`People`/`Chapters`, + which ARE `ItemFields` and must be requested. Check the enum before extending `fields`. +- **`IndexNumber` is the track number; `ParentIndexNumber` is the disc/season axis.** Frequency misleads + here — on the live music video library `ParentIndexNumber` is populated on 66 items vs 4 for + `IndexNumber`, but where both exist `ParentIndexNumber` is `1` while `IndexNumber` holds the real + ordinal, and where only `ParentIndexNumber` exists it is a collection grouping tracking the album + (`Glastonbury: 2022` -> 230). `AlbumId` is always null on these items. - Music library at `/data/music` maps to `/mnt/media/music_videos` on host (not actual music) - Items return 404 on stream if source volume is unmounted - Jellyfin preserves item IDs across restarts unless files are renamed