I sorry Dozens, -I have fixed it and put it in the post above.
I am also sorry that I haven’t taken the time for testing that folder action of yours, though it should end up to be highly usable. -And not only for mp3. I don’t know where to get mp3’s for download, -that’s the reason.
I think we are getting close to a final edition.
Just wondering if the deletion works now, if you give it “a load” of mp3 files.
YES, YES, YES, YES!!! I think that’s got it! Allow me to possibly ask for two other things.
That this also work for .m4a files. (If not, it’s not a big deal, I can just duplicate the script, edit .mp3 to .m4a and attach it as a second folder action.)
When adding the the tag to the Grouping field, this ADDS ‘singles’ to what is already there (example: “Rolling Stones” becomes “Rolling Stonessingles”). Is there a way to make it REPLACE whatever text is in the Grouping field with the ‘singles’ text?
(Also, if you enjoy doing this scripting, I have a great challenge for you after we complete this if you’re up for it! It’s similar but more involved.)
Yes, it works perfectly as far as deleting ALL the original files, I’ll be trying it again in a few minutes and I promise you I will come back here and let you know of any errors I receive.
Did you edit the way it handles the tagging of the Grouping field?
I personally think this could be a very powerful and useful script for many people, and think you are doing a GREAT service in writing it! Thank you!
In regards to the more complicated script, check out my thread here: http://macscripter.net/viewtopic.php?pid=130173 It’s essentially the same script, but with some added steps for dealing with opening .zip or .rar archives of .mp3 or .m4a files, plus some optional but much wanted add-ons.
All the more reason I hate to tell you that all appears good, but we still have the deletion problem. I just dropped 16 mp3s into the Downloads folder and while it added all 16 to iTunes, I received a series of six errors stating:
“iTunes got an error: File permission error. : -54”
Subsequently, six mp3s were not deleted and those same tracks are the only ones that didn’t not receive the ‘single’ Grouping tag.
Hello. do not delete those files please, Or if you already have, please download them again, so that we can run a script to see what kind of properties those files have, to avoid such problems in the future.
I’ll be back with that script sometime within 24 hours.
Please run this script and choose one or several files that have shown problems.
then paste the report from TextEdit here, so I can see what is wrong.
So we have something more to work on. -Ill probably add some functionality one way or the other.
Be prepared: this script may not work after all. if that is so, then copy and paste the snippet below into a terminal window. Copy the output out of the terminal window and paste it here.
So i tried to run it and it did not work, so i did the Terminal thing, but I’m not really comfortable putting all of what it returns pasted here, or even really in a pm - i’d hope you understand. What part of the returned text do you need?
Hello.
You can email it to me, I need everything of it to find a way to bypass it.
I also need to see the result of this.
ls -l ~/Desktop
I really need to se your username and your group and stuff to fix this.
I’ll respect your privacy concerns and commence by email
Though it would be of interest of post a general solution, without any of your specific data.