Re: Finding file details...

2008-05-30 Thread Kalibr
On May 30, 3:03 pm, Kam-Hung Soh <[EMAIL PROTECTED]> wrote: > Kalibr wrote: > > On May 30, 1:41 am, "Roger Upole" <[EMAIL PROTECTED]> wrote: > >> You can use the shell COM objects to access media properties > >> as shown by Explorer. > > >> import win32com.client > >> sh=win32com.client.Dispatch('S

Re: Finding file details...

2008-05-29 Thread Kam-Hung Soh
Kalibr wrote: On May 30, 1:41 am, "Roger Upole" <[EMAIL PROTECTED]> wrote: You can use the shell COM objects to access media properties as shown by Explorer. import win32com.client sh=win32com.client.Dispatch('Shell.Application') folder= r'M:\Music\Bob Dylan\Highway 61 Revisited' ns=sh.NameSpa

Re: Finding file details...

2008-05-29 Thread Roger Upole
Kalibr wrote: > On May 30, 1:41 am, "Roger Upole" <[EMAIL PROTECTED]> wrote: >> >> You can use the shell COM objects to access media properties >> as shown by Explorer. >> >> import win32com.client >> sh=win32com.client.Dispatch('Shell.Application') >> >> folder= r'M:\Music\Bob Dylan\Highway 61 Rev

Re: Finding file details...

2008-05-29 Thread Kam-Hung Soh
Roger Upole wrote: Kalibr wrote: I've been trying to figure out how to find the details of files (specifically music for now) for a little sorting script I'm making, My aim is to get details on the artist, album, and genre for mp3 and wma files (possibly more in the future). My closest match was

Re: Finding file details...

2008-05-29 Thread Kalibr
On May 30, 1:41 am, "Roger Upole" <[EMAIL PROTECTED]> wrote: > > You can use the shell COM objects to access media properties > as shown by Explorer. > > import win32com.client > sh=win32com.client.Dispatch('Shell.Application') > > folder= r'M:\Music\Bob Dylan\Highway 61 Revisited' > ns=sh.NameSpac

Re: Finding file details...

2008-05-29 Thread Roger Upole
Kalibr wrote: > I've been trying to figure out how to find the details of files > (specifically music for now) for a little sorting script I'm making, > My aim is to get details on the artist, album, and genre for mp3 and > wma files (possibly more in the future). My closest match was when I > stu

Re: Finding file details...

2008-05-29 Thread Mike Driscoll
On May 29, 5:26 am, Kalibr <[EMAIL PROTECTED]> wrote: > On May 29, 7:55 pm, Tim Golden <[EMAIL PROTECTED]> wrote: > > > > > > > You don't say, but I assume you're on Windows since you mention > > GetFileVersionInfo (which doesn't have anything to do with media > > files, by the way) and WMA. There

Re: Finding file details...

2008-05-29 Thread Tim Golden
Kalibr wrote: On May 29, 7:55 pm, Tim Golden <[EMAIL PROTECTED]> wrote: You don't say, but I assume you're on Windows since you mention GetFileVersionInfo (which doesn't have anything to do with media files, by the way) and WMA. There may be packages out there to do all this already but if not y

Re: Finding file details...

2008-05-29 Thread Kalibr
On May 29, 7:55 pm, Tim Golden <[EMAIL PROTECTED]> wrote: > > You don't say, but I assume you're on Windows since you mention > GetFileVersionInfo (which doesn't have anything to do with media > files, by the way) and WMA. There may be packages out there > to do all this already but if not you'll n

Re: Finding file details...

2008-05-29 Thread Tim Golden
Kalibr wrote: I've been trying to figure out how to find the details of files (specifically music for now) for a little sorting script I'm making, My aim is to get details on the artist, album, and genre for mp3 and wma files (possibly more in the future). My closest match was when I stumbled acc

Finding file details...

2008-05-29 Thread Kalibr
I've been trying to figure out how to find the details of files (specifically music for now) for a little sorting script I'm making, My aim is to get details on the artist, album, and genre for mp3 and wma files (possibly more in the future). My closest match was when I stumbled accross PyMedia, bu