Re: Accessing iTunes with Python via the Windows SDK

2007-05-24 Thread kyosohma
On May 24, 12:59 am, Denrael <[EMAIL PROTECTED]> wrote: > On May 24, 12:17 am, Tony Meyer <[EMAIL PROTECTED]> wrote: > > > On May 24, 4:23 pm, Denrael <[EMAIL PROTECTED]> wrote:> I've been playing > > with the iTunes sdk on windows, and have come across > > > a strange problem. With the following

Re: Accessing iTunes with Python via the Windows SDK

2007-05-23 Thread Denrael
On May 24, 12:17 am, Tony Meyer <[EMAIL PROTECTED]> wrote: > On May 24, 4:23 pm, Denrael <[EMAIL PROTECTED]> wrote:> I've been playing > with the iTunes sdk on windows, and have come across > > a strange problem. With the following code: > > The object you get back from iTunes.CurrentTrack (the t

Re: Accessing iTunes with Python via the Windows SDK

2007-05-23 Thread Tony Meyer
On May 24, 4:23 pm, Denrael <[EMAIL PROTECTED]> wrote: > I've been playing with the iTunes sdk on windows, and have come across > a strange problem. With the following code: > > import win32com.client > iTunes = win32com.client.gencache.EnsureDispatch("iTunes.Application") > curr = iTunes.CurrentT

Accessing iTunes with Python via the Windows SDK

2007-05-23 Thread Denrael
I've been playing with the iTunes sdk on windows, and have come across a strange problem. With the following code: import win32com.client iTunes = win32com.client.gencache.EnsureDispatch("iTunes.Application") curr = iTunes.CurrentTrack name = curr.Name skipped = curr.SkippedCount skipdate = curr.