Re: HELP Remove Missing Tracks from iTunes Library
Re: HELP Remove Missing Tracks from iTunes Library
- Subject: Re: HELP Remove Missing Tracks from iTunes Library
- From: Simon Brown <email@hidden>
- Date: Fri, 07 Feb 2003 20:24:16 +0000
Ahh... Sounds like an out of memory problem - maybe??. Sorry about that.
When I was testing it on my complete library (about 1800 items) it worked
APART FROM when I asked it to LOG the contents of the 'sellItems' variable,
when it just returned too big a list for the script editor's event log to
handle. R U using OSX? - I'm using 9.1 myself on an ageing 7500 PowerMac
with a G3 card so I haven't tested any of my stuff on OSX.
I believe there are some utilities at www.osaxen.com or the Applescript
Sourcebook web-site that allow the allocation of more memory to run scripts
that handle large quantities of data, but I've not needed them myself (when
scripts I use run out of memory I've usually rewritten them to do the job in
a different way). Like you suggested, maybe it's time to ask some of the
more experienced members of this list for help.
For now you might have to just clean your library in batches. How many
tracks have you got in yours?
If nobody else can suggest anything better I'll have a look at breaking the
job down into batches in the script and will update you when I'm done. I'm
working on something else at the moment though, so don't hold your breath.
I think allocating more memory might be the way to go if you can, especially
if you're not dealing with significantly more tracks than I've got in my
library.
Best regards
--
Simon
--------------
>
From: Pete Dako <email@hidden>
>
Date: Fri, 7 Feb 2003 13:47:55 -0500
>
To: email@hidden
>
Subject: Re: HELP Remove Missing Tracks from iTunes Library
>
>
Hi again Simon...
>
>
> Glad you liked the script. I only wrote it a couple of days ago.
>
>
It's very useful yes... however, I have discovered something
>
interesting in that it gives an error when I do a select all... or
>
simply select TOO MUCH -- doesn't understand the variable much like
>
the apple version then... let's see
>
>
"The variable sellitems is not defined"
>
>
> I'm a newbie on the applescript-users list and was feeling like a bit of a
>
> leech. I've had lots of questions for the gurus, so I'm really glad to have
>
> been able to help out in a small way.
>
>
Perhaps some of the list gurus could get involved with fixing the
>
original apple.com script, then? It's kind of lame that Apple hasn't
>
fixed it themselves, since they are posting it for the public to
>
demonstrate AppleScript. Don't they know how to fix it, either?
>
>
> I didn't know there were any Apple-generated ones for iTunes.
>
>
Yes! I posted the url to those apple iTunes scripts awhile back. do
>
you have it... let's see:
>
>
At 12:49 PM -0500 1/30/03, Pete Dako wrote:
>
> Apple's AppleScript website has provided some good example scripts
>
> for iTunes which can be found in a file called
>
> "itunes-scripts.OSX.sit" (http://www.apple.com/applescript/itunes/
>
> ).
>
>
Check them out, I don't think any others were broken. Well worth looking at!
>
Plus they add "Menu-Sharing" to iTunes so you can have an iTunes Scripts Menu.
>
>
best, PETE
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.