Audible's Android sign-in page links "Sign in with an Audible Username"
to audible://view?section=authportal&pageType=private, which only the
Audible app opens. In the embedded browser the click did nothing, so
username accounts set to a normal region had no way forward (#2169).
Both login dialogs now cancel audible:// navigations and tell the user
to switch the account to a pre-amazon locale, or back to a normal one
for the reverse link. The prefill script also fills the pre-amazon
username field (#ap_email), which it missed before, and no longer
overwrites a field that already has a value.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Upgrade AudibleApi NuGet package reference from 14.1.2 to 14.1.3
- Support Bearer access token authentication alongside ADP request signing
- Proactively validate tokens and evaluate account SignInStatus (None, Modern, Legacy)
- Add tri-state 'Signed in?' checkbox in Avalonia and WinForms Accounts dialogs
- In ApiExtended, dynamically set Api.AuthenticationMethods based on tokens held by account
- Handle legacy credential rejections gracefully and guide user to re-authenticate
- In CLI, report modern vs legacy authentication status and support forced re-login
- Add comprehensive unit tests and user documentation
AudibleApi 14.1.3 preserves and rethrows the primary ApiErrorException
when the secondary AAX download fallback fails, rather than swallowing
it and throwing ApplicationException("Book has no codec specified").
With AudibleApi 14.1.3:
- Bump AudibleApi package reference to 14.1.3
- Remove NoCodecSpecifiedMarker, NoAvailableCodecsMarker, and
IsAaxFallbackMissingCodecError from WidevineRecommendation
- Restore ShouldRecommendWidevine signature to take ApiErrorException
- Update catch clauses in ProcessBookViewModel and _ProcessableOptionsBase
to catch ApiErrorException directly
- Remove obsolete codec-missing tests in WidevineRecommendationTests
* 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.
* Fix Linux WebView blank window on Wayland and improve sign-in logging (#2129)
- Set WEBKIT_DISABLE_COMPOSITING_MODE=1 and WEBKIT_DISABLE_DMABUF_RENDERER=1
on Linux startup in Program.cs so WebKitGTK does not fail silently on
Wayland/Xwayland when hardware acceleration or DMABUF compositing is buggy.
- Add Configuration.IsWayland and Configuration.IsWaylandSession in
LibationFileManager to detect Wayland desktop sessions.
- In AvaloniaLoginChoiceEager, only set gtkArgs.ForceX11GdkBackend = true when
not running in a Wayland session (!Configuration.IsWayland). On Wayland
(e.g. Fedora KDE Plasma 6), forcing X11 forces Xwayland, causing compositor
mismatches and blank rendering.
- Add debug/warning logging for WebView adapter creation, navigation start,
success, and failure in AvaloniaLoginChoiceEager.
- Add unit tests for Configuration.IsWaylandSession in LibationFileManager.Tests.
* Support RPM 4.20+ isolated build directory in Bundle_Redhat.sh
RPM 4.20 introduced per-package build directory isolation (%mkbuilddir),
which runs %install in %{_builddir}/%{name}-%{version}-build rather than
%{_builddir}. This caused Bundle_Redhat.sh to fail on newer runners
(e.g. GitHub Actions Ubuntu 26.04) because files were staged in %{_builddir}.
In %install, detect if files are not present in the current working directory
and copy them from %{_builddir}.
- Pin SkiaSharp back to 3.119.4 in LibationUiBase to match Avalonia.Skia's
expected native Skia milestone and restore the sk_fontmgr_ref_default export.
- Wrap BuildAvaloniaApp()?.SetupWithoutStarting() in Program.cs in try/catch to
prevent InvalidOperationException ('Setup was already called on one of
AppBuilder instances') when startup faults inside AppBuilder.Setup().
- Add TryShowFallbackAlert in Program.cs to output to stderr and trigger a
native OS dialog (osascript display alert on macOS, MessageBoxW on Windows)
when Avalonia cannot initialize its UI subsystem.
- Set NativeWebDialog.UserAgent in AdapterCreated instead of passing a full
User-Agent header to ApplicationNameForUserAgent (which caused WebKit2GTK
webkit_settings_set_user_agent assertion failures on Linux).
- Set gtkArgs.ForceX11GdkBackend = true when requesting the GTK WebView
environment.
- Recognize GTK initialization failures (InvalidOperationException 'Unable to
initialize GTK', libgtk-3/libgdk-3 DllNotFoundException, and exceptions
originating from GtkNativeWebViewDialog/AvaloniaGtk) in
WebView2LoginErrorMessage so async void NativeWebDialog.Show() failures
fault BrowserLoginAsync instead of leaving tcs.Task waiting forever,
allowing StartAsyncInternal to fall back to LoginExternalDialog.
The step runner and the background download both log and swallow their
exceptions, so a failed download reached the queue only as "Decrypt
failed". The existing disk-full handling never ran and the user got the
generic Abort/Retry/Ignore dialog.
Keep the exception on NetworkFileStream and AudiobookDownloadBase.
DownloadDecryptBook rethrows it when it is a disk-full error, so hosts
match on the exception, and otherwise adds its message to the
StatusHandler.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>