From 9a50a7ce912e401222018da1b328bdb84be11b03 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 28 Mar 2024 10:44:24 +0200 Subject: [PATCH] add newline --- src/client/components/downloaders/Spotify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/downloaders/Spotify.ts b/src/client/components/downloaders/Spotify.ts index 3494671..8822f3e 100644 --- a/src/client/components/downloaders/Spotify.ts +++ b/src/client/components/downloaders/Spotify.ts @@ -143,7 +143,7 @@ class SpotifyDownloader extends Downloader return reject(new Error('Got bad output from zotify (could not find file name) and could not find by ID from cache file')); } const { file, name } = match.groups!; - fs.appendFileSync(path.join(this.downloadDir!, '.song_ids'), `${id}\t${(new Date()).toLocaleString('sv')}\t${name}\t${file}`); + fs.appendFileSync(path.join(this.downloadDir!, '.song_ids'), `${id}\t${(new Date()).toLocaleString('sv')}\t${name}\t${file}\n`); data = this.#parseFilename(file); } if (!data)