When checking mime type, php sometimes fails to detect mimetype, and giving back "application/octet-stream".
I've tried to check if getid3 php library could do this - but i can't understand to which data/option i can bind, audio data format parameter is also sometimes missing. Is it possible to perform correct check that file is mp3?
Answer given by @gordon is not appropriate(my question was marked as duplicate): PHP how can i check if a file is mp3 or image file? Because, as i wrote, wrong mime type is detected. @gordon, please read questions carefully before marking them duplicate.