diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html index c280d94..647c30f 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html @@ -150,8 +150,6 @@ - - diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Data/EdlAction.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Data/EdlAction.cs index 55bc1c1..165b703 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Data/EdlAction.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Data/EdlAction.cs @@ -11,32 +11,22 @@ public enum EdlAction None = -1, /// - /// Completely remove the intro from playback as if it was never in the original video. + /// Completely remove the segment from playback as if it was never in the original video. /// - Cut, + Cut = 0, /// /// Mute audio, continue playback. /// - Mute, + Mute = 1, /// /// Inserts a new scene marker. /// - SceneMarker, + SceneMarker = 2, /// - /// Automatically skip the intro once during playback. + /// Automatically skip once during playback. /// - CommercialBreak, - - /// - /// Show a skip button. - /// - Intro, - - /// - /// Show a skip button. - /// - Credit, + CommercialBreak = 3 } diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Manager/EdlManager.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Manager/EdlManager.cs index c6edfc8..dd8fc4b 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Manager/EdlManager.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Manager/EdlManager.cs @@ -97,14 +97,7 @@ public static class EdlManager edlContent += Environment.NewLine; } - if (action == EdlAction.Intro) - { - edlContent += credit?.ToEdl(EdlAction.Credit); - } - else - { - edlContent += credit?.ToEdl(action); - } + edlContent += credit?.ToEdl(action); } File.WriteAllText(edlPath, edlContent);