Searched, but couldn't find any other post about that - sorry if I missed it.
So I have a database with items in it. They all have screens. Sometimes I add some items, sometimes I remove. I know that I can delete items within Videonizer and delete their screens at the same time. However, for some reasons that cannot be done / has not been done like this all the time and items get deleted outside Videonizer. "Clean up current DB" nicely removes the obsolete items from the database in that case.
The problem is that the screens then remain orphaned. Is there any function that allows me to clean up all screens / files in a directory that are not linked to an item in the database?
How to delete obsolete screens
Yep, but the screens I am talking about are not referenced in the database anymore...
Imagine you delete some items and forget to check that option. After you run it you realize your mistake and want to get rid of the obsolete screens for which you have no items in your db anymore. Now what?
I would imagine something like "Scan for Screenlists in a folder" with the option to delete all screens where no match is found...
Imagine you delete some items and forget to check that option. After you run it you realize your mistake and want to get rid of the obsolete screens for which you have no items in your db anymore. Now what?
I would imagine something like "Scan for Screenlists in a folder" with the option to delete all screens where no match is found...
The problem is that Videonizer knows nothing about already deleted Items (and Screenlists).
What would be the criterion to delete a file then?
I would like to invent something, but I am afraid it is not reliable in this case.
Why not? Under "DB Tools" add the function "Clean up Folder". Upon click display a warning that all files in the folder and its subfolders will be deleted if not referenced in the current db. Then allow folder selection. After that, start the process by gathering all files in the folder and its subfolders. Check for each file if it is referenced in an item of the current db as file, screen/animation or picture. If not, delete it. (Might need some additional path matching or just compare the file names only.)I would like to invent something, but I am afraid it is not reliable in this case.