L-SMASH-Works icon indicating copy to clipboard operation
L-SMASH-Works copied to clipboard

Index requires sanity check to detect exchanged media file

Open LigH-de opened this issue 11 years ago • 0 comments

Once an index fle is built, it is assumed to be valid as long as any source file with the original name exists, no matter if the source file has a different content in the meantime, e.g. a video with the same filename but different encoding options was created after the index file was generated.

Comparing if the source file has a newer timestamp than the index file should be a minimal sanity check to rebuild the index file if necessary. Possibly even a checksum of a header portion may be useful in addition.

LigH-de avatar Feb 07 '14 09:02 LigH-de