Compare commits

..

No commits in common. "absolute-zero" and "10.10" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -227,7 +227,7 @@ public class PluginConfiguration : BasePluginConfiguration
/// <summary> /// <summary>
/// Gets or sets the amount of intro to play (in seconds). /// Gets or sets the amount of intro to play (in seconds).
/// </summary> /// </summary>
public int RemainingSecondsOfIntro { get; set; } public int RemainingSecondsOfIntro { get; set; } = 2;
/// <summary> /// <summary>
/// Gets or sets the amount of intro at start to play (in seconds). /// Gets or sets the amount of intro at start to play (in seconds).

View File

@ -935,8 +935,6 @@
persistSkip.addEventListener("change", persistSkipChanged); persistSkip.addEventListener("change", persistSkipChanged);
var remainingSecondsOfIntro = document.getElementById("RemainingSecondsOfIntro")
async function pluginSkipSettingChanged() { async function pluginSkipSettingChanged() {
if (pluginSkip.checked) { if (pluginSkip.checked) {
serverSkipSettings.style.display = "unset"; serverSkipSettings.style.display = "unset";
@ -946,7 +944,6 @@
autoSkip.checked = false; autoSkip.checked = false;
skipButtonVisible.checked = false; skipButtonVisible.checked = false;
persistSkip.checked = false; persistSkip.checked = false;
remainingSecondsOfIntro.value = 0;
} }
} }
@ -1612,7 +1609,7 @@
fetchWithAuth("Episode/" + lhsId + "/Timestamps", "POST", JSON.stringify(newLhs)); fetchWithAuth("Episode/" + lhsId + "/Timestamps", "POST", JSON.stringify(newLhs));
fetchWithAuth("Episode/" + rhsId + "/Timestamps", "POST", JSON.stringify(newRhs)); fetchWithAuth("Episode/" + rhsId + "/Timestamps", "POST", JSON.stringify(newRhs));
Dashboard.alert("New segment timestamps saved"); Dashboard.alert("New introduction timestamps saved");
}); });
document.addEventListener("keydown", keyDown); document.addEventListener("keydown", keyDown);
windowHashInterval = setInterval(checkWindowHash, 2500); windowHashInterval = setInterval(checkWindowHash, 2500);