Hey,
Just trying to do some simple things in Python on a .wav file.
When i mouse hover over the .wav file in windows explorer, I can see the ID Tag info fine. But when I try and query it, I get nothing.
I'm using 64bit Windows 7, which may be the problem (?)
Code (changed comments from hash to // ):
Here's the result:
props: dBpoweramp__ CD (Lossless)ps(0% Compressed)rmat [.wav]
tag:
Number idTags: 0
How can i get the tag information that I can see in windows fine?
Cheers!
Just trying to do some simple things in Python on a .wav file.
When i mouse hover over the .wav file in windows explorer, I can see the ID Tag info fine. But when I try and query it, I get nothing.
I'm using 64bit Windows 7, which may be the problem (?)
Code (changed comments from hash to // ):
Code:
import win32com.client dmc = win32com.client.Dispatch("dMCScripting.Converter") // Read audio properties on file audioProperties = dmc.AudioProperties("test.wav") print "props:", audioProperties // Read ID_Tag tagValue = "" i = 0 while tagValue is not None: tagValue = dmc.ReadIDTagElementValue("test.wav", i) print "tag: ", tagValue if tagValue == "": break i += 1 print "Number idTags: ", i
props: dBpoweramp__ CD (Lossless)ps(0% Compressed)rmat [.wav]
tag:
Number idTags: 0
How can i get the tag information that I can see in windows fine?
Cheers!
Comment