cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 🍃
charm
leaflet
readability
golang
1---
2title: Media Organization
3sidebar_label: Organization
4description: Keep queues manageable with filters, reviews, and note links.
5sidebar_position: 5
6---
7
8# Media Organization
9
10Media entries share the same database as tasks and notes, so you can cross-reference everything. This page outlines the practical workflows for keeping large queues in check.
11
12## Tags and Categories
13
14Dedicated media tags have not shipped yet. Until they do:
15
16- Use the free-form `Notes` column (populated automatically from Open Library or Rotten Tomatoes) to stash keywords such as “Hugo shortlist” or “Documentary”.
17- When you need stricter structure, create a note that tracks an ad-hoc category and reference media IDs inside it:
18
19```markdown
20## Cozy backlog
21- Book #11 – comfort reread
22- Movie #25 – rainy-day pick
23```
24
25Full-text search (`noteleaf note list` → `/` and search) will surface the note instantly, and the numeric IDs jump you right back into the media commands.
26
27## Custom Lists
28
29You already get status-based filters out of the box:
30
31```sh
32noteleaf media book list --reading
33noteleaf media movie list --watched
34noteleaf media tv list --all | rg "FX" # filter with ripgrep
35```
36
37For more bespoke dashboards:
38
391. Use `noteleaf status` to grab the SQLite path.
402. Query it with tools like `sqlite-utils` or `datasette` to build spreadsheets or dashboards.
413. Export subsets via `sqlite3 noteleaf.db "SELECT * FROM books WHERE status='reading'" > reading.csv`.
42
43That approach keeps the CLI fast while still letting you slice the data any way you need.
44
45## Ratings and Reviews
46
47The database schema already includes a `rating` column for every media type. Rotten Tomatoes/Open Library populate it with critic hints for now; personal star ratings will become editable in a future release.
48
49Until then, keep reviews as regular notes:
50
51```sh
52noteleaf note create "Thoughts on Book #7"
53```
54
55Inside the note, link back to the record (`Book #7`, `Movie #18`, etc.) so searches tie everything together. Because notes live on disk you can also version-control your reviews.
56
57## Linking Media to Notes
58
59There is no special “link” command yet, but the following pattern works well:
60
611. Create a dedicated note per book/movie/show (or per collection).
622. Add a heading with the media ID and paste the generated markdown path from `noteleaf article view` or the queue list.
633. Optionally embed checklists or quotes gathered while reading/watching.
64
65Example snippet:
66
67```markdown
68### Book #7 — Project Hail Mary
69- Status: reading (45%)
70- Tasks: todo #128 covers the experiment described in chapter 12
71- Next action: finish Part II before Friday
72```
73
74Because tasks, notes, and media share the same SQLite file, future automation can join across them without migrations. When official linking lands it will reuse these IDs, so the prep work you do now keeps paying off.