diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c53a71c..338b951 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,7 @@ permissions: jobs: build: + if: ${{ ! startsWith(github.event.head_commit.message, 'v0.1') }} runs-on: ubuntu-latest diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html index f69cc83..f396278 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html @@ -462,8 +462,11 @@
- -
+

Fingerprint Visualizer

@@ -763,9 +766,9 @@ } if (timestampError.value == "") { - timestampError.style.display = "none"; + timestampErrorDiv.style.display = "none"; } else { - timestampError.style.display = "unset"; + timestampErrorDiv.style.display = "unset"; } Dashboard.hideLoadingMsg(); @@ -814,7 +817,7 @@ // clear a select of items function clearSelect(select) { timestampError.value = ""; - timestampError.style.display = "none"; + timestampErrorDiv.style.display = "none"; timestampEditor.style.display = "none"; timeContainer.style.display = "none"; canvas.style.display = "none"; diff --git a/README.md b/README.md index cac5ec8..1f0055f 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,14 @@ # Intro Skipper (beta)

-Plugin Banner +

+ Plugin Banner +

+

+ Analyzes the audio of television episodes to detect and skip over intros. +

-Analyzes the audio of television episodes to detect and skip over intros. - ## System requirements * Jellyfin 10.8.4 (or newer) @@ -15,7 +18,7 @@ Analyzes the audio of television episodes to detect and skip over intros. * Debian Linux based native installs: provided by the `jellyfin-ffmpeg5` package * MacOS native installs: build ffmpeg with chromaprint support ([instructions](#installation-instructions-for-macos)) -## Introduction parameters +## Detection parameters Show introductions will be detected if they are: @@ -24,14 +27,15 @@ Show introductions will be detected if they are: Ending credits will be detected if they are shorter than 4 minutes. -All of these requirements can be customized as needed. +These parameters can be configured by opening the plugin settings -## Installation instructions +## Installation ### Step 1: Install the plugin 1. Add this plugin repository to your server: `https://raw.githubusercontent.com/jumoog/intro-skipper/master/manifest.json` 2. Install the Intro Skipper plugin from the General section 3. Restart Jellyfin +### Step 2: Configure the plugin 4. OPTIONAL: Enable automatic skipping or skip button 1. Go to Dashboard -> Plugins -> Intro Skipper 2. Check "Automatically skip intros" or "Show skip intro button" and click Save @@ -39,11 +43,10 @@ All of these requirements can be customized as needed. 6. After a season has completed analyzing, play some episodes from it and observe the results 1. Status updates are logged before analyzing each season of a show -## Installation instructions for MacOS - -macOS 12 or newer can install the [portable jellyfin-ffmpeg](https://github.com/jellyfin/jellyfin-ffmpeg) +## Installation (MacOS) 1. Build ffmpeg with chromaprint support using brew: + - macOS 12 or newer can install the [portable jellyfin-ffmpeg](https://github.com/jellyfin/jellyfin-ffmpeg) ``` brew uninstall --force --ignore-dependencies ffmpeg @@ -53,9 +56,15 @@ brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-chromaprint brew link --overwrite ffmpeg ``` -2. Retrieve ffmpeg path with `whereis ffmpeg` and use this path on Jellyfin under [encoding settings](http://localhost:8096/web/index.html#!/encodingsettings.html) +2. Open ~/.config/jellyfin/encoding.xml and add or edit the following lines + - Replace [FFMPEG_PATH] with the path returned by `whereis ffmpeg` -3. Follow the [installation instructions](#installation-instructions) above +``` +[FFMPEG_PATH] +[FFMPEG_PATH] +``` + +4. Follow the [general installation instructions](#installation) above ## Documentation