Index: Remove main files from related files list #391
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
f0cfe5ff3a
commit
f8170e30c7
1 changed files with 2 additions and 2 deletions
|
@ -166,11 +166,11 @@ func (ind *Index) Start(opt IndexOptions) fs.Done {
|
|||
var files MediaFiles
|
||||
|
||||
for _, f := range related.Files {
|
||||
if ind.files.Ignore(f.RelName(originalsPath), f.ModTime(), opt.Rescan) {
|
||||
if done[f.FileName()].Processed() || f.FileName() == fileName {
|
||||
continue
|
||||
}
|
||||
|
||||
if done[f.FileName()].Processed() {
|
||||
if ind.files.Ignore(f.RelName(originalsPath), f.ModTime(), opt.Rescan) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue