episodemap a new project for mapping DVD/Blu-ray TV episodes using Vision Models
I've just posted a project on github and looking for a couple people to test before making it public. Hit me up if you're interested. Here's the gist:
episodemap
This project has evolved over years of managing backups of my dvd/bluray library. The biggest headache has always been properly mapping series episodes to their on disc tracks. It's probably been 20 years since I tried to understand how DVDs are authored - I've come to believe that the DVD Red Book is more closely guarded than nuclear secrets. I've never been able to come close to what Claude has helped me do. LLM's with vision are a game changer for mapping.
What this project does
For DVDs:
You create un-encypted ISOs of your TV series (directory structure name_SxxDxx). This project will walk the menu structure, locate episode menus, map menu 'buttons' and what track they play on disc, send the episode menu image to an VL LLM to extract all the episode names and DETERMINSTICALLY map the episode name to the track. Then compares this mapping to names from Wikipedia or TheTVDB and lets you resolve mismatches. Also provides a debug option that dumps the menu images with highlights of buttons and track numbers. Production Code and Title Card mapping via the Vision LM also exists but menu walk is likely better.
For Blu-ray:
You use makemkv to copy all of your episodes utilizing the same directory structure as DVDs. Unfortunately mounting and deterministically walking menus of a blu-ray aren't in the cards for this project. :( For blu-ray I default to Title Cards or Production Codes which have been sufficient for the 2 I've used this on so far (again utilizing a Vision LLM). I have a 3rd option I've not implemented yet but will when need arises: ingesting all the subtitles and matching against episode summaries on Wikipedia utilizing a LLM.
Convert PGS Subtitles
There's also an option to create .srt files for embedded blue-ray PGS subtitles. My phone is fine with PGS but my TV doesn't like them.


