Created
January 14, 2014 21:28
-
-
Save ceicke/8426099 to your computer and use it in GitHub Desktop.
Using EyeTV, the following two scripts first export the recorded file to your Desktop and then imports it to your iTunes library. Place the scripts into '/Library/Application Support/EyeTV/Scripts/TriggeredScripts' . Make sure to adjust the 'destFolder' variable according to your username.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on ExportDone(recordingID) | |
set destFolder to "Users:ceicke:Desktop:" | |
set tvShow to "bla.mp4" | |
tell application "iTunes" | |
activate | |
set newTVShow to ("Macintosh HD:" & destFolder & tvShow) as alias | |
add newTVShow | |
quit | |
end tell | |
end ExportDone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on RecordingDone(recordingID) | |
set destFolder to "Users:ceicke:Desktop:" | |
set tvShow to "bla.mp4" | |
tell application "EyeTV" | |
set intRecordingId to recordingID as integer | |
export from recording id intRecordingId to file (destFolder & tvShow) as AppleTV replacing yes | |
end tell | |
end RecordingDone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment