Process deletions prior to additions in library

Issue #933 new
DenyAll created an issue

If you rename a folder containing media files (a subfolder within your share), Serviio will treat this as addition of new files (new file name including path) to the library, followed by deletions of the old file.

An issue arises as the addition process can be slow (as Serviio gathers metadata for the new file) and as deletions don't occur until after additions are complete a situation can arise where the library contains both the old and new references. The old reference is invalid during this period (referring to a file location that no longer exists).

Enhancement would be to process the deletions first as this would remove the old reference, before adding the new (if easily done, otherwise it's not a big deal).

Comments (0)

  1. Log in to comment