indynz / eyetv-plex

Scans and creates symlinks for EyeTV recordings in Plex scanner friendly filenames

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EyeTV - Plex renamer

This tiny Ruby script scans "EyeTV Archive" folder for new recordings, and makes a symlink in the Plex folder with Plex's default scanner friendly filename, such as:

Show Name/Season 1/Show Name - 2013-01-02 - Episode Title.m4v

TV show titles and subtitles are parsed from EyeTV's own metadata. You're recommended to scan the created symlink folder with "Plex Series Scanner" and "Personal Media" metadata agent for TV Shows.

By default, the script will look for ~/Documents/EyeTV Archive for EyeTV recordings and creates a symbolic links in ~/Movies/TV Recordings folder. You can change them with EYETV_ARCHIVE and PLEX_FOLDER environment variables.

It is required that you configure EyeTV to export the recordings in the same directory for iOS access. I set to the iPad 720p format which plays nicely with Plex.

You can run this script periodically via crontab, or triggerd from ExportDone event using EyeTV AppleScript integration.

Author

Tatsuhiko Miyagawa

License

MIT

About

Scans and creates symlinks for EyeTV recordings in Plex scanner friendly filenames


Languages

Language:Ruby 100.0%