SponsorBlock: fix import (option mapping + enable) and enrich credit #45
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/45/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes SponsorBlock import doing nothing, and expands the in-app explanation + credit (reported from a real SponsorBlock export).
Import was broken two ways:
CategorySkipOptionenum is-1 Disabled, 0 ShowOverlay, 1 ManualSkip, 2 AutoSkip. The parser had0→skip, 2→mute, so an auto-skip sponsor (option 2) imported as mute and a show-overlay category imported as skip. Now:0→showonly, 1→manual, 2→skip, -1→disabled(export mirrors it; CleanWatch'smute, which SponsorBlock has no per-category equivalent for, exports as AutoSkip).Verified against a real SponsorBlock export:
sponsor:2now correctly imports as skip (was "mute"),poi_highlight:1→manual,exclusive_access:0→showonly, userID carried over, round-trip stable.Copy/credit: extends the "what is SponsorBlock" description and rewrites the attribution to credit the creator Ajay Ramachandran and the volunteer community, in en/nl/de/fr.
Config-mapper tests updated to the real enum; 21/21 unit tests pass.
🤖 Generated with Claude Code