Ticket #518 (assigned enhancement)

Opened 4 years ago

Last modified 4 years ago

Cache reference movies for idle-imported formats

Reported by: astrange Owned by: astrange
Priority: normal Milestone: 1.3
Component: Perian-Main Version: 1.2
Severity: normal Keywords:
Cc:

Description

After loading an mkv/flv/etc., the reference movie should be saved in a user cache directory, so it can be opened immediately instead of parsing the file.

Problems:

  • #148 needs to be done first (or else we still need to read mkv attachments)
  • We need to be sure the cache isn't out of date - this is problematic because hashing the original file would mean reading it. Checking the mkv uuid and file size would work for mkv, is reading the mod date good enough for anything else?

Change History

comment:1 Changed 4 years ago by gbooker

Many synchronization systems, such as rsync, check the file size and mod date to determine if the file has changed. They only hash the actual file if explicitly told to do so. I'd say that size/mod date is sufficient.

comment:2 Changed 4 years ago by astrange

  • Owner set to astrange
  • Status changed from new to assigned
  • Milestone set to 1.3
Note: See TracTickets for help on using tickets.