I have found that Atomic Parsley will do what I need, not very elegant as I would rather just keep it all within the confines of Applescript and the iTunes dictionary rather than invoking a shell script.
See, I can do this - dead simple:
set theFile to "Users:brantwinter:Desktop:0000000015c80adc.iPad.m4v" as alias
- Code: Select all
tell application "iTunes"
launch
try
add theFile
end try
end tell
But what if I want to change the 'video kind' to TV Show ?
I need to be able to run this:
- Code: Select all
set video kind of ?????? to {TV show}
I dont know how to get a pointer to the newly added file in iTunes.
If I were to use Atomic Parsley I could do this
before importing to iTunes, that way the metadata is already there.
- Code: Select all
do shell script "./AtomicParsley " & theFile & " --stik \"TV Show\" --TVShowName \"Family Guy\""
Any help / examples would be appreciated !