Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running 'next' returns previous track #17

Closed
developius opened this issue Dec 1, 2015 · 7 comments
Closed

Running 'next' returns previous track #17

developius opened this issue Dec 1, 2015 · 7 comments

Comments

@developius
Copy link
Contributor

When running
SpotifyControl next
the previous track is returned, not the one now playing.

@ghost
Copy link

ghost commented Jan 4, 2016

Adding a small delay to the beginning of the "Now Playing" section of the script fixes this, as the player doesn't switch instantly.
Something like delay 0.1 should suffice.

@developius
Copy link
Contributor Author

@ghost
Copy link

ghost commented Jan 5, 2016

That's the block. Put the delay in front of this line: https://github.com/dronir/SpotifyControl/blob/master/SpotifyControl#L167

@developius
Copy link
Contributor Author

Thanks

@developius
Copy link
Contributor Author

I'll open a PR tomorrow for this fix if you want?

@ghost
Copy link

ghost commented Jan 7, 2016

Fine with me.

@dronir dronir closed this as completed in ed79f75 Jan 9, 2016
dronir added a commit that referenced this issue Jan 9, 2016
@digitaljhelms
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants