Closed LeedsJohn closed 6 months ago
I think that I was wrong about this - sorry! However, I am changing it slightly so that you cannot overwrite with an edited version (although if you guys think that we should be able to overwrite a song when editing it, let me know)
At the moment, if we're editing a sound and saving it as a new sound with the same name, the original sound will be removed. The edited sound is added to the
sounds/
directory which is good, but it isn't added to the database which is a problem. There are a couple ways we could fix this -1) calling the
addSound()
function for that new sound 2) Not allowing users to overwrite a sound with an edited version (I strongly prefer this solution)