Unnecessary pause while "Inquiring Tracks" for large playlists
#13 opened on Dec 24, 2020
Repository metrics
- Stars
- (2,279 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
As mentioned here (https://github.com/miraclx/freyr-js/issues/4#issuecomment-750636652), freyr eagerly awaits collating metadata on all tracks in a collection before it begins to process and download any of them. Meaning it halts until every last track has been known before it touches even the first one.
This is incredibly wasteful and better solutions have been used elsewhere around the source, involving asynchronous queueing.
Although this is a minor tolerable inconvenience, it's fixable, just not pressing. However, If you want this fixed, please let me know or if you can, create a PR that helps.