spotify-connect
spotify-connect copied to clipboard
Allow playlist URLs to be passed as an argument to be played
Add the ability to specify a playlist url (such as https://open.spotify.com/playlist/37i9dQZEVXcVX6t8dPiGLW) when playing a playlist, this way people can play from a public playlist that isn't their list. I would do this myself, since all that's required is to bypass the playlist lookup/name matching and pass the argument into the Spotify lib (if it starts with https:), but I do not have the config files to run this myself and haven't gone through to work backwards to find all of the config/env values
i personally don't have the time to work on this project anymore. here's a config template if you (or anyone else) wants to pick it up, perfect for a hacktoberfest PR :^)
{
"BOT_TOKEN": "",
"BOT_DEFAULT_PREFIX": "s;",
"BOT_SECRET": "",
"BOT_OWNER_ID": "284122164582416385",
"WEB_PORT": 8081,
"WEB_DOMAIN": "https://spotify-connect.aeth.dev",
"WEB_SECRET": "",
"SPOTIFY_ID": "",
"SPOTIFY_SECRET": ""
}
you can set up the symlinked modules (@sc/*
) with the following set of commands:
mkdir ./node_modules/@sc
cd ./node_modules/@sc
ln -sf ../../src/lib/* .
Is the callback to your website required for this to work? If the functionality (minus the redirect page message) works without that, I can make that work. I assumed that it was required though, which probably wouldn't work without the correct secret key
You can set the callback URL to your own website or localhost for testing.