Skip to content

Fingerprint audio to automatically detect intro and outro segments in Jellyfin

License

Notifications You must be signed in to change notification settings

endrl/jellyfin-plugin-media-analyzer

 
 

Repository files navigation

Jellyfin Media Analyzer

Experimental implementation to add official Intro/Outro (and more) support to Jellyfin. Analyzes the audio of television episodes to detect intros and cedits, for movies detect credits.

If you are looking for a replacement of ConfusedPolarBear Intro Skipper please move on to jumoog Fork

Requirements

  • Jellyfin Server with media segments API!

Installation instructions

  1. Read the Requirements
  2. Add plugin repository to your server: https://raw.githubusercontent.com/endrl/jellyfin-plugin-repo/master/manifest.json
  3. Install the Media Analyzer plugin from the General section
  4. Restart Jellyfin
  5. Go to Dashboard -> Scheduled Tasks -> Analyze Media and click the play button

Related projects

Current changes compared to ConfusedPolarBear

  • Enable Credits detection for episodes and movies (black frame analyzer)
  • No cache option (default: enabled) -> no disk space required
  • Auto analyze after media scanning task ended
  • Filter for tv show names and optional season/s
  • No server side playback influence or frontend script injection (clean!)
  • Move .edl file creation into another plugin
  • Move the extended plugin page for segment edits to a dedicated tool Media Segment Editor
    • move additional meta support per plugin like "get chromaprints of plugin x"

Introduction requirements

Show introductions will only be detected if they are:

  • Located within the first 30% of an episode, or the first 15 minutes, whichever is smaller
  • Between 15 seconds and 2 minutes long

Ending credits will only be detected if they are shorter than 4 minutes.

All of these requirements can be customized as needed.

Debug Logging

Change your logging.json file to output debug logs for Jellyfin.Plugin.MediaAnalyzer. Make sure to add a comma to the end of "System": "Warning"

{
    "Serilog": {
        "MinimumLevel": {
            "Default": "Information",
            "Override": {
                "Microsoft": "Warning",
                "System": "Warning",
                "Jellyfin.Plugin.MediaAnalyzer": "Debug"
            }
        }
       // other stuff
    }
}

About

Fingerprint audio to automatically detect intro and outro segments in Jellyfin

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 60.4%
  • HTML 20.5%
  • Go 13.8%
  • Python 2.6%
  • JavaScript 2.6%
  • Shell 0.1%