Repository navigation
Conversation
This was referenced Nov 14, 2026
There was a problem hiding this comment.
🟡 Changes recommended
Clean-checkout CI cannot package or publish because the new MSBuild prerequisite requires Read Along npm dependencies that the workflow never installs.
3 open issues
What changed in this PR
Adds optional EPUB Read Along to Audibly’s existing audiobook player, using local alignment for synchronized highlighting and word seeking without introducing a second playback engine.
Changes:
- Adds paired audio/EPUB import, managed attachments, validated timing maps, progress reporting and cancellation.
- Adds a native reader and mini-player captions with paragraph restoration and saved appearance settings.
- Bundles alignment dependencies and adds isolated Windows installation tooling, regression checks and documentation. Native interaction and audible synchronization remain pending manual verification.
| File | Description |
|---|---|
tools/read-along/verify.mjs |
Checks alignment, cache reuse and unreliable-match rejection. |
tools/read-along/verify-protected-cache.mjs |
Checks protected Windows cache handling without new inference. |
tools/read-along/verify-gpu.mjs |
Adds a fresh DirectML inference check. |
tools/read-along/verify-formats.mjs |
Checks M4B, M4A and ordered multi-file MP3 alignment. |
tools/read-along/verify-epub2.mjs |
Checks EPUB 2 conversion and text preservation. |
tools/read-along/verify-ambiguity.mjs |
Checks suppression of overlapping cues. |
tools/read-along/prepare-epub.mjs |
Validates EPUBs and upgrades EPUB 2 working copies. |
tools/read-along/poc.mjs |
Adds a sample CPU alignment runner. |
tools/read-along/package.json |
Declares local alignment and runtime dependencies. |
tools/read-along/create-sample.ps1 |
Generates matching sample speech and EPUB fixtures. |
tools/read-along/convert.mjs |
Converts verified media overlays into source-local cues. |
tools/read-along/align.mjs |
Coordinates alignment, fingerprints, caching and progress. |
Start-ReadAlong.ps1 |
Builds, registers and launches an isolated development app. |
README.md |
Links to Read Along documentation. |
NuGet.Config |
Configures NuGet and Toolkit Labs package sources. |
Install-ReadAlong.ps1 |
Invokes the local installation mode. |
docs/read-along.md |
Documents setup, usage, architecture and limitations. |
docs/read-along-ui-audit.md |
Records presentation changes and outstanding manual checks. |
docs/read-along-evidence.json |
Records sample alignment and format results. |
Audibly.sln |
Includes the Read Along library and regression runner. |
Audibly.ReadAlong/StorytellerProcessor.cs |
Runs the alignment worker with cancellation and diagnostics. |
Audibly.ReadAlong/ReadingPreferences.cs |
Defines and normalizes appearance settings. |
Audibly.ReadAlong/ReadingLayout.cs |
Restores EPUB paragraphs without changing cue timing. |
Audibly.ReadAlong/ReadAlongStore.cs |
Persists attachments and validates saved maps. |
Audibly.ReadAlong/ReadAlongExcerpt.cs |
Creates bounded caption excerpts with preserved cue offsets. |
Audibly.ReadAlong/FailureReport.cs |
Builds copyable, size-limited diagnostic reports. |
Audibly.ReadAlong/CaptionGap.cs |
Adds source-local gap classification logic. |
Audibly.ReadAlong/AudiobookImportSelection.cs |
Validates audio-plus-optional-EPUB selections. |
Audibly.ReadAlong/Audibly.ReadAlong.csproj |
Defines the independent .NET core library. |
Audibly.ReadAlong/AlignmentProgress.cs |
Parses and validates structured worker progress. |
Audibly.ReadAlong/AlignmentProcessingException.cs |
Carries diagnostic-log paths with processing failures. |
Audibly.ReadAlong/AlignmentMap.cs |
Defines fingerprints, cue validation and timing lookup. |
Audibly.ReadAlong.Tests/Program.cs |
Adds core regression checks and real-map validation. |
Audibly.ReadAlong.Tests/Audibly.ReadAlong.Tests.csproj |
Defines the executable regression runner. |
Audibly.App/Views/PlayerPage.xaml.cs |
File-ending formatting only; no behavior change. |
Audibly.App/Views/PlayerPage.xaml |
Hosts the toggleable Read Along panel. |
Audibly.App/Views/NewMiniPlayerPage.xaml.cs |
Loads captions and manages following, sizing and dragging. |
Audibly.App/Views/NewMiniPlayerPage.xaml |
Adds caption presentation and compact controls. |
Audibly.App/Views/LibraryCardPage.xaml.cs |
Updates import labels for EPUB pairing and M4A. |
Audibly.App/ViewModels/PlayerViewModel.cs |
Shares reading state and adds source-aware word seeking. |
Audibly.App/ViewModels/MainViewModel.cs |
Integrates paired import, attachment and player navigation. |
Audibly.App/UserControls/ReadAlongPassage.cs |
Renders clickable text, highlights and word scrolling. |
Audibly.App/UserControls/ReadAlongPanel.xaml.cs |
Coordinates preparation, loading, diagnostics and following. |
Audibly.App/UserControls/ReadAlongPanel.xaml |
Defines preparation controls and the virtualized reader. |
Audibly.App/UserControls/ReadAlongAppearance.xaml.cs |
Applies appearance changes and resets. |
Audibly.App/UserControls/ReadAlongAppearance.xaml |
Adds font, colour and caption-opacity controls. |
Audibly.App/UserControls/PlayerControlGrid.xaml.cs |
Handles Read Along toggling and player entry. |
Audibly.App/UserControls/PlayerControlGrid.xaml |
Adds the Read Along book-icon toggle. |
Audibly.App/Services/FileImportService.cs |
Includes M4A in directory imports. |
Audibly.App/Package.appxmanifest |
Adds the M4A file association. |
Audibly.App/Helpers/WindowHelper.cs |
Configures the caption window, dragging and icon path. |
Audibly.App/Helpers/ReadAlongAppearanceSettings.cs |
Persists appearance settings and broadcasts changes. |
Audibly.App/Audibly.App.csproj |
Bundles runtime/assets and adds core and SDK references. |
Audibly.App/App.xaml.cs |
Resolves the main-window icon from the install directory. |
.gitignore |
Excludes local research, samples and generated archives. |
Review effort: Balanced
Comment on lines
+281
to
+283
| <Target Name="CheckReadAlongRuntime" BeforeTargets="PrepareForBuild" Condition="'$(DesignTimeBuild)' != 'true'"> | ||
| <Error Condition="!Exists('..\tools\read-along\node_modules\node\bin\node.exe') Or !Exists('..\tools\read-along\node_modules\@storyteller-platform\align\package.json')" | ||
| Text="Prepare bundled Read Along dependencies before building: npm ci --prefix tools/read-along (from the repository root)." /> |
| await new ReadAlongStore(ApplicationData.Current.LocalFolder.Path) | ||
| .AttachAsync(imported.Id, selection.EpubPath); | ||
| App.PlayerViewModel.ReadAlongEnabled = true; | ||
| App.RootFrame?.Navigate(typeof(PlayerPage)); |
Comment on lines
+472
to
+475
| if (sourceIndex == book.CurrentSourceFileIndex) | ||
| { | ||
| _pendingReadAlongSeek = null; | ||
| CurrentPosition = TimeSpan.FromSeconds(seconds); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Audiobook listeners can attach a matching EPUB and follow its published words in the existing player. This adds local word alignment, highlighting and click-to-seek using the original MediaPlayer, plus dark-backed captions above the movable mini-player.
Changes
Validation
Remaining review/testing
This is a draft because native appearance, colour-picker interactions, DPI scaling, drag/pin, actual click-to-seek, playback speed and audible synchronization still require manual verification. Automated model tests and successful compilation do not verify those interactions.
Preparation remains tied to the main reader panel, so unloading it can cancel its worker. Structurally unusual EPUB chapters can retain their original sentence layout. Genuine unmatched audio stays unhighlighted. The local installer uses a registered development package and existing Windows/.NET runtimes. PowerShell syntax checks pass. Local installation was exercised successfully: the app launches from the local Programs directory, Start shows Audibly, the desktop shortcut uses the app icon, installed files match the tested build, and both existing Read Along book attachments remain ready. The original Store app remains separate. A signed consumer installer/release has not been produced.
See
docs/read-along.mdanddocs/read-along-ui-audit.mdfor setup, evidence and limitations. The change also includes the package-feed/Windows SDK projection fixes required to build the existing upstream dependency versions in the tested environment.Original licensing is retained. Generated sample files, personal books, library databases, caches, models, binaries and machine-specific research outputs are excluded from the tracked contribution.
Review fixes and reader update — 19 November 2026
Addressed the three Copilot findings:
The reader layout now uses a compact title/filename toolbar, Aa controls and an overflow settings flyout. Setup controls are replaced by the transcript once a book is ready; progress/errors appear only when relevant. Appearance controls use colour swatches, expanding the picker only when editing a colour.
The mini-player now supports read-back without rewinding: scrolling pauses text following while playback continues, and Follow narration returns to the live words. It shares the saved paragraph list with native virtualization and renders browsing text read-only, preventing accidental word-click seeks. No new audio analysis or second player is involved.
Validation: 285 C# regression checks; Windows x64 build; real Windows MediaPlayer source-identity/readiness smoke check without audio playback; clean source export + npm ci + unsigned Release MSIX packaging + unpackaged publishing. The actual MSIX payload was inspected for executable, runtime and icon assets. The updated local app was installed and launched, its binaries/XAML matched the tested build, and both saved alignments remained unchanged.
No GitHub-hosted CI success is claimed: dispatch on the fork returned 404 for an unregistered workflow despite its file being present. Native visual appearance and live UI gesture/click verification remain outstanding because computer use is disabled; source/layout review and successful compilation are not substitutes for those checks. This PR remains a draft.