add nomd5types parameter to set file types for which dedup is not that useful and computation is expensive (e.g. audio files). Replace "call parent" misfeature with call to virtual in MimeHandler constructor. Fix log calls indent

This commit is contained in:
Jean-Francois Dockes
2017-02-02 18:09:00 +01:00
parent fea8ff6e41
commit b55f4b3b0a
18 changed files with 371 additions and 280 deletions
+10
View File
@@ -122,6 +122,16 @@ skippedPaths = /media
# redefined for subtrees.</descr></var>
#excludedmimetypes =
# <var name="nomd5mimetypes" type="string"><brief>Don't compute md5 for
# these types.</brief><descr>md5 checksums are used only for deduplicating
# results, and can be very expensive to compute on multimedia or other big
# files. This list lets you turn off md5 computation for selected types. It
# is global (no redefinition for subtrees). At the moment, it only has an
# effect for external handlers (exec and execm). The file types can be
# specified by listing either MIME types (e.g. audio/mpeg) or handler names
# (e.g. rclaudio).</descr></var>
nomd5types = rclaudio
# <var name="compressedfilemaxkbs" type="int"><brief>Size limit for compressed
# files.</brief><descr>We need to decompress these in a
# temporary directory for identification, which can be wasteful in some