Oct 13, '06 07:30:04AM • Contributed by: Anonymous
Getting iTunes to automatically import and correctly organize the video is tricky.
The last step of EyeTV's 'Export to iPod' process is supposed to import to the EyeTV playlist to iTunes. But that isn't working for me right now. Also, iTunes has the very handy ability to organize your TV shows by show and episode, but EyeTV exported videos are handled as simple movies instead.
So I wrote an AppleScript to:
- Get all the files in your Movies directory (EyeTV's default location for exported video files)
- Filter out any that don't end in .m4v (EyeTV's default file extension for exported video files)
- Filter out any that have been modified in the last few minutes (still being exported)
- Add them to the EyeTV playlist in iTunes (must exist already)
- Set the iTunes 'video kind' tag to 'TV show'
- Parse the filename into the 'show' and 'name' iTunes video tags
- Stick the original name in the comments field, just in case
- Delete the original file
This is fairly new development. Please post back with improvements.
