01-22-2019, 01:22 PM
The song last modified timestamp would be whatever is in the backup. The file modified timestamps may or may not match what is in the backup. The reason is that on some devices, the last modified timestamp can't be changed. Even though my code asks the file system to change the last modified timestamp, it won't do it. So then every file that is extracted from the backup will have a new last modified timestamp that won't match what is saved in the database itself. In practice, this doesn't have much of an impact, but when songs are loaded for the first time after restoring a backup, if the file's last modified timestamp doesn't match what is in the database, it will be scanned for changes. This is to support the scenario where a user has replaced the song's file on disk with a new version. There are some other complex scenarios where this could matter, like restoring a library backup file and then synchronizing to a cloud folder. This would cause the library sync to think all of the files on the tablet are newer even if that is not truly the case.
Mike
Mike