View Single Post
jf4m

 
Member Since: Nov 25, 2011
Posts: 1
jf4m is on a distinguished road

jf4m is offline
Hi everyone, I'm a new poster to the forum but have always searched through your vast knowledge for other issues

I have an unusual setup at home, we have a XServe running 10.5.8 that has hard drive specifically for storing movies and TV shows. With the addition of an AppleTV to our living room, we decided that we would like all of the movies and TV shows added to iTunes. After a ton of converting and adding meta data, I finally have all the files we currently have in iTunes. The problem is, tomorrow when I rip yet another princess DVD for our daughter and add it to the movies folder, how do I get it to be added to iTunes automatically so she can access it through the AppleTV?

I found on DougScripts page the simple applescript for adding to iTunes, but it isn't working for me. I think because of the way we have our folder structure:

Movies
>Action
>>Title 1
>>Title 2
>Family
>>Title 1
>>Title 2
ect....

The script is:
on adding folder items to my_folder after receiving the_files
repeat with i from 1 to number of items in the_files
tell application "iTunes"
launch
try
set this_file to (item i of the_files)

add this_file

end try
end tell
end repeat
end adding folder items to

Please Help! I have worked on it and searched for hours and am at my wits end.
QUOTE Thanks