It seems that itunes.convert returns a list of all of the converted tracks, therefore, I needed to do:
convertfile[0].name.set('New Title') since I have a single-element list. Simon Brunning wrote: > On 11/28/06, Jamie Stuart <[EMAIL PROTECTED]> wrote: >> Thanks Simon - I've now got it adding correctly to the playlist but >> still can't seem to set the track name. This is what I was attempting: >> >> convertfile = itunes.convert(addfile) >> convertfile.name.set('New Title') > > Hmmmm. Perhaps what the convert function returns isn't a track? I'm in > meetings all day today, but I'll have a look when I get the chance. > (The referenced for all this stuff is viewable through XCode, BTW. > Open up XCode, select File, Open Dictionary, then iTunes, and the > reference is there.) > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig