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 segment = new Intro(timestamp);
|
||||||
|
|
||||||
var config = Plugin.Instance!.Configuration;
|
var config = Plugin.Instance!.Configuration;
|
||||||
|
segment.IntroEnd -= config.SecondsOfIntroToPlay;
|
||||||
if (config.PersistSkipButton)
|
if (config.PersistSkipButton)
|
||||||
{
|
{
|
||||||
segment.ShowSkipPromptAt = segment.IntroStart;
|
segment.ShowSkipPromptAt = segment.IntroStart;
|
||||||
@ -100,8 +101,6 @@ public class SkipIntroController : ControllerBase
|
|||||||
segment.IntroEnd);
|
segment.IntroEnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
segment.IntroEnd -= config.SecondsOfIntroToPlay;
|
|
||||||
|
|
||||||
return segment;
|
return segment;
|
||||||
}
|
}
|
||||||
catch (KeyNotFoundException)
|
catch (KeyNotFoundException)
|
||||||
|
@ -8,6 +8,14 @@
|
|||||||
"category": "General",
|
"category": "General",
|
||||||
"imageUrl": "https://raw.githubusercontent.com/jumoog/intro-skipper/master/images/logo.png",
|
"imageUrl": "https://raw.githubusercontent.com/jumoog/intro-skipper/master/images/logo.png",
|
||||||
"versions": [
|
"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",
|
"version": "0.1.12.0",
|
||||||
"changelog": "- See the full changelog at [GitHub](https://github.com/jumoog/intro-skipper/blob/master/CHANGELOG.md)\n",
|
"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