You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got all the authentication working now! Thank you for that. My last issue is with playback. I'm trying to play a track using the session variable that is returned to me after logging in. The session object looks like this:
When I call this.session.play('spotify:track:6rPO02ozF3bM7NnOV4h6s2') it returns this error:
I used the debugger tool to find where I think it's coming from: Never mind!
When I step though the debugger it returns here:
I see from this page that the error pops up due to /** The operation failed due to an unspecified issue. */ FOUNDATION_EXPORT NSInteger const SPTErrorCodeFailed;
Am I implementing the play feature incorrectly? What should I do to resolve this problem?
Seems like there are issues with the native side of the plugin. We (Festify Dev Team) will be meeting up for further development likely next week, so we might take a look at this. In the meantime, you could try running your App with the XCode debugger attached (load the cordova project files with XCode and hit play) and step through the native code there. Might yield some more insights. :)
Hey, sorry for all the questions.
I've got all the authentication working now! Thank you for that. My last issue is with playback. I'm trying to play a track using the session variable that is returned to me after logging in. The session object looks like this:
When I call
![screen shot 2017-07-10 at 5 32 48 am](https://user-images.githubusercontent.com/12905197/28012072-ac04858a-6532-11e7-98a4-6df5a649ff1e.png)
this.session.play('spotify:track:6rPO02ozF3bM7NnOV4h6s2')
it returns this error:I used the debugger tool to find where I think it's coming from:
![screen shot 2017-07-10 at 5 48 24 am](https://user-images.githubusercontent.com/12905197/28012337-73b63e52-6533-11e7-93df-99822c858510.png)
Never mind!
When I step though the debugger it returns here:
![screen shot 2017-07-10 at 5 58 55 am](https://user-images.githubusercontent.com/12905197/28012790-e945b836-6534-11e7-8747-59625221d2f5.png)
I see from this page that the error pops up due to
/** The operation failed due to an unspecified issue. */ FOUNDATION_EXPORT NSInteger const SPTErrorCodeFailed;
Am I implementing the play feature incorrectly? What should I do to resolve this problem?
I've been trying to follow your code from here
play(ref) { return this._withSession(s => s.play(ref ? 'spotify:track:' + ref.id : ref), () => Promise.reject()); }
Thanks again for the help!
The text was updated successfully, but these errors were encountered: