2022-06-09 14:07:40 -05:00
|
|
|
# Intro Skipper (beta)
|
2020-01-21 13:03:21 +09:00
|
|
|
|
2022-05-18 15:45:25 -05:00
|
|
|
<div align="center">
|
2024-03-12 14:40:07 -04:00
|
|
|
<p>
|
|
|
|
<img alt="Plugin Banner" src="https://raw.githubusercontent.com/jumoog/intro-skipper/master/images/logo.png" />
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Analyzes the audio of television episodes to detect and skip over intros.
|
|
|
|
</p>
|
2022-05-18 15:45:25 -05:00
|
|
|
</div>
|
|
|
|
|
2022-06-22 18:52:47 -05:00
|
|
|
## System requirements
|
|
|
|
|
2022-10-01 18:13:28 -05:00
|
|
|
* Jellyfin 10.8.4 (or newer)
|
|
|
|
* Jellyfin's [fork](https://github.com/jellyfin/jellyfin-ffmpeg) of `ffmpeg` must be installed, version `5.0.1-5` or newer
|
|
|
|
* `jellyfin/jellyfin` 10.8.z container: preinstalled
|
|
|
|
* `linuxserver/jellyfin` 10.8.z container: preinstalled
|
|
|
|
* Debian Linux based native installs: provided by the `jellyfin-ffmpeg5` package
|
2023-05-27 22:21:33 -05:00
|
|
|
* MacOS native installs: build ffmpeg with chromaprint support ([instructions](#installation-instructions-for-macos))
|
2022-06-10 22:52:44 -05:00
|
|
|
|
2024-03-12 14:40:07 -04:00
|
|
|
## Detection parameters
|
2019-02-21 00:36:01 -08:00
|
|
|
|
2024-03-04 08:20:46 -05:00
|
|
|
Show introductions will be detected if they are:
|
2022-05-10 18:24:16 -05:00
|
|
|
|
2024-03-04 08:20:46 -05:00
|
|
|
* Located within the first 25% of an episode or the first 10 minutes, whichever is smaller
|
2022-09-03 01:28:35 -05:00
|
|
|
* Between 15 seconds and 2 minutes long
|
2022-07-08 00:57:12 -05:00
|
|
|
|
2024-03-04 08:20:46 -05:00
|
|
|
Ending credits will be detected if they are shorter than 4 minutes.
|
2022-10-31 01:00:39 -05:00
|
|
|
|
2024-03-12 14:40:07 -04:00
|
|
|
These parameters can be configured by opening the plugin settings
|
2020-03-09 21:17:32 +01:00
|
|
|
|
2024-03-12 14:40:07 -04:00
|
|
|
## Installation
|
2022-10-01 18:13:28 -05:00
|
|
|
|
2023-12-15 17:27:00 +01:00
|
|
|
### Step 1: Install the plugin
|
2023-12-03 01:48:43 +01:00
|
|
|
1. Add this plugin repository to your server: `https://raw.githubusercontent.com/jumoog/intro-skipper/master/manifest.json`
|
2022-05-10 18:24:16 -05:00
|
|
|
2. Install the Intro Skipper plugin from the General section
|
|
|
|
3. Restart Jellyfin
|
2024-03-12 14:40:07 -04:00
|
|
|
### Step 2: Configure the plugin
|
2024-03-09 11:00:37 -05:00
|
|
|
4. OPTIONAL: Enable automatic skipping or skip button
|
2022-06-14 14:36:05 -05:00
|
|
|
1. Go to Dashboard -> Plugins -> Intro Skipper
|
2024-03-09 11:00:37 -05:00
|
|
|
2. Check "Automatically skip intros" or "Show skip intro button" and click Save
|
2022-06-14 14:36:05 -05:00
|
|
|
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
|
2022-05-10 18:24:16 -05:00
|
|
|
1. Status updates are logged before analyzing each season of a show
|
2022-05-10 16:09:27 -05:00
|
|
|
|
2024-03-12 14:40:07 -04:00
|
|
|
## Installation (MacOS)
|
2024-03-09 11:00:37 -05:00
|
|
|
|
2023-05-27 22:21:33 -05:00
|
|
|
1. Build ffmpeg with chromaprint support using brew:
|
2024-03-12 14:40:07 -04:00
|
|
|
- macOS 12 or newer can install the [portable jellyfin-ffmpeg](https://github.com/jellyfin/jellyfin-ffmpeg)
|
2023-05-28 04:17:00 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
brew uninstall --force --ignore-dependencies ffmpeg
|
|
|
|
brew install chromaprint amiaopensource/amiaos/decklinksdk
|
|
|
|
brew tap homebrew-ffmpeg/ffmpeg
|
|
|
|
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-chromaprint
|
|
|
|
brew link --overwrite ffmpeg
|
|
|
|
```
|
|
|
|
|
2024-03-12 14:40:07 -04:00
|
|
|
2. Open ~/.config/jellyfin/encoding.xml and add or edit the following lines
|
|
|
|
- Replace [FFMPEG_PATH] with the path returned by `whereis ffmpeg`
|
|
|
|
|
|
|
|
```
|
|
|
|
<EncoderAppPath>[FFMPEG_PATH]</EncoderAppPath>
|
|
|
|
<EncoderAppPathDisplay>[FFMPEG_PATH]</EncoderAppPathDisplay>
|
|
|
|
```
|
2023-05-28 04:17:00 +01:00
|
|
|
|
2024-03-12 14:40:07 -04:00
|
|
|
4. Follow the [general installation instructions](#installation) above
|
2023-05-28 04:17:00 +01:00
|
|
|
|
2022-06-13 16:16:15 -05:00
|
|
|
## Documentation
|
|
|
|
|
|
|
|
Documentation about how the API works can be found in [api.md](docs/api.md).
|