Drop home/ and music/ from canonical layout per owner

Architecture A trimmed to: movies, tv, anime, musicvideos. Removed
mkdir/compose-mount/library-creation curl for home + music. Sections 6
(Music) and the Home-videos category remain in this doc as reference for
re-introduction later.
This commit is contained in:
s8n 2026-05-08 01:49:30 +01:00
parent e19f20eb75
commit 19382879f9

View file

@ -991,11 +991,6 @@ curl -s -X POST $H "$B/Library/VirtualFolders?name=Anime&collectionType=tvshows"
curl -s -X POST $H "$B/Library/VirtualFolders?name=Music%20Videos&collectionType=musicvideos" \
-H "Content-Type: application/json" \
-d '{"LibraryOptions":{"PathInfos":[{"Path":"/media/musicvideos"}]}}'
# Home videos
curl -s -X POST $H "$B/Library/VirtualFolders?name=Home%20Videos&collectionType=homevideos" \
-H "Content-Type: application/json" \
-d '{"LibraryOptions":{"PathInfos":[{"Path":"/media/home"}],"EnableInternetProviders":false}}'
```
After creation, trigger an initial scan: `POST /Library/Refresh`.
@ -1015,12 +1010,15 @@ Jellyfin library per category.
├── tv/ ← collectionType: tvshows
├── anime/ ← collectionType: tvshows (separate library)
├── musicvideos/ ← collectionType: musicvideos
├── music/ ← collectionType: music (future)
├── docs-movies/ ← collectionType: movies (future, optional)
├── docs-tv/ ← collectionType: tvshows (future, optional)
└── home/ ← collectionType: homevideos
└── docs-tv/ ← collectionType: tvshows (future, optional)
```
> `home/` and `music/` libraries removed from the canonical layout per owner
> decision 2026-05-08. Sections 6 (Music) and the Home-videos category remain
> in this doc as reference for re-introduction later — just `mkdir` + add
> library via API when needed.
### 13.2 Why Architecture A (not B or C)
**B (nested, `media/video/{movies,tv,anime}/...`)** — rejected. Adds a
@ -1049,8 +1047,6 @@ or client-facing change needed at migration time.
- One library per `collectionType` is the simplest correct mapping.
- Anime as its own library lets us set provider order and language
preference independently from `tv/`.
- `home/` MUST be a separate library to get `homevideos` collection type
(the only way to disable scrapers for personal media).
### 13.3 Concrete mkdir commands
@ -1062,9 +1058,7 @@ ssh user@192.168.0.100 'mkdir -p \
/home/user/media/movies \
/home/user/media/tv \
/home/user/media/anime \
/home/user/media/musicvideos \
/home/user/media/music \
/home/user/media/home'
/home/user/media/musicvideos'
```
Verify:
@ -1084,8 +1078,6 @@ volumes:
- /home/user/media/tv:/media/tv:ro
- /home/user/media/anime:/media/anime:ro
- /home/user/media/musicvideos:/media/musicvideos:ro
- /home/user/media/music:/media/music:ro
- /home/user/media/home:/media/home:ro
```
The current compose only mounts `movies` and `tv`; extend it before adding
@ -1098,8 +1090,6 @@ Movies library → /media/movies (empty, ready)
TV Shows library → /media/tv (Futurama 1999, S01-S03, 44 eps)
Anime library → /media/anime (empty, ready)
Music Videos lib → /media/musicvideos (empty, ready)
Music library → /media/music (empty, ready)
Home Videos lib → /media/home (empty, ready)
```
---
@ -1140,7 +1130,6 @@ Before declaring a new addition "done":
| Music video | `musicvideos/Artist/Track/` | `Artist - Track.mp4` | `musicvideos` | none |
| Doc film | `movies/Title (year)/` | `Title (year).mkv` | `movies` | TMDb |
| Doc series | `tv/Show (year)/Season 01/` | `Show (year) S01E01.mkv` | `tvshows` | TVDB |
| Home video | `home/YYYY/YYYY-MM-DD Event/` | any | `homevideos` | none |
| Extra (suffix) | `movies/Title (year)/` | `Anything-behindthescenes.mp4` | (parent) | n/a |
| Extra (folder) | `movies/Title (year)/behind the scenes/` | any | (parent) | n/a |