-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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.