For certain TV Shows I like to save them in my “archive” for viewing later, so I try to label them in a logical fashion. With my current automated system of recording TV shows, removing commercials, and adding in meta data to the mp4 video file, I’ve created a new Applescript that will help rename the video file for my personal archive.
The script is a bit lengthy to post here in text form, so I’m making it available for download from this link. I’m basically using the freeware program called AtomicParsley to extract some meta data from a specified video file (e.g., show name, episode title, season number and episode number) and use that information for defining the file name. For example, my script will take the video recording of an episode from The Walking Dead and will format the name as:
The Walking Dead – Guts – S01E02.mp4
So it has the TV show’s name, episode title, season and episode number all contained in the name of the video file. Again, it is getting all this data from the metadata contained inside the video file (which was added by my recording script).
I’ve got my Applescript set up as an application icon which I can double-click to bring up File Chooser Dialog Window or you can drag video files onto the icon to process the files. This script makes it much easier for me to rename my videos quickly for storage.
Note, that I tried to do the renaming of these videos in this manner after I processed them in my video recording script, but iTunes renames the video file to only the show’s episode name (e.g., “Guts.m4v”) when it automatically processes the file for syncing.