Reply To: [SOLVED] Spotify connect fail to start

Max2Play Home 2016 (en) Forums Max2Play Add-ons [SOLVED] Spotify connect fail to start Reply To: [SOLVED] Spotify connect fail to start

25. November 2017 at 12:25 #32628

Hi Heiner, I follow the github report: https://github.com/plietar/librespot/issues/265

As I presume, the answer is we need to quote the user variable in the command.

Suggestion, can you quote username in spotifyconnect/controller/Setup.php at line 104:

$parameter[] = '--username '.$_REQUEST['username'];

to :

$parameter[] = '--username '."\"".$_REQUEST['username']."\"";

Thanks 😉