Festify / cordova-spotify

:notes: A Cordova / PhoneGap plugin for the Spotify SDKs on iOS and Android
MIT License
23 stars 21 forks source link

Pause, resume, playFromPosition #34

Closed Remco75 closed 6 years ago

Remco75 commented 6 years ago

This is prob more a feature request:

Would be really nice to be able to pause playback and resume from that position.

Simple method would be to store the position when pausing the track, but it would mean we need to be able to play a track starting at a specified position. The SDK should support it, but this plugin not yet as far as i can see.

Any plans on supporting this?

NeoLegends commented 6 years ago

It already is! Just pass null for the track ID and the player will resume the currently loaded track.

Remco75 commented 6 years ago

thats cool! missed that one. Still it would be nice to start at any given position.... So we can skip through tracks with a slider-like component?

what do you think?

NeoLegends commented 6 years ago

Yeah, this would be a nice-to-have.

Festify, however, does not need it, so I'm not sure when we'll ever come around to implement that. PRs definetely welcome on this. :D

NeoLegends commented 6 years ago

Oh btw, the v0.5.0 rewrite has this functionality. :)