diff --git a/README.md b/README.md index 9fb0e60..cdddcc0 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ This file can also be printed at runtime when using the ``--licenses`` option. ## Unofficial Plugin Support -You can enable experimental support for [Skip Intro](https://github.com/ConfusedPolarBear/intro-skipper) in client settings. These are included for convenience only and is not an endorsement or long-term commitment to ensure functionality. See `src/native` for details on what the plugins modify code-wise. +You can enable experimental support for [Skip Intro](https://github.com/jumoog/intro-skipper/) in client settings. These are included for convenience only and is not an endorsement or long-term commitment to ensure functionality. See `src/native` for details on what the plugins modify code-wise. ## Known Issues diff --git a/native/skipIntroPlugin.js b/native/skipIntroPlugin.js index 2c2a89a..2f07bb3 100644 --- a/native/skipIntroPlugin.js +++ b/native/skipIntroPlugin.js @@ -1,4 +1,7 @@ let tvIntro; +let currentSegment; +let currentPlayer; +let skipIntroConfig; class skipIntroPlugin { constructor({ events, playbackManager, ServerConnections }) { @@ -14,6 +17,7 @@ class skipIntroPlugin { if (!enabled) return; // Based on https://github.com/jellyfin/jellyfin-web/compare/release-10.8.z...ConfusedPolarBear:jellyfin-web:intros + // Updated from https://github.com/jumoog/intro-skipper/blob/master/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js // Adapted for use in JMP const stylesheet = `