SponsorBlock categories (#634)

* SponsorBlock categories

* perf

* remove todo

* tweak

* UI is working

* Lint fix

* changelog

* Bug fix

* Restore timer

* Locale

* Comment

* tweaks

* web app

* remove unsued svelte ignore

* lint web app

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2025-06-01 15:30:58 -04:00
1 parent 0bc5ab6117
commit fcae05a0da
34 files changed
+1039 -422

No files matched your search

+46
View File
@@ -128,6 +128,52 @@
type: "boolean",
defaultValue: true,
},
{
displayText: "Categories",
key: "sponsorblock.categories",
description: "Configure which segments to skip",
type: "assocarray",
visibility: "tv",
rokuComponent: "SponsorBlockCategoriesControl",
defaultValue: {
// TODO:P1 support for exclusive_access and chapter
// TODO:P1 support for manual skip for poi_highlight
sponsor: {
option: "auto_skip",
},
selfpromo: {
option: "manual_skip",
},
interaction: {
option: "manual_skip",
},
poi_highlight: {
option: "show_in_seekbar",
},
intro: {
option: "manual_skip",
},
outro: {
option: "manual_skip",
},
preview: {
option: "manual_skip",
},
filler: {
option: "manual_skip",
},
music_offtopic: {
option: "manual_skip",
},
},
},
{
displayText: "Categories",
key: "sponsorblock.categories",
description: "Configure which segments to skip",
visibility: "web",
svelteComponent: "SponsorBlockCategoriesControl",
},
],
},
{