diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html index 9a9587c..1055234 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html @@ -218,8 +218,45 @@
- Fingerprint Visualizer + Advanced +

Select episodes to manage

+ + +
+ + + +
+
+ + +
+
+ +

Fingerprint Visualizer

Interactively compare the audio fingerprints of two episodes.
The blue and red bar to the right of the fingerprint diff turns blue @@ -257,14 +294,6 @@
- - -
- - - -
- Shift amount:
@@ -272,30 +301,6 @@

- -
-
- -

-
-
-
@@ -682,13 +687,23 @@ e.preventDefault(); }); btnSeasonEraseTimestamps.addEventListener("click", () => { - const show = selectShow.value; - const season = selectSeason.value; + Dashboard.confirm( + "Are you sure you want to erase all timestamps for this season?", + "Confirm timestamp erasure", + (result) => { + if (!result) { + return; + } - const url = "Intros/Show/" + encodeURIComponent(show) + "/" + encodeURIComponent(season); - getJson(url, "DELETE"); + const show = selectShow.value; + const season = selectSeason.value; - Dashboard.alert("Erased timestamps for " + season + " of " + show); + const url = "Intros/Show/" + encodeURIComponent(show) + "/" + encodeURIComponent(season); + getJson(url, "DELETE"); + + Dashboard.alert("Erased timestamps for " + season + " of " + show); + } + ); }); btnUpdateTimestamps.addEventListener("click", () => { const lhsId = selectEpisode1.options[selectEpisode1.selectedIndex].value;