Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Tracks returning error #8

Closed
lordlycastle opened this issue May 30, 2016 · 1 comment
Closed

Upgrade Tracks returning error #8

lordlycastle opened this issue May 30, 2016 · 1 comment

Comments

@lordlycastle
Copy link

I just tried running Upgrade Tracks on iTunes, and I'm getting the following error.
screen shot 2016-05-30 at 21 48 51
Could you have a look? I tried but couldn't find the problem, thanks for the scripts regardless!

@abbeycode
Copy link
Owner

abbeycode commented May 30, 2016

You were probably cloning tags, right? If so, which tags did you select? I'm guessing the exception happened inside the tell block inside the on CloneTracks handler. If you run the script through Script Editor, it will hopefully indicate the line on which the exception occurred. I'm guessing "year", since (a) it's sort of a date, (b) it's cast to an integer in the handler I mentioned, and (c) the «class pYr» mentioned in the error could easily mean "Year".

Assuming that's the field giving you issues, did you assign the Year tag with another script? I've definitely cloned that tag successfully in the past, though I haven't done so in the latest couple iTunes versions, so something could indeed have changed.

When debugging iTunes scripts, I usually make a temporary iTunes library, so I don't risk mangling the one I actually care about. There are instruction on how to do so on an Apple Support page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants