William Tanksley Jr 3e40e0f268 feat: first-class account re-registration lifecycle with automatic throttling recovery (#2126) (#2145)
* feat(domain): add RequiresReRegistration and ThrottledDeviceRecovery policy

- Add Account.RequiresReRegistration property and HasObsoleteDeviceRegistration predicate
- Update AccountCredentialStatus to treat RequiresReRegistration as missing credentials
- Introduce ThrottledDeviceRecovery service to detect throttling on obsolete profiles and mark accounts for re-registration
- Add unit tests for Account, AccountCredentialStatus, and ThrottledDeviceRecovery

* feat(core): enforce interactive re-registration across API and download queue

- Intercept RequiresReRegistration in ApiExtended, invalidate tokens during login, and reset flag upon success
- Add LicenseDeniedThrottledRecovered queue status and user message
- Update ProcessBookViewModel, ProcessQueueViewModel, and _ProcessableOptionsBase to handle throttled recovery during liberation

* feat(ui): add Widevine re-registration prompts and CLI status reporting

- Prompt to mark accounts for re-registration when Widevine is enabled in Avalonia and WinForms
- Guard settings toggle against passive navigation/loading events and revert cleanly on cancel
- Show 're-login needed' in 'list-accounts' and automatically re-register in 'login-external'
- Add CLI tests for re-registration detection and flow in LoginExternalOptionsTests

* docs: document automatic registration recovery and rate limiting guidance

- Clarify distinction between device-registration throttling and volume rate limits
- Document automatic settings migration and re-registration flow across GUI and CLI
- Advise using Daily Download Limit when bulk re-downloading after scanning for higher quality audio
- Remove obsolete manual account deletion and JSON editing instructions

* feat(ui): automatically enable Widevine and re-register accounts when upgrading book quality

When upgrading audio quality via 'Scan Audible for Higher Quality Audio',
marking books for re-download previously left Widevine disabled and accounts
under legacy registrations, causing subsequent downloads to re-acquire the
existing lower-quality AAC-LC stream.

- Update FindBetterQualityBooksViewModel.MarkBooksAsync() to return a
  MarkBooksResult and automatically enable Widevine and Request xHE-AAC
  when higher-quality streams are selected.
- Thunk accounts to CurrentAndroid and mark them for re-registration via
  ThrottledDeviceRecovery so that Widevine-protected and higher-quality
  codecs can be licensed without manual troubleshooting.
- Alert user in Avalonia and WinForms dialogs when settings and
  registrations have been automatically upgraded.
- Fix broken sentence and note daily download limits and rate limiting in
  FindBetterQualityBooksViewModel.InitialMessage.
- Add unit tests in FindBetterQualityBooksViewModelTests covering clean and
  upgraded re-registration paths.

* feat(accounts): add 'Signed in?' checkbox to mark accounts for re-registration on save

* docs & fix(recovery): modernize license recovery guidance and document 'Signed in?'

* feat(recovery): automatically enable Widevine and thunk account when ADRM fails (#2083)

- Detects missing ADRM asset (Sable 000307 acr:null) and missing AAX fallback codecs in titles that only deliver via Widevine.
- Instead of merely advising the user to change settings manually, automatically applies recovery via ThrottledDeviceRecovery.ApplyRecovery (sets UseWidevine = true, CurrentAndroid, and marks the account for re-registration).
- Modernizes user-facing dialogs, process queue status, and CLI feedback to explain that Widevine DRM was enabled and a fresh login is required.
2026-11-12 09:54:23 -07:00
2025-12-01 20:39:22 -07:00
2025-12-15 16:05:02 +05:30
2025-04-27 13:15:50 -06:00
2026-08-02 03:22:16 +02:00
2025-12-15 15:34:37 +05:30
2026-07-25 10:24:45 -04:00
2026-07-25 11:11:09 -04:00
2026-03-11 13:23:21 -04:00
2026-09-06 21:27:10 -04:00
2019-10-04 16:02:36 -04:00
2026-10-26 11:04:12 -06:00
2026-10-26 11:04:12 -06:00
2026-08-26 14:04:31 -04:00

Libation: Liberate your Library

Libation is a free, open-source application for downloading and managing your Audible audiobooks. It decrypts your library, removes DRM, and lets you own your audiobooks forever.

Which version should I download? — get a recommended download for your system on our site.

Features

  • Unlock Your Library: Download and remove DRM from your audiobooks.
  • Cross-Platform: Fully supported on Windows, macOS, and Linux.
  • Region Support: Works with Audible regions US, UK, Canada, Germany, France, Australia, Japan, India, and Spain.
  • Advanced Organization: Search, filter, and tag your books.
  • Fast & Efficient: Powered by AAXClean for fast decryption without heavy dependencies like ffmpeg.
  • Import: Easily import your existing library, including cover art.

Getting started with Libation

All documentation has been moved to our new site: getlibation.com. Or jump to the important bits:

Development

Grab the latest release for your platform from the Releases Page.

Documentation

Comprehensive documentation is available in the docs directory and on our Documentation Site.

Development & Contributing

We welcome contributions!

Community & Support

  • Issues: Report bugs or request features.
  • Donate: Support the project if you find it useful.

License

Libation is released under the GPL-3.0 License


If you found this useful, tell a friend. If you found this REALLY useful, you can donate here ...or just tell more friends. As long as I'm maintaining this software, it will remain free and open source.

Description
No description provided
Readme GPL-3.0 152 MiB
Languages
C# 97.5%
Shell 1.5%
JavaScript 0.4%
Vue 0.3%
PowerShell 0.1%