rllc / llc-archives

Archived sermons, backed by the cloud
https://llc-archives.herokuapp.com
MIT License
1 stars 1 forks source link

Limit metadata scanning to new files #26

Closed smcadams86 closed 9 years ago

smcadams86 commented 9 years ago

Limit metadata scanning

To extract the MP3 metadata stored in an mp3 file on amazon the files must be (partially) downloaded. This is somewhat expensive and racks up our amazon S3 usage.

Suggested Solution

Maintain a lastSyncDate variable or similar to track when the last sync was run. Use the amazon API to filter files by create time or last modified time.