Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

krojsy

macrumors newbie
Original poster
Sep 24, 2013
1
0
hi there,

brand new to this forum, brand new to mac pretty much, and not much good with anything other than basics with anything with buttons

i have moved all of my tvshows movies and music to a NAS and imported into itunes. i had the folders and itunes booting through the standard system options. this works for the most part however when itunes loads before the folders are mounted the artwork disappears, and sometimes the files cant be played on iTunes at all. deleting and reimporting fixes it until the next time it happens. so mounting the folders first, then itunes opening i figure will fix the problem

another complication: sometimes my wifi drops out, causing the folders not to be mounted at all.

so i read about applescript being able to delay the opening of the items, but i dont know how to write one.

best thing i figure is, have the apple script mount the folders, and then itunes can open too. so can this be done? i mean if the folders dont mount, can something be written stopping itunes from opening also?

thanks!

chris
 
Try something like this in Applescript, then put the Applescript in your login items.

Code:
tell application "Finder"
    try
        mount volume "PATH"
    end try
end tell
delay 10
tell application "iTunes"
    activate
end tell

Do a Get info on the mounted drive to get the path info and put that in place of the PATH comment above. So that line would look something like this:

Code:
mount volume "afp://TC_Network._afpovertcp._tcp.local/TC_Disk/"

You can increase/decrease the delay to fine tune it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.