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

Cleaner handling of music metadata retrieval #5

Open
bclindner opened this issue May 19, 2023 · 0 comments
Open

Cleaner handling of music metadata retrieval #5

bclindner opened this issue May 19, 2023 · 0 comments

Comments

@bclindner
Copy link
Owner

bclindner commented May 19, 2023

Current implementation functionally pulls the track info twice (once at queue time, the other at runtime). Chances are nonzero for a YouTube ratelimit if requests happen too often. Also, this introduces ~1-2 extra seconds of latency that should be unnecessary

YouTube API is the obvious choice but I think we could also get away with streaming the URLs returned by the info JSON directly with a little finagling

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

No branches or pull requests

1 participant