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

Avoid excessive calls to the "track info" API #7

Closed
Jei opened this issue May 11, 2020 · 0 comments
Closed

Avoid excessive calls to the "track info" API #7

Jei opened this issue May 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Jei
Copy link
Owner

Jei commented May 11, 2020

Every few seconds (currently 10) the app sends a request to Tormented Radio to read the current track. After that, it makes a new request to a Firebase cloud function that retrieves further details about the song (album name, album art).
We should avoid calling the cloud function every time if the app already has data on the current song.

@Jei Jei changed the title Avoid calling APIs if the current track hasn't changed Avoid excessive calls to the "track info" API May 11, 2020
@Jei Jei added the enhancement New feature or request label May 11, 2020
@Jei Jei closed this as completed May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant