Skip to content

[Feature] Check if tracks are downloaded and functioning when 'make available offline' button is pressed #677

Description

@climbinginceptionbee

Platform

Linux

Problem statement

Currently, if you hit the 'Make available offline' button in a playlist or under the tracks menu with all tracks selected (might apply elsewhere, haven't tested), every single track will be re-downloaded regardless of whether they are already downloaded.

Proposed solution

When downloading any tracks, I think there should be a check to see whether a track is already downloaded and whether that downloaded track plays correctly (hopefully would account for corrupt files or partially downloaded tracks for example)

Then QBZ should skip downloading tracks that are both already downloaded and play correctly.

Potentially this could also include some kind of verification that the file downloaded from Qobuz servers is the same as the one cached locally (hash comparison?)

Alternatives considered

No response

Scope / impact

Should theoretically improve performance with downloads and reduce unnecessary network usage.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions