diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html index 67010ea..f69cc83 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html @@ -826,7 +826,15 @@ // make an authenticated GET to the server and parse the response as JSON async function getJson(url) { - return await fetchWithAuth(url, "GET").then(r => { return r.json(); }).catch(err => { console.debug(err) }); + return await fetchWithAuth(url, "GET") + .then(r => { + if (r.status == 404) { + return null; + } else { + return r.json(); + } + }) + .catch(err => { console.debug(err); }); } // make an authenticated fetch to the server diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/ConfusedPolarBear.Plugin.IntroSkipper.csproj b/ConfusedPolarBear.Plugin.IntroSkipper/ConfusedPolarBear.Plugin.IntroSkipper.csproj index b7463bf..bc5fb38 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/ConfusedPolarBear.Plugin.IntroSkipper.csproj +++ b/ConfusedPolarBear.Plugin.IntroSkipper/ConfusedPolarBear.Plugin.IntroSkipper.csproj @@ -2,8 +2,8 @@ net6.0 ConfusedPolarBear.Plugin.IntroSkipper - 0.1.16.2 - 0.1.16.2 + 0.1.16.3 + 0.1.16.3 true true enable diff --git a/README.md b/README.md index ba55298..cac5ec8 100644 --- a/README.md +++ b/README.md @@ -32,15 +32,17 @@ All of these requirements can be customized as needed. 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 -4. Enable automatic skipping +4. OPTIONAL: Enable automatic skipping or skip button 1. Go to Dashboard -> Plugins -> Intro Skipper - 2. Check "Automatically skip intros" and click Save + 2. Check "Automatically skip intros" or "Show skip intro button" and click Save 5. Go to Dashboard -> Scheduled Tasks -> Analyze Episodes and click the play button 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) + 1. Build ffmpeg with chromaprint support using brew: ```