ConfusedPolarBear / intro-skipper

Fingerprint audio to automatically detect and skip intro sequences in Jellyfin
GNU General Public License v3.0
984 stars 363 forks source link

Chapter injection #177

Open Atakku opened 1 year ago

Atakku commented 1 year ago

Describe the feature you'd like added Instead of adding a button that's only accessible in modded web interface, why not just add chapters to the video's metadata, to mark the beginning and the end of intros and even outros?

Atakku commented 1 year ago

Usually anime is partitioned into these sections (with exception of the first episode) image image this is an already chaptered release, but a lot of releases don't have any chapters

prologue (optional) opening the actual show (in this case, part A & part B (usually partitioned for commercial breaks)) ending preview (optional)

in case of anime, you can detect a repetitive section in the beginning (intro) and chapter everything before it's start as prologue, the section itself as opening, and after it would be the actual content you could expand this to detect endings, by looking at past ~5 minutes (rough guess), and do the same thing to detect the start and the end of ending, as well as any potential leftover content (usually preview of next episode, but sometimes it can be funny bloopers/jokes)

jack-mil commented 1 year ago

This would be really cool! Does jellyfin support the EDL files that this plugin can generate? I am using those for playback on Kodi with chapter sections