1👍
✅
It looks like you are meant to instantiate the MP3
class with a filename, not the file handle. I can’t see an alternative way to instantiate it with the file handle, so I think you’ll have to save the content from request.FILES
to a file, then do MP3(filename)
.
Source:stackexchange.com