python-soundfile
python-soundfile copied to clipboard
Unable to copy value of extra_info to a new variables
trafficstars
When I try to do this
val = file.extra_info
I get this error
TypeError: initializer for ctype 'struct SNDFILE_tag *' must be a cdata pointer, not NoneType
I am able to do this just fine tho
print(file.extra_info)
I want to put thew value of extra_info into a json response
This sounds like the file might not contain any extra info?