• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Losing annotations
#6
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
Reply


Messages In This Thread
Losing annotations - by bfields - 01-20-2019, 12:46 PM
RE: Losing annotations - by Zubersoft - 01-20-2019, 04:51 PM
RE: Losing annotations - by bfields - 01-21-2019, 11:52 AM
RE: Losing annotations - by Zubersoft - 01-21-2019, 03:49 PM
RE: Losing annotations - by bfields - 01-22-2019, 12:00 PM
RE: Losing annotations - by Zubersoft - 01-22-2019, 01:22 PM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.