bandnet.org Forums

Full Version: Uploading MP3s to DIR returns 'already in database' error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For my reference and something to do more than anything. Also curious to see if anyone might have found this before and just not posted about it.

Uploading MP3s with tags causes the error to be returned saying the file is already in the database. For some reason it is getting the SHA1 for no tags fine but the SHA1 for the full file is not being picked up somewhere and so the error is reported (empty strings match other empty strings).

Tagless MP3s seem to get both hashes fine and so cause no problems.

Fix shouldn't be too hard. Check the code and see why it might be failing to get the full hash.
Reference URL's