Lightw3ight / PlayMeExtension

A Chrome extension for the Play Me jukebox
5 stars 3 forks source link

Add Spotify Auth and Playlists #7

Closed overflew closed 5 years ago

overflew commented 6 years ago

Best feature ever.

Spotify auth:

Spotify Playlists:

overflew commented 6 years ago

Remaining work:

CSS: Pretty things up

I've created the sh-ffs style, as I'm not sure what default spacing Material is supposed to provide...

Things I'd like to fix:

Remaining features:

overflew commented 6 years ago

NB: Will check the auth flows for if the user opens the Spotify sign in dialog, then cancels. Currently seeing: Cannot read property 'match' of undefined around:

window.chrome.identity.launchWebAuthFlow({
            'url': loginUrl,
            'interactive': !silentMode
        }, (requestUrl) => {
            let hashMatch = requestUrl.match('#.*');
            let hash = hashMatch[0].substring(1); // cut off leading #