MarcvsHR / Gosling

Happy Little Audio Manager
0 stars 0 forks source link

save is broken atm, doesn't delete files #9

Closed PROdotes closed 3 years ago

PROdotes commented 3 years ago

as stated, save function doesn't delete the old file and just makes a duplicate needs to also throw an error message for "later" that the user can see

PROdotes commented 3 years ago

Found the bug, Media is not releasing properly and there's no way to tell it to do it by force

https://bugs.openjdk.java.net/browse/JDK-8118993

PROdotes commented 3 years ago

https://github.com/wkpark/JLayer

That's a possible alternative... but volume is done by gain... and file seeking by frames... has built in getRawID3v2... dunno about save

PROdotes commented 3 years ago

ATM it's fixed by creating a temp mp3 file when you play it... it's kinda fixed but I will keep it open to see if there's a bug with the temp file not deleting in time or stuff like that cause there's no error handling for it atm

PROdotes commented 3 years ago

i'll consider this fixed for now but there should be a better way of playing mp3s... but since a copy is being played this now works