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)