Skip to content

[Bug]: Noticeable audio playback delay when managing a large local library #2480

Description

@tehrzky

Description

When first opening the app, there is a noticeable loading delay before a song will actually start playing. This only happens right after a fresh app launch, likely because the player is busy loading the 2,000-song library database or initializing the audio engine.
The application UI itself remains smooth and does not freeze or lag; it simply takes a few moments of loading time before the audio stream successfully initializes and begins. Once this initial startup delay passes, all subsequent track selections and skips play instantly without any further loading pauses.

Expected Behavior
​Initial playback on startup should be nearly instant.
​(Suggestion: Maybe the library database or audio engine initialization could handle this process more asynchronously in the background upon launch, allowing the very first track to trigger immediately without waiting for the full library data state to be ready.)

​Actual Behavior
​There is a distinct loading/buffering pause required only for the first track played after a cold launch.

Steps to Reproduce

-Force close the app, then reopen it.
-Select any song to play immediately after the app opens.
-Observe the noticeable loading delay/pause before the audio begins.
-Let that song play, then skip to the next track—notice that it now plays instantly with zero loading delay.

Device Environment

Infinix GT 20 Pro
Android 14

Logs / Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions