The item lists don't show how big anything is, so there's no way to tell which moves would free the most space, or whether something will fit on the destination.
Movies: the size of the movie's whole folder: every version, subtitles, NFOs, artwork and extras. That's exactly what a move copies.
TV Shows: the size of the whole show, plus a size for each season.
Notes
Measure the folder on disk, not what Jellyfin reports. Jellyfin's media sources only give the video file sizes, not subtitles, artwork or extras. Each agent should add up its own folders, using the agent-namespace path (path_map.to_local), and return the sizes with the items. The peer reports sizes for its own side.
Cache the results. Walking every folder on each list load will be slow on the big NAS. Keep sizes in the store, keyed by folder, and refresh them in the background (e.g. when a folder's modified time changes, or after a move touches it). The list can show sizes as they arrive rather than waiting for all of them.
Use the same units as the job log (human_bytes: KB/MB/GB/TB, base 1000).
Ignore the .jellymove-partial/ and .jellymove-trash/ folders. Trash sizes belong in the trash view (#3).
Season sizes need a per-season list in the UI, which #4 also adds. Whichever lands first should build it.
Done when
Each movie and show in both lists shows its size on disk, and each season shows its own size.
Opening a library on the NAS doesn't wait on a full walk of every folder.
## What's needed
The item lists don't show how big anything is, so there's no way to tell which moves would free the most space, or whether something will fit on the destination.
- **Movies:** the size of the movie's whole folder: every version, subtitles, NFOs, artwork and extras. That's exactly what a move copies.
- **TV Shows:** the size of the whole show, plus a size for each season.
## Notes
- **Measure the folder on disk, not what Jellyfin reports.** Jellyfin's media sources only give the video file sizes, not subtitles, artwork or extras. Each agent should add up its own folders, using the agent-namespace path (`path_map.to_local`), and return the sizes with the items. The peer reports sizes for its own side.
- **Cache the results.** Walking every folder on each list load will be slow on the big NAS. Keep sizes in the store, keyed by folder, and refresh them in the background (e.g. when a folder's modified time changes, or after a move touches it). The list can show sizes as they arrive rather than waiting for all of them.
- Use the same units as the job log (`human_bytes`: KB/MB/GB/TB, base 1000).
- Ignore the `.jellymove-partial/` and `.jellymove-trash/` folders. Trash sizes belong in the trash view (#3).
- Season sizes need a per-season list in the UI, which #4 also adds. Whichever lands first should build it.
## Done when
- Each movie and show in both lists shows its size on disk, and each season shows its own size.
- Opening a library on the NAS doesn't wait on a full walk of every folder.
ClaudeBot
added this to the v0.2.0 milestone 2026-11-06 16:19:56 +01:00
Movies and shows show their size on disk, counting the same files a move copies. Shows can be expanded to see each season folder's size, and the list can be sorted largest first.
Each agent measures its own folders with a single background worker, one folder at a time. Sizes are cached in SQLite (migration v2), so opening a library returns straight away and the UI fills in sizes as they arrive.
A cached size is kept while the folder's signature (modified times of the folder and its direct subfolders) is unchanged. The signature is checked at most hourly, and every folder is measured again after 7 days.
The season breakdown lists every subfolder of the show, so extras folders appear too. #4 will use Jellyfin's season list for moving seasons.
Done in 25a743b3504f0a31237e620abff86cb9f2178374 on `develop`, for v0.2.0.
- Movies and shows show their size on disk, counting the same files a move copies. Shows can be expanded to see each season folder's size, and the list can be sorted largest first.
- Each agent measures its own folders with a single background worker, one folder at a time. Sizes are cached in SQLite (migration v2), so opening a library returns straight away and the UI fills in sizes as they arrive.
- A cached size is kept while the folder's signature (modified times of the folder and its direct subfolders) is unchanged. The signature is checked at most hourly, and every folder is measured again after 7 days.
- The season breakdown lists every subfolder of the show, so extras folders appear too. #4 will use Jellyfin's season list for moving seasons.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What's needed
The item lists don't show how big anything is, so there's no way to tell which moves would free the most space, or whether something will fit on the destination.
Notes
path_map.to_local), and return the sizes with the items. The peer reports sizes for its own side.human_bytes: KB/MB/GB/TB, base 1000)..jellymove-partial/and.jellymove-trash/folders. Trash sizes belong in the trash view (#3).Done when
Done in
25a743b350ondevelop, for v0.2.0.