alirawashdeh / spotify-playlist-editor-jquery

A node.js web application that allows Spotify users to reorder the tracks in their playlists online.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WARNING

Note: This version of the playlist editor was an experiment and is not maintained. Please see alirawashdeh/spotify-playlist-editor for the new version which doesn't require javascript.

Spotify Playlist Editor

The Spotify Playlist Editor is a node.js web application that allows Spotify users to rearrange tracks in their playlists online.

Currently hosted at www.playlisteditor.com

ScreenShot

But why?

Currently, the Android Spotify app doesn't allow you reorder tracks in your playlists - this must be carried out on the desktop application or iOS app.

Configuration

Log in to Spotify Developer and create an application.

Modify the following part of the index.js file to include the client ID and client secret of your application on Spotify Developer.

var client_id = 'CLIENT_ID_GOES_HERE'; // Your client id
var client_secret = 'CLIENT_SECRET_GOES_HERE'; // Your client secret

Once you have deployed your application, take a note of the URL and update the following part of the app.js file:

var redirect_uri = 'https://www.DEPLOYED_APP.com/callback';

Remember, OAuth requires that callback URLs are hosted using SSL, so ensure that you specify an "HTTPS" URL.

Make sure you then configure the same callback URL against your application at Spotify Developer.

Credits

Thanks to heroku/node-js-getting-started, spotify/web-api-auth-examples and the OpenShift 'nodejs' cartridgefor the vast majority of this code.

About

A node.js web application that allows Spotify users to reorder the tracks in their playlists online.


Languages

Language:JavaScript 72.7%Language:HTML 20.4%Language:CSS 6.8%