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

sometimes doesn't load the data for the next song after skipping. #2

Open
ehne opened this issue Dec 2, 2020 · 0 comments
Open

sometimes doesn't load the data for the next song after skipping. #2

ehne opened this issue Dec 2, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ehne
Copy link
Member

ehne commented Dec 2, 2020

When pressing the skip button, usually the album art and title are loaded into the correct slots. However sometimes the data doesn't load fast enough and the state doesn't get updated.

Possible Solution(s):

a. increase the time for the timeout function setTimeout(() => { this.fetchData() }, 1000);
b. preload the next song data.

@ehne ehne added the bug Something isn't working label Dec 2, 2020
@ehne ehne self-assigned this Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant