aminnausin / mediaServer

A web media player
1 stars 0 forks source link

Renaming folders from 2022 April to 2022-04 doesnt update when indexing files #20

Closed aminnausin closed 4 months ago

aminnausin commented 4 months ago

image Renaming category does not delete previous

aminnausin commented 4 months ago

The issue is a desync between local folder structures in *.json files and the database.

My current fix is to create another job that synchronises the database down to the json files. If indexing is run afterwards, the database should correct itself based on the local file structure

Maybe this should only happen on the master system that has access to every file (or else things might get deleted incorrectly on a test system with limited storage)