NBS-LLC / ng-spotify-importer

Import playlists into Spotify.
https://nickwanders.com/projects/ng-spotify-importer/
GNU General Public License v3.0
100 stars 17 forks source link

Error: Invalid CSV Playlist - First row must be a header containing the columns TITLE and ARTIST. #221

Closed abolition123 closed 10 months ago

abolition123 commented 1 year ago

Hi,

I have exported the shazaam csv and tried to import it but i get the error from the title.

Error: Invalid CSV Playlist - First row must be a header containing the columns TITLE and ARTIST.

What to do?

Cheers!

NBS-LLC commented 1 year ago

Please attach a sample of the CSV. I'll take a look :)

abolition123 commented 1 year ago

Hi,

Thanks for te quick reply 👍

Please find attached.

Kind regards,

Bruno Fabijanić

On Sun, 26 Mar 2023, 18:25 Network Based Solutions, LLC, < @.***> wrote:

Please attach a sample of the CSV. I'll take a look :)

— Reply to this email directly, view it on GitHub https://github.com/NBS-LLC/ng-spotify-importer/issues/221#issuecomment-1484149587, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOI5VKSGKOG4ZHXQCSNGWK3W6BUWZANCNFSM6AAAAAAWIDVBPI . You are receiving this because you authored the thread.Message ID: @.***>

NBS-LLC commented 1 year ago

I don't think you can reply with an attachment via email.

See if replying directly via GH works. Otherwise please inline the first 10 rows of the CSV.

gregorybelhumeur commented 11 months ago

I ran into the same issue.

Here's the top rows of my CSV :

TITLE, ARTIST
"Les eaux de mars", "Stacey Kent"
"The Look of Love", "Diana Krall"
"Sympathique", "Pink Martini"
"La Javanaise", "Madeleine Peyroux"
"Don't Know Why", "Norah Jones"
NBS-LLC commented 11 months ago

@gregorybelhumeur thanks for the sample. Looks like I have a bug in how the header is parsed.

As a workaround just remove the space so it becomes: TITLE,ARTIST

NBS-LLC commented 10 months ago

Fixed in v1.4.3 which has been deployed to production. Closing.