From 4fef6dcfa08bd365a8f8fd03a5b3514c8a1bf9e3 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 17 Aug 2021 21:03:36 -0400 Subject: [PATCH] Remove preview category auto enable --- src/config.ts | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/config.ts b/src/config.ts index 7baf2999..5e25f774 100644 --- a/src/config.ts +++ b/src/config.ts @@ -379,25 +379,6 @@ function migrateOldFormats(config: SBConfig) { } } - // Adding preview category - if (!config["previewCategoryUpdate"]) { - config["previewCategoryUpdate"] = true; - for (const selection of config.categorySelections) { - if (selection.name === "intro" - && selection.option === CategorySkipOption.AutoSkip || selection.option === CategorySkipOption.ManualSkip) { - - // Add a default skip option for preview category - config.categorySelections.push({ - name: "preview" as Category, - option: CategorySkipOption.ManualSkip - }); - // Ensure it gets updated - config.categorySelections = config.categorySelections; - break; - } - } - } - if (config["disableAutoSkip"]) { for (const selection of config.categorySelections) { if (selection.name === "sponsor") {