Assuming I have an MP4/M4V file of a TV show. The file has the necessary metadata so it can be imported into iTunes and you'll see the all the relevant information. Using AppleScript, one can extract that information using iTunes.
How would one obtain the show name, season and episode of that file using AppleScript without having to import it into iTunes first?
In essence, I have an incoming folder where I can "drop" my movies and tv shows and I'd like to use the script to organize the files without human intervention so that files will follow a naming convention so they are easier to find in the future.