• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to write song tags with iTunes and Scripting Bridge
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Introductions to OOP? [was: Re: Large over 100K pixel high ruler scroll view]
  • Next by Date: Cocoa USB HID Development - Where to begin
  • Previous by thread: Re: NSURLConnection problem on Mac OS X 10.7
  • Next by thread: Re: How to write song tags with iTunes and Scripting Bridge
  • Index(es):
    • Date
    • Thread