remove duplicates from {tags}
Posted: 18 May 2026, 13:30
Hello.
I'm using {tags} and I see tags is matching both infos from filename + title tag in mkv, which is pretty good (ref viewtopic.php?t=12668)
However it may result in having duplicate values
eg. assuming one of my movie is named "one great movie (1999) Imax.mkv" and also has a title named "one great movie (1999) IMAX version"
In that particular case {tags} displays [IMAX, Imax]
Is there any way to remove these duplicates ?
I already tried tags*.upper().unique() but then all values are set in upper.
For un unknown reason tags*.upperInital().unique() doest not work :'(
thank you for your help in finding any workaround
NB: my config is
I'm using {tags} and I see tags is matching both infos from filename + title tag in mkv, which is pretty good (ref viewtopic.php?t=12668)
However it may result in having duplicate values
eg. assuming one of my movie is named "one great movie (1999) Imax.mkv" and also has a title named "one great movie (1999) IMAX version"
In that particular case {tags} displays [IMAX, Imax]
Is there any way to remove these duplicates ?
I already tried tags*.upper().unique() but then all values are set in upper.
For un unknown reason tags*.upperInital().unique() doest not work :'(
thank you for your help in finding any workaround
NB: my config is
Console Output: Select all
FileBot 5.2.1 (r10920)
JNA Native: 7.0.0
MediaInfo: 26.01
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2026-02-12 (r1026)
Groovy: 4.0.28
JRE: OpenJDK Runtime Environment 21.0.10
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 8 GB Max Memory / 444 MB Used Memory
OS: Windows 11 (amd64)
STORAGE:
DATA: C:\Users\server\AppData\Roaming\FileBot
Package: MSI
License: FileBot License P77429855 (Valid-Until: 2027-01-05)