Commit Graph
3 Commits
Author SHA1 Message Date
IxianPixel 235c2bf63f Bump version to 0.2.0
CI / test (push) Skipped
CI / test (pull_request) Successful in 1m23s
2026-11-06 17:45:50 +00:00
IxianPixel 25a743b350 Show folder sizes for movies, shows and seasons. Closes #5
CI / test (push) Successful in 1m12s
The library lists now show how much space each movie and show takes on disk, counting everything a move copies, with a per-season breakdown for shows, a running total and a "Largest first" sort.

- sizes.rs: a single background worker measures one folder at a time. Listing returns cached sizes straight away and queues folders; the UI
  polls until every size has arrived.
- Cached in a new folder_sizes table (store migration v2). A size is kept while the folder's signature (mtimes of the folder and its direct
  subfolders) is unchanged, checked at most hourly and re-measured after 7 days.
- Each agent measures its own folders, so peer listings carry the peer's sizes.
- Tests for measuring, signatures, natural season order, the migration, and an e2e test covering both sides and a moved item.
2026-11-06 16:43:52 +00:00
IxianPixel 8ceb3c8be8 Initial code commit
CI / test (push) Successful in 5m7s
2026-11-05 14:19:37 +00:00