Skip to content

Loading times for playlist meta data are too long #37

Description

@fredi-68

When queueing playlists, YTDL analyzes the playlist, then proceeds to download all meta data for EACH entry before returning the list of results to us. This is however not really what we want. Ideally we'd request an analysis on the source first to get a list of targets. Then we'd iterate over this list, download the meta data for each entry and immediately download and queue the song, then move on to the next entry. This way we can start playing after a couple seconds even if the playlist contains 50+ entries. The songs will keep analyzing and queuing in the background (this is already handled by the audio engine).

Things to do are figuring out a way to stop YTDL from extracting the target URI immediately, then add another step where we manually get the URI when we actually queue the track.
More docs reading. Yay.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Discord BotIssues regarding the main applicationbugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions