Repository navigation
feat(daemon): read the AniList list - #86
Merged
Merged
Conversation
The list is read at the start, each refresh, on a miss and on a login.
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.
The daemon reads the account's AniList list, files it in the store and decides the names of files against it. A supervised task,
list, reads at the times[list]names: as the daemon starts, everyrefresh, after a login and on a miss.on_missafter the last reading.BENSHI_TOKEN_ANILISTwhere it is set, and else the one the secret store keeps, read without asking to unlock.recognition::Currentholds the recogniser the rounds decide against. A round takes it once as it begins, and a reading replaces it. The daemon starts with a recogniser of the list the store holds.stopped by.A live run in a session of its own, with the token of a test account in
BENSHI_TOKEN_ANILIST: the daemon read a list of one entry, recognised a file of it that mpv played and recorded the episode.cargo test --workspacepasses, 1070 tests.