librespot icon indicating copy to clipboard operation
librespot copied to clipboard

Problems with username and special characters

Open AmelioIO opened this issue 8 years ago • 6 comments

Hi,

I have the librespot service up and running and can use it with most usernames, but it won't work with mine. My spotify username contains a "|" and a "!".

I tried escaping it after --username but that doesn't work.

Does anybody now how to fix this?

Thanks

AmelioIO avatar Jul 04 '17 14:07 AmelioIO

In Linux use single quotes: --username 'Weird|Name!'

awiouy avatar Jul 06 '17 20:07 awiouy

Thanks for your response. But unfortunatly it won't work with single quotes.

Librespot creates a credentials.json file with my username, but everything after that fails.

Also, when using librespot in discovery mode it will fail cause than there is no place to escape those characters at all.

I'd be glad to give some more information if needed.

Thanks

AmelioIO avatar Jul 07 '17 10:07 AmelioIO

Just got a report of a user failing with the dollar sign ($) in the password, another one with spaces.

Can we up the importance of this issue?

michaelherger avatar Aug 08 '17 21:08 michaelherger

Spotify won't let me do any of $ | ! or spaces in a username when making an account.

Do you have more details than "failing" ? Is there an error message ?

plietar avatar Aug 09 '17 01:08 plietar

#23 was supposed to handle cases with usernames with uppercase characters, which should have fixed special characters as well.

plietar avatar Aug 09 '17 01:08 plietar

@plietar - please see issue #225 (which might be a dupe).

michaelherger avatar Aug 09 '17 04:08 michaelherger