We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yishn/spotify-lyrics#3
diff --git a/index.js b/index.js index a08e7dd..255fee1 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ var wintools; var spotifyWebHelperWinProcRegex; // Default port that Spotify Web Helper binds to. -var DEFAULT_PORT = 4370; +var DEFAULT_PORT = 4381; var DEFAULT_RETURN_ON = ['login', 'logout', 'play', 'pause', 'error', 'ap'] var DEFAULT_RETURN_AFTER = 1 var ORIGIN_HEADER = { 'Origin': 'https://open.spotify.com' } @@ -155,7 +155,7 @@ function SpotifyWebHelper(opts) { var localPort = opts.port || DEFAULT_PORT; function generateSpotifyUrl(url) { - return util.format("https://%s:%d%s", generateRandomLocalHostName(), localPort, url) + return util.format("http://%s:%d%s", generateRandomLocalHostName(), localPort, url) }
The text was updated successfully, but these errors were encountered:
Change to HTTP for linux compatability
54da3fe
Should fix nadavbar#11
Add protocol selection.
31d5a6e
Defaults is http and 4381 for wider compatability. Should fix nadavbar#11 and maybe nadavbar#10
Successfully merging a pull request may close this issue.
yishn/spotify-lyrics#3
The text was updated successfully, but these errors were encountered: