Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Slow on first access for large libraries #159

@fholzer

Description

@fholzer

While dms won't do a full library scan on startup, it does do a full scan once it is first accessed. Seem like this is due a bug in how the childCount property of container objects is calculated when clients make their initial Browse/BrowseDirectChildren call. Currently, this results in a recursion iterating through every folder in the library, including calls to ffmpegProbe on all eligible files. As this is quite time consuming for large libraries, it can lead to clients timing out on the initial Browse call.

Image

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