2025-09-28, 02:10 PM
I'd also love to see JF have the ability to purge items that are no longer present.
Either with a manual or crontab scheduled per-library function that goes throught the library and removes entries for anything where the media location is no longer present.
Making it manual would help avoid scenarios where the media is offline but not actually "gone". As in, on a NAS network share that's temporarily unavailable (for whatever reasons).
I could see where having it as a scheduled activity and remote shares could be problematic. You might not want the database to lose all the 'watched' data just because the network connection was interrupted. Nor the server thrashing of re-scanning a library. Thus leaving it as solely a per-library manually triggered dashboard function seems like a good idea.
Either with a manual or crontab scheduled per-library function that goes throught the library and removes entries for anything where the media location is no longer present.
Making it manual would help avoid scenarios where the media is offline but not actually "gone". As in, on a NAS network share that's temporarily unavailable (for whatever reasons).
I could see where having it as a scheduled activity and remote shares could be problematic. You might not want the database to lose all the 'watched' data just because the network connection was interrupted. Nor the server thrashing of re-scanning a library. Thus leaving it as solely a per-library manually triggered dashboard function seems like a good idea.