Merge pull request #53 from RepoDevil/master

Ignore user selected intro duration
This commit is contained in:
TwistedUmbrellaX 2024-03-02 14:29:23 -05:00 committed by GitHub
commit 86222c24ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View File

@ -87,6 +87,7 @@ public class SkipIntroController : ControllerBase
var segment = new Intro(timestamp);
var config = Plugin.Instance!.Configuration;
segment.IntroEnd -= config.SecondsOfIntroToPlay;
if (config.PersistSkipButton)
{
segment.ShowSkipPromptAt = segment.IntroStart;
@ -100,8 +101,6 @@ public class SkipIntroController : ControllerBase
segment.IntroEnd);
}
segment.IntroEnd -= config.SecondsOfIntroToPlay;
return segment;
}
catch (KeyNotFoundException)

View File

@ -8,6 +8,14 @@
"category": "General",
"imageUrl": "https://raw.githubusercontent.com/jumoog/intro-skipper/master/images/logo.png",
"versions": [
{
"version": "0.1.13.0",
"changelog": "- See the full changelog at [GitHub](https://github.com/jumoog/intro-skipper/blob/master/CHANGELOG.md)\n",
"targetAbi": "10.8.4.0",
"sourceUrl": "https://github.com/jumoog/intro-skipper/releases/download/v0.1.12/intro-skipper-v0.1.13.zip",
"checksum": "73bf30290dce30dd8d9c08a01e90d326",
"timestamp": "2024-03-02T14:19:36Z"
},
{
"version": "0.1.12.0",
"changelog": "- See the full changelog at [GitHub](https://github.com/jumoog/intro-skipper/blob/master/CHANGELOG.md)\n",