Search for duplicates using multiple plugins

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Search for duplicates using multiple plugins

Post by *nice »

Hi, why does the search for duplicates allow to use only a single plugin, whereas the "regular" search allows you to use multiple plugins?
User avatar
beb
Senior Member
Senior Member
Posts: 430
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Search for duplicates using multiple plugins

Post by *beb »

nice wrote: 2023-05-08, 02:02 UTC Hi, why does the search for duplicates allow to use only a single plugin...
It does allow using multiple plugins, e.g. (two plugins involved):

Code: Select all

[=lotsofhashes.MD5.Lowercase][=tc.name]
In GUI when you click [+] plus button to the right of the [input [dropdown_list]] field you can opt for any plugin(s) available one by one.
Then, if you choose more than one plugin the field would look like this (alike in the given example):
[plugin1.its.properties][plugin2.its.properties][plugin3.its.properties][etc]
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: Search for duplicates using multiple plugins

Post by *nice »

0. When comparing with multiple fields, there is no percentage of operation displayed.

1. create a custom column view like

1: [=exif.DateTimeStr]
2. [=exif.Width]
3. [=exif.Height]
4. [=exif.BitsPerSample]

2. switch to custom columns view

3. search for duplicates for [=exif.Width][=exif.Height]

4. feed to listbox

5. the first field (DateTimeStr) is actually a not a custom column's field, but the actually a first field of duplicate's search string (Width)

6. the other fields are empty

7: the filename contains a " - " sign
Last edited by nice on 2023-05-08, 14:49 UTC, edited 1 time in total.
User avatar
beb
Senior Member
Senior Member
Posts: 430
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Search for duplicates using multiple plugins

Post by *beb »

6. the other fields are empty
Cannot confirm (everything looks fine in my case):
Image: https://i.imgur.com/2y4et7G.png

My custom columns for the test (all four fields of yours are included):

Code: Select all

Headers20=ExDT\nETW\nETH\nExB\nMiW\nExW\nExH
Contents20=[=exif.DateTimeStr]\n[=exiftoolwdx.ImageWidth]\n[=exiftoolwdx.ImageHeight]\n[=exif.BitsPerSample]\n[=mediainfo.width]\n[=exif.Width]\n[=exif.Height]
Test search by:

Code: Select all

[=exif.Width][=exif.Height][mediainfo.width]
5. the first field is actually a not a custom column's field, but the actually a first field of duplicate's search string
7: the filename contains a " - " sign
I may guess the '" - " sign' within the "file name column" is a somewhat indicator, it does not belong to the "file name" and just disappears e.g. upon resorting file list by any column.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: Search for duplicates using multiple plugins

Post by *nice »

Did you switch to Custom Columns view before Feed to listbox, or after?
This happens every time, not necessary with multiple plugins.
And why the "[=exif.Width]" has "=" sign, and "[mediainfo.width]" hasn't?
I may guess the '" - " sign' within the "file name column" is a somewhat indicator, it does not belong to the "file name" and just disappears e.g. upon resorting file list by any column.
and duplicates' separators are lost
User avatar
beb
Senior Member
Senior Member
Posts: 430
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Search for duplicates using multiple plugins

Post by *beb »

nice wrote: 2023-05-10, 18:08 UTC And why the "[=exif.Width]" has "=" sign, and "[mediainfo.width]" hasn't?
My bad, it's a random copy-past error. It should come with = as well.
Did you switch to Custom Columns view before Feed to listbox, or after?
I can't remember how it was then.
I just repeated the test, and it still works as described.
Now as follows:
- custom columns as described above, chosen prior to the search;
- searched for the duplicates by [=exif.Width][=exif.Height][=mediainfo.width] (now used standalone search mode shift+alt+f7)
Current version: TC 11.00 64 bit beta2
Result: as described above. No Custom columns switching needed. Groups are intact. All the fields with info (except ExB,[=exif.BitsPerSample] field; among all my files (290 dupes) in the test folder only one returns something there).
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: Search for duplicates using multiple plugins

Post by *nice »

tested on a fresh ini file with no plugins

custom columns:

Code: Select all

[CustomFields]
Widths1=80,30,80,80,80
Headers1=fullname\nname\next
Contents1=[=tc.fullname]\n[=tc.name]\n[=tc.ext]
Options1=-1|0|120
AutoLoad=0
Titles=fullname..
search by:

Code: Select all

[=tc.writedate]
result:

Code: Select all

fullname: 13.01.1995 21:10
name: empty
ext: empty
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: Search for duplicates using multiple plugins

Post by *nice »

Please someone confirm this "bug report".
I assume all threads in this forum are being read.
If not, then who cares?
Post Reply