From 165725bb7185a5813927fde366d821f21e3e5728 Mon Sep 17 00:00:00 2001 From: Pavel Komarov Date: Tue, 3 Dec 2024 14:14:39 -0800 Subject: [PATCH] made title line all one line of code to try to fix offset-by-4 issue --- exportify.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exportify.js b/exportify.js index cc0ce44..9d2ad37 100755 --- a/exportify.js +++ b/exportify.js @@ -272,8 +272,7 @@ let PlaylistExporter = { features = features.flat() // get rid of the batch dimension (only 100 songs per call) data.forEach((row, i) => features[i]?.forEach(feat => row.push(feat))) // make a string - let csv = "Track ID,Track Name,Album Name,Artist Name(s),Release Date,Duration (ms),Popularity,Added By,Added At,Genres,Record Label,\ - Danceability,Energy,Key,Loudness,Mode,Speechiness,Acousticness,Instrumentalness,Liveness,Valence,Tempo,Time Signature\n" + let csv = "Track ID,Track Name,Album Name,Artist Name(s),Release Date,Duration (ms),Popularity,Added By,Added At,Genres,Record Label,Danceability,Energy,Key,Loudness,Mode,Speechiness,Acousticness,Instrumentalness,Liveness,Valence,Tempo,Time Signature\n" data.forEach(row => { csv += row.join(",") + "\n" }) return csv })