mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-09-13 06:07:30 -04:00
Quite a lot of Libation only appears once an account exists, and it is not one switch but two: nothing, one account, or several. The one/many split changes the Import and Remove menus, and the new empty-library panel offers 'Add Account' or 'Scan Library' depending on it. None of that was reachable in a test environment without signing in to Audible, which is how I ended up writing this by hand to check the empty-library states. seed-demo-accounts.cs writes structurally valid but meaningless identities, so Libation counts and lists the accounts and enables everything gated on having one. Any actual scan is refused by Audible, which the script and the docs both say plainly. It appends rather than overwrites, and --clean removes only what it added - the accounts matching demo*@example.com - because this is the file holding real Audible tokens. The first account is demo@example.com, the same one seed-demo-library.cs assigns its books to, so seeding both describes one library instead of two unrelated ones. Co-authored-by: rmcrackan <rmcrackan@gmail.com>