Skip to content

Implementation of new copying service #47

@loboda4450

Description

@loboda4450

Service reacts to a webhook when a new file shows up. It pulls the file, checks with the existing dedup service to avoid copying duplicates, and only continues if the file is new. If the file is a ZIP, the service looks inside and decides which files should be copied and which should be skipped based on some rules (tbd). The goal is to sync only what actually matters, without duplicating data or copying unnecessary stuff.

Desirably, if an new album is downloaded and there are currently imported tracks from that particular album it should replace currently existing ones with the album ones to maintain filesystem as clean as possible, but this produces another challenges as to maintain database integrity (favourites/play count/etc) of streaming services.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions