Merge pull request #53 from RepoDevil/master
Ignore user selected intro duration
This commit is contained in:
commit
86222c24ab
@ -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)
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user