You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

đź“° Newsroom Update

Billie Eilish is Apple Music’s Artist of the Year for 2024. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Consolidate script

Using script for iTunes to consolidate files, got this error message. Advice please.

Jack

(And thanks for all your excellent work)


Posted on Jun 30, 2024 7:06 AM

Reply
2 replies

Jun 30, 2024 9:13 AM in response to hobeydoyle

Hi Jack,


Looking at line 778 in that script it reads:


Library=iTunes.LibraryXMLPath


and is part of a routine that tries to determine where your media files are currently stored. I guess this may cause an error if iTunes isn't actively generating an XML file. It used to by default but that is clearly no longer the case.


For a quick workaround use Edit > Preferences > Advanced and tick Share iTunes Library XML with other applications, which should create the XML, and make that request valid.


I'm somewhat busy today but it looks like I need to revisit every script that uses that module and trap that error. Fun times.


tt2

Consolidate script

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.