Open frey1esm opened 9 years ago
Trying to run spotify.getPlaylists via:
spotify.getPlaylists
spotify.getPlaylists(session.canonicalUsername, session, function(error,result) { if(error) alert("error: " + error); var playlists = result; });
In my code, the 'session' object does exist and is a proper Spotify session object.
The error is being thrown on line 57 of request.js:
options.uri = options.uri.replace('$U', session.canonicalUsername);
So, is somehow session not getting passed to the plugin???
session
@timflapper - Any thoughts on this issue? 'session' is also not getting passed to www/lib/remote.js.
If your still having this issue, I may have a solution for you.
Trying to run
spotify.getPlaylists
via:spotify.getPlaylists(session.canonicalUsername, session, function(error,result) { if(error) alert("error: " + error); var playlists = result; });
In my code, the 'session' object does exist and is a proper Spotify session object.
The error is being thrown on line 57 of request.js:
options.uri = options.uri.replace('$U', session.canonicalUsername);
So, is somehow
session
not getting passed to the plugin???