• 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
Re: How to write song tags with iTunes and Scripting Bridge
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to write song tags with iTunes and Scripting Bridge


  • Subject: Re: How to write song tags with iTunes and Scripting Bridge
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 09 Sep 2011 12:48:07 -0700

On Mon, 05 Sep 2011 17:44:35 +0200, David Dengg <email@hidden> said:
>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

This implies that you have set the title (name) to "missing value".

Under what circumstances could such failure take place? I've been mass-processing iTunes tracks by changing their names via scripting for years, and I've *never* seen a failure. Perhaps it would help if you showed more about your code. In particular I'm feeling somewhat suspicious about where you're getting the value of newSongTitle from, but that's just a guess - as it would have to be, given that you're not providing any specific information about what you're doing. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________

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: Re: How to write song tags with iTunes and Scripting Bridge
  • Previous by thread: How to write song tags with iTunes and Scripting Bridge
  • Next by thread: Re: How to write song tags with iTunes and Scripting Bridge
  • Index(es):
    • Date
    • Thread