Merge pull request #71 from RepoDevil/upstream

Update some core documentation
This commit is contained in:
TwistedUmbrellaX 2024-03-11 17:26:15 -04:00 committed by GitHub
commit 15d5c57441
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 15 additions and 5 deletions

View File

@ -826,7 +826,15 @@
// make an authenticated GET to the server and parse the response as JSON // make an authenticated GET to the server and parse the response as JSON
async function getJson(url) { 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 // make an authenticated fetch to the server

View File

@ -2,8 +2,8 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<RootNamespace>ConfusedPolarBear.Plugin.IntroSkipper</RootNamespace> <RootNamespace>ConfusedPolarBear.Plugin.IntroSkipper</RootNamespace>
<AssemblyVersion>0.1.16.2</AssemblyVersion> <AssemblyVersion>0.1.16.3</AssemblyVersion>
<FileVersion>0.1.16.2</FileVersion> <FileVersion>0.1.16.3</FileVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile> <GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>

View File

@ -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` 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 2. Install the Intro Skipper plugin from the General section
3. Restart Jellyfin 3. Restart Jellyfin
4. Enable automatic skipping 4. OPTIONAL: Enable automatic skipping or skip button
1. Go to Dashboard -> Plugins -> Intro Skipper 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 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 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 1. Status updates are logged before analyzing each season of a show
## Installation instructions for MacOS ## 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: 1. Build ffmpeg with chromaprint support using brew:
``` ```