Skip to content

Paginate library getter #8

Description

@arrudagates

Right now, the get_library function waits until it has the whole library to display it to the user, freezing the rendering in the process. This is fine for small libraries, but testing with my almost 700 tracks library makes it freeze for 10 to 15 seconds before anything happens after the library command runs.
The solution to this is paginating the command, so we fetch a fixed number of tracks from the library and fetch more when the user starts approaching the end of the current page's list/

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions