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

Reduce the amount of ytdl requests done #25

Closed
meew0 opened this issue Dec 21, 2015 · 0 comments
Closed

Reduce the amount of ytdl requests done #25

meew0 opened this issue Dec 21, 2015 · 0 comments
Assignees

Comments

@meew0
Copy link
Owner

meew0 commented Dec 21, 2015

Currently, two ytdl requests are required to play a video - one when queueing it and one when playing it back. This can be reduced to one by caching the entire video info downloaded and then using ytdl downloadFromInfo to play it. This could also be applied to saved videos, though here we have to make sure that the lethe-data.json file doesn't get too large.

@meew0 meew0 self-assigned this Dec 22, 2015
@meew0 meew0 closed this as completed in d8c8145 Dec 22, 2015
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