diff --git a/index.html b/index.html index 100efe6..3944960 100644 --- a/index.html +++ b/index.html @@ -407,6 +407,8 @@

Advanced Settings

if (!existsAlready) fs.writeFileSync(full_song_path, mp3buf); else { console.log('file path set to an existing file', existsAlready); + songID = existsAlready.slice(0, -4); + console.log('bruh', songID) full_song_path = path.join(gd_path, existsAlready); } try {