Closed paolobenve closed 6 years ago
no, we can simply check whether there is a change in the albums, if no change do not save the virtual albums
hmmmm... it's absolutely no simple to check whether the albums tree has changed, closing
Perhaps we could follow https://stackoverflow.com/questions/29685069/get-the-last-modified-date-of-a-directory-including-subdirectories-using-pytho#29685234 and once for all check if the last modified date of the tree is more recent than options.json modified date.
If the tree is older than options.json, we could avoid scanning the tree.
However, images with gps data added could not be detected, if they have their modified date unchanged...
However, images with gps data added could not be detected, if they have their modified date unchanged...
no, the dir modification time is changed, so it seems to be safe
We must be sure that json files, thumbnails and reductions need no refresh, too
The only thing we could care of is that, if neither avconv nor ffmpeg are installed and one of them is subsequently installed, videos would not detected.
But the installation is supposed to be complete, so closing
Since virtual albums could be very big, it seems better to compare the internally generated album with the saved one before saving it, possibly a big amount of time can be saved