Add YouTube cookie settings and shared session storage - #22
Merged
Merged
Conversation
Share atomic cookie snapshots across desktop settings and CLI imports. Maintain rotations without overwriting newer sessions, bundle the pinned YouTube.js source, and skip media refusals until the next sync. Cover session concurrency, credential boundaries, and native settings with deterministic tests.
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.
When YouTube requests sign-in, users can now open Settings → YouTube or run
listenbox youtube-cookies import <cookies.txt>to save the same Netscape export. The CLI and desktop share a private cookie jar with concurrent snapshot reads, atomic writes, and generation/per-cookie revision checks that protect cookie rotations and user replacements.vendor/. Aube installs from upstream’s unchangedpackage-lock.json; the submodule pins forkmainat600a8cb83ecb5ebd55f7b4723c17e03d3ad19498, which contains the merged two-line source fix.Validation: local
moon ciin the standalone client and parent workspace; deterministic cookie rotation, cross-process atomic updates, settings recovery, and mixed playable/unavailable coverage. A clean source build preserves the upstream lockfile, and the relocated build produces the identical embedded bundle. A separate manual live probe with an isolated cookie profile found three accessible videos and five skips; no credentials or authenticated captures were added to the repository. Native Windows execution was not exercised locally.Source fixes: fork PR, upstream PR. The fork PR is merged, and the client now pins its commit on fork
main. Its source tree is identical to the previously tested feature-branch commit. Local standalone client and parentmoon ciwere checked again for this pin update.