8 Replies Latest reply: Jul 24, 2014 5:28 AM by Barney-15E
joshpetty Level 1 Level 1

I am trying to build an applescipt to automatically transfer any .mp3 files added to download folder to itunes and then delete the file from download folder. Is there a possible solution?


iOS 6.1.4
Reply by Barney-15E on Sep 12, 2013 7:07 PM Helpful

There is an auto import folder inside the iTunes Media folder.

 

You can make an Automator Folder Action that moves the mp3s into that auto import folder. When you next open iTunes, the files will be imported.

 

Open Automator and choose Folder Action.

Make it look like this:

Screen Shot 2013-09-12 at 9.03.25 PM.png

Save it and when music files arrive in the Downloads folder, they will be moved to the Automatically Add to iTunes folder.

That path is ~/Music/iTunes/iTunes Media/Automatically Add to iTunes

 

The two actions I added are in the Files & Folders Library.

All replies

  • Barney-15E Level 8 Level 8

    There is an auto import folder inside the iTunes Media folder.

     

    You can make an Automator Folder Action that moves the mp3s into that auto import folder. When you next open iTunes, the files will be imported.

     

    Open Automator and choose Folder Action.

    Make it look like this:

    Screen Shot 2013-09-12 at 9.03.25 PM.png

    Save it and when music files arrive in the Downloads folder, they will be moved to the Automatically Add to iTunes folder.

    That path is ~/Music/iTunes/iTunes Media/Automatically Add to iTunes

     

    The two actions I added are in the Files & Folders Library.

  • joshpetty Level 1 Level 1

    Thank you Barney-15E-  My ultimate goal is to build a function to auto-add .mp3 from downloads to itunes, add artwork (obviously this can be done at any point in the work flow), update itunes match, then delete the files locally so they only exist in my match account. 

     

    Do you have any recommendations for this? As you can assume, I am new to working with automater/apple scripts.

     

    Thanks in advance!

  • joshpetty Level 1 Level 1

    After doing some solid research I have found a way to do everything I need! Thanks for your help

  • agranov Level 1 Level 1

    Josh - could you post the solution you found?

     

    thanks!

  • dvdsmoke Level 1 Level 1

    this doesn't work for me at all. following your steps exactly. i'm running OSX 10.9.

     

    help please

  • Barney-15E Level 8 Level 8

    Do you know which part fails. I just checked and the Automatically add folder still works.

    Are the files being moved from downloads to the Automatically Add... folder?

  • dvdsmoke Level 1 Level 1

    the automatically add folder definitely works, but...

     

    as soon as i run the script, before any of the steps are run, a pop up window comes up and tells me i need to add a "get specified finder items" action at the beginning of the script in order for it to work within automator. when i do add that action, it only works on the items i'm specifying.

     

    if i don't add that action, it doesn't work at all. i get a warning on the first step.

     

    this is my first time trying to use automator.

  • Barney-15E Level 8 Level 8

    The Folder Action isn’t supposed to be run from within Automator. You build it and save it and when items are saved to Downloads, it checks to see if they are music files and moves them to the Automatically add... folder.

     

    The warning you see is for testing purposes. Since you can’t simulate saving something into Downloads while testing, you have to give it some other source. When you’re done testing, you remove the Get Specified action and let the Folder Action work on its own.