How to write song tags with iTunes and Scripting Bridge
How to write song tags with iTunes and Scripting Bridge
- Subject: How to write song tags with iTunes and Scripting Bridge
- From: David Dengg <email@hidden>
- Date: Mon, 05 Sep 2011 17:44:35 +0200
Hello list,
I have all the songs from iTunes as iTunesFileTracks (via Scripting Bridge). I want to write new tag information back into the tracks. I can do "song.name = newSongTitle;" and that works most of the time. Sometimes it fails. Sometimes it writes "msng" into the name (which is a catatsrophy!). lastError does not recognize this as an error. So the only way to check if it worked is to do " if ( [song.name isEqualTo: newSongTitle]). Thats a really slow and bad solution.
Is there a preferred way to write tags back into the tracks? Should I use apple events directly?
Thank you
David
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden