[library] Listening: the audiobook position as an event (latest write wins), replayed by the export

This commit is contained in:
2026-11-17 21:27:26 +01:00
parent 5f2cd1b7c1
commit bb0a63a173
6 changed files with 48 additions and 6 deletions
+6
View File
@@ -180,6 +180,12 @@ pub enum Op {
list: String,
upto: u32,
},
/// Day 4: where an audiobook file is, to the millisecond (the latest write wins, so any device resumes there).
AudioPosition {
book: String,
sha256: String,
ms: u64,
},
/// Day 3: a book file is an edition in another language (`None`: it is the book's own language again).
Edition {
book: String,