Hello, I came across the same problem as you.
I googled my problem and i found the answer, when you create a playlist, it
is 'only' an IITPlaylist.
In opposition with the IITUserPlaylist, you are unable to use the method
"Addtrack(the_track)".
This is why you need to 'populate' it, using the insta
t, and it should then happen
everywhere you run it.
HTH,
Mark
-Original Message-
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] Behalf Of *Alden Lavizzo
*Sent:* Friday, 2 February 2007 6:43 AM
*To:* python-win32@python.org
*Subject:* [python-win32] iTunes COM using Python win32
Hi
PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alden Lavizzo
Sent: Friday, 2 February 2007 6:43 AM
To: python-win32@python.org
Subject: [python-win32] iTunes COM using Python win32
Hi,
The following code works perfectly well on one of my machines, but gives
me an error on another:
Hi, The following code works perfectly well on one of my machines, but
gives me an error on another: iTunesApp =
WScript.CreateObject("iTunes.Application"); pl =
iTunesApp.LibraryPlaylist
tracks = pl.Tracks
myTrack = tracks[0] myNewList = iTunesApp.CreatePlaylist("My New List")
myNewList.AddTrack(