mueslimak3r / tv-intro-detection

This project tries to detect intros of tv series by comparing pairs of episodes to find the largest common subset of frames.
https://mueslimak3r.github.io/tv-intro-detection/
GNU General Public License v3.0
81 stars 3 forks source link

Can this skip outros too? #24

Open Yankees4life opened 2 years ago

Yankees4life commented 2 years ago

Maybe I'm talking crazy here but I like to be a bit more hands off with my remote while binge-watching. Is there anyway to add a json so that I could not only skip intros but outros too?

mueslimak3r commented 2 years ago

Skipping outros should be fairly easy to add. By checking the end of videos instead of the beginning it should just work

Yankees4life commented 2 years ago

Cool. Thanks in advance

mueslimak3r commented 2 years ago

Update on this: As mentioned, the detection of outros will probably be the easy part. The difficult part is making the code support more than just intros in a sensible way. Since the code has gotten kinda messy already, my plan for this is to rewrite most of it around the Kodi EDL format (https://kodi.wiki/view/Edit_decision_list). Additionally, the new code will be written with additional detection methods in mind such as audio fingerprinting.

There's no timeline for this rn

Yankees4life commented 2 years ago

Sounds cool. I do wish that the jellyfin developers got around to supporting EDL files. Emby and Plex are passing them by in that category so if you rebuilt this into a tool that uses edl files to skip intro/outros(even commercials), that would be cool and certainly worth the wait 🤣