Based on earlier work done by Ralf Niedling, I have created a new and improved script that exports from EyeTV to Plex with the following features:
- Transcodes to .mp4 via HandbrakeCLI (already present in Ralf's script)
- Optionally transcodes to .mp4 using Turbo.264
- Writes metadata directly into the file based on the EyeTV program data. For example, season and episode number are written into the file's metadata.
- Writes filenames with appropriate SnnEnn based on EyeTV program data.
- Deletes the file from EyeTV after the recording is successfully exported to Plex.
- Refreshes the Plex library once export is complete.
Using this script, you will no longer need to use any customized scanners or agents in Plex, just let Plex know that the files are there as part of your TV library. The standard Plex Media Server scanner and agent will do the rest.
You can download this script on github.
I hope this works for you EyeTV users. Cheers!