[Feature Request] Confidence Rating for non-strict operation

All your suggestions, requests and ideas for future development
Post Reply
dgnrt3
Posts: 26
Joined: 21 Apr 2023, 19:58

[Feature Request] Confidence Rating for non-strict operation

Post by dgnrt3 »

Hi all, hi rednoah,

Console Output: Select all

filebot -script fn:sysinfo
FileBot 5.1.0 (r9858)
JNA Native: 6.1.4
MediaInfo: 23.06
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2023-08-02 (r923)
Groovy: 4.0.11
JRE: OpenJDK Runtime Environment 17.0.7
JVM: OpenJDK 64-Bit Server VM
System Property: net.filebot.logging.time=true
CPU/MEM: 12 Core / 32 GB Max Memory / 84 MB Used Memory
OS: Linux (amd64)
HW: Linux watch 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux
CPU/MEM: : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz / MemTotal: 135 GB / MemFree: 790 MB / MemAvailable: 129 GB / SwapCached: 48 MB / SwapTotal: 4.3 GB / SwapFree: 3.6 GB
STORAGE: ext4 [/] @ 11 TB | ext4 [/glftpd/site/1080p] @ 11 TB | ext4 [/glftpd/site/2160p] @ 11 TB | fuse.rclone [/mnt/drive2] @ 1,125 TB | fuse.rclone [/mnt/drive1] @ 1,125 TB | fuse.rclone [/mnt/drive3] @ 1,125 TB | fuse.rclone [/mnt/drive5] @ 1,125 TB | fuse.rclone [/mnt/drive4] @ 1,125 TB | fuse.sshfs [/mnt/nas/1080p] @ 6 TB | fuse.sshfs [/mnt/nas/2160p] @ 6 TB | fuse.sshfs [/mnt/nas/incoming] @ 6 TB | fuse.sshfs [/mnt/nas/musik] @ 6 TB
UID/GID: uid=0(root) gid=0(root) groups=0(root)
DATA: /root/.filebot
Package: DEB
[2023-08-17 11:22:08.331] Activate License [P48455038] on [Thu Aug 17 11:22:08 CEST 2023]
License: FileBot License P48455038 (Valid-Until: 2024-04-07)
[2023-08-17 11:22:09.971] Done ヾ(@⌒ー⌒@)ノ
used args:

Console Output: Select all

-r
-rename
-non-strict
--file-order
[vc,height]
--conflict
OVERRIDE
--db
TheMovieDB::TV
--lang
German
--output
/
--format
/scripts/fb/formats/watch.reorg.serie.drv3.format.groovy
--log-file
/var/log/fb/reorg.drv3.serie.log
-no-xattr
relevant part of format file:

Groovy: Select all

( '1080p/serie/' + ( anime == true ?
('anime/'+
((n.match(/.*-*|\d*/) ? (n.substring(0,1)) : (localize.deu.n.clean().substring(0,1))).toLowerCase())+"/"+
((n.match(/.*-*|\d*/) ? (localize.deu.n.lower().space('.')) : (localize.deu.n.clean())).lower().space('.'))+"."+y+"/"+
(episode.special ? 'specials' : 's'+s.pad(2))+"/"+
allOf
{(n.match(/.*-*|\d*/) ? (localize.deu.n.lower().space('.')) : (localize.deu.n.clean())).lower().space('.')}{y}{s00e00}.join('.').space('.').lower().removeAll(',')
)
:
(
(none{genre} == true ? 'kein_genre' : (genre.replace(csv("/scripts/fb/media.list/media.genre.list.csv"))))+"/"+
((n.match(/.*-*|\d*/) ? (n.substring(0,1)) : (localize.deu.n.clean().substring(0,1))).toLowerCase())+"/"+
((n.match(/.*-*|\d*/) ? (localize.deu.n.lower().space('.')) : (localize.deu.n.clean())).lower().space('.'))+"."+y+"/"+
(episode.special ? 'specials' : 's'+s.pad(2))+"/"+
allOf
{(n.match(/.*-*|\d*/) ? (localize.deu.n.lower().space('.')) : (localize.deu.n.clean())).lower().space('.')}{y}{s00e00}.join('.').space('.').lower().removeAll(',')
)
)))
The mentioned /scripts/fb/media.list/media.genre.list.csv is a simple csv which translates genres from the DBs to our plex-genres.


Example file:

Console Output: Select all

/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e07.720p.avc.eac3.2ch.de.mkv
Log entry:

Console Output: Select all

/var/log/fb/reorg.drv3.serie.log:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e07.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e07.mkv]
/var/log/fb/reorg.drv3.serie.log:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e08.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e08.mkv]
/var/log/fb/reorg.drv3.serie.log:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e09.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e09.mkv]
/var/log/fb/reorg.drv3.serie.log:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e10.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e10.mkv]
/var/log/fb/reorg.drv3.serie.log:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e11.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e11.mkv]
/var/log/fb/reorg.drv3.serie.log:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e12.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e12.mkv]
/var/log/fb/reorg.drv3.serie.log:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e13.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e13.mkv]
/var/log/fb/reorg.drv3.serie.log:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e14.720p.avc.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e14.mkv]
/var/log/fb/reorg.drv3.serie.log:* 신입사원 [209482] | 7 episodes | 1x01-07
/var/log/fb/reorg.drv3.serie.log:* 신입사원 [209482] | 7 episodes | 1x01-07
/var/log/fb/reorg.drv3.serie.log:[2023-07-31 11:53:16.421] * 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:[2023-07-31 12:09:02.569] * 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:[2023-08-02 17:06:34.520] * 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:* 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:* 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:* 신입사원 [209482] | 7 episodes | 1x01-07
/var/log/fb/reorg.drv3.serie.log:* 신입사원 [209482] | 7 episodes | 1x01-07
/var/log/fb/reorg.drv3.serie.log:[2023-08-02 20:13:39.201] * 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:* 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:* 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:[2023-08-02 21:20:49.270] * 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:* 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:* 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:* 신입사원 [209482] | 7 episodes | 1x01-07
/var/log/fb/reorg.drv3.serie.log:* 신입사원 [209482] | 7 episodes | 1x01-07
/var/log/fb/reorg.drv3.serie.log:[2023-08-06 00:58:44.130] * 원티드 [66634] | 16 episodes | 1x01-16
/var/log/fb/reorg.drv3.serie.log:[2023-08-06 00:59:07.853] * 원티드 [66634] | 16 episodes | 1x01-16
First of all I agree that the source file was somewhat suboptimal named in the first place as it's the series FBI: Most Wanted but at least in my mind it's a good example for this case.

How does fb decide which db result is the fitting for a given media file? AFAIK file + foldername are taken into account but I'm quite sure those are not the only factors.

It would help to avoid mismatches if one could specify a threshold for matching and if fb isn't sure enough that an entry is the right one it could be ignored or handled otherwise. Would something like that be possible? Do you see a use case for a feature like this?

Thanks and cheers
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [Feature Request] Confidence Rating for non-strict operation

Post by rednoah »

FileBot does not have a numeric "confidence rating" internally. The difference between opportunistic / strict are additional sanity checks that exclude likely mismatches, more like a flow diagram where different paths and decisions lead to different results. I know how it should mostly work in general for most files, but I even have no idea why it specifically works / doesn't work for any one specific use case, without debugging things step by step.


If avoiding mismatches is your priority, then not using -non-strict is the way to go. That will of course lead files not getting a match, but that is the point. If we had a single "confidence rating" that would not allow you to cover a complex problem space, and you'd have adjust that value for every other use case to make it work, and I believe the --filter option is much easier to use if you're willing to fine-tune things on this level of detail.



:idea: 원티드 seems an odd match for "most wanted" but when you consider that official English series name is Wanted (you are getting the original name 원티드 in your file names because you're using --lang German and there is no official German series name) which isn't too far off:

Console Output: Select all

$ filebot -list --q 66634 --db TheMovieDB::TV
Wanted - 1x01 - Episode 1
...


:idea: This is definitely a weird one though, and I have no idea how a relatively good folder name (most of the series name, plus year) could somehow negatively effect matching, but here we are:

Console Output: Select all

$ filebot -rename -r . --db TheMovieDB::TV -non-strict --lang German --log INFO --action TEST
[TEST] from [most.wanted.2020/most.wanted.2020.s01e13.720p.avc.aac.2ch.de.mkv] to [most.wanted.2020/원티드 - 1x13 - Episode 13.mkv]


:idea: Based on this mismatch, you could consider using the --filter option to categorically exclude Korean dramas, based on spoken language, production country, non-Latin characters in the primary title, etc, and fine-tune your rules as "living document" over time as you find false positives and false negatives:

Console Output: Select all

$ filebot -rename -r . --db TheMovieDB::TV -non-strict --lang German --filter "n.latin" --log INFO --action TEST
[TEST] from [most.wanted.2020/most.wanted.2020.s01e13.720p.avc.aac.2ch.de.mkv] to [most.wanted.2020/FBI Most Wanted - 1x13 - Gedemütigt.mkv]




EDIT:

In this specific case, "Most Wanted" was not added to the list (I will do that now; so it'll work for the next guy) of alternative titles, and "most wanted 2020" contains "Wanted" but not "FBI Most Wanted" and so things went awry from there:
https://www.themoviedb.org/tv/94372-fbi ... ive_titles

:idea: If I remove the most.wanted.2020 folder then it starts working, presumably because the more "Wanted" but not "FBI Most Wanted" we have in the file path, the more we steer towards the wrong match:

Console Output: Select all

$ filebot -rename -r . --db TheMovieDB::TV -non-strict --lang German --log INFO --action TEST
[TEST] from [most.wanted.2020.s01e13.720p.avc.aac.2ch.de.mkv] to [FBI Most Wanted - 1x13 - Gedemütigt.mkv]
:idea: Please read the FAQ and How to Request Help.
dgnrt3
Posts: 26
Joined: 21 Apr 2023, 19:58

Re: [Feature Request] Confidence Rating for non-strict operation

Post by dgnrt3 »

FileBot does not have a numeric "confidence rating" internally. The difference between opportunistic / strict are additional sanity checks that exclude likely mismatches, more like a flow diagram where different paths and decisions lead to different results. I know how it should mostly work in general for most files, but I even have no idea why it specifically works / doesn't work for any one specific use case, without debugging things step by step.


If avoiding mismatches is your priority, then not using -non-strict is the way to go. That will of course lead files not getting a match, but that is the point. If we had a single "confidence rating" that would not allow you to cover a complex problem space, and you'd have adjust that value for every other use case to make it work, and I believe the --filter option is much easier to use if you're willing to fine-tune things on this level of detail.
When I consider all filebot operations on our library non-strict works in ~95-98% so I agree with you that a single confidence rating or even a confidence rating range would make the existing situation more complicated and would lead to more fine-tuning being necessary.

I just grepped a bit through my filebot logs and this specific case keeps getting weirder:

Console Output: Select all

569:Lookup via [Wanted, Wanted] [most wanted 2020]
1286:Lookup via [Wanted, Wanted] [most wanted 2020]
2003:Lookup via [Wanted, Wanted] [most wanted 2020]
2721:Lookup via [Wanted, Wanted] [most wanted 2020]
3487:Lookup via [Wanted, Wanted] [most wanted 2020]
6333:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e01.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s01/wanted.2016.s01e01.mkv]
6334:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e02.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s01/wanted.2016.s01e02.mkv]
6335:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e03.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s01/wanted.2016.s01e03.mkv]
6336:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e04.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s01/wanted.2016.s01e04.mkv]
6337:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e05.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s01/wanted.2016.s01e05.mkv]
6338:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e06.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s01/wanted.2016.s01e06.mkv]
6339:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e07.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e07.mkv]
6340:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e08.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e08.mkv]
6341:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e09.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e09.mkv]
6342:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e10.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e10.mkv]
6343:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e11.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e11.mkv]
6344:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e12.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e12.mkv]
6345:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e13.720p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e13.mkv]
6346:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s01/most.wanted.2020.s01e14.720p.avc.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/원/원티드.2016/s01/원티드.2016.s01e14.mkv]
6347:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e01.720p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s02/wanted.2016.s02e01.mkv]
6348:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e02.720p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s02/wanted.2016.s02e02.mkv]
6349:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e03.720p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s02/wanted.2016.s02e03.mkv]
6350:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e04.1080p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s02/wanted.2016.s02e04.mkv]
6351:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e05.1080p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s02/wanted.2016.s02e05.mkv]
6352:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e06.720p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s02/wanted.2016.s02e06.mkv]
6353:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e07.720p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s02/fbi.most.wanted.2020.s02e07.mkv]
6354:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e08.1080p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s02/fbi.most.wanted.2020.s02e08.mkv]
6355:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e09.1080p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s02/fbi.most.wanted.2020.s02e09.mkv]
6356:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e10.1080p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s02/fbi.most.wanted.2020.s02e10.mkv]
6357:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e11.1080p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s02/fbi.most.wanted.2020.s02e11.mkv]
6358:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e12.1080p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s02/fbi.most.wanted.2020.s02e12.mkv]
6359:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e13.1080p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s02/fbi.most.wanted.2020.s02e13.mkv]
6360:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e14.1080p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s02/fbi.most.wanted.2020.s02e14.mkv]
6361:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s02/most.wanted.2020.s02e15.1080p.x264.eac3.6ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s02/fbi.most.wanted.2020.s02e15.mkv]
6362:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e01.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s03/wanted.2016.s03e01.mkv]
6363:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e02.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s03/wanted.2016.s03e02.mkv]
6364:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e03.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s03/wanted.2016.s03e03.mkv]
6365:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e04.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s03/wanted.2016.s03e04.mkv]
6366:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e05.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s03/wanted.2016.s03e05.mkv]
6367:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e06.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/w/wanted.2016/s03/wanted.2016.s03e06.mkv]
6368:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e07.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e07.mkv]
6369:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e08.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e08.mkv]
6370:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e09.1080p.x264.aac.2ch.en.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e09.mkv]
6371:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e10.1080p.x264.aac.2ch.en.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e10.mkv]
6372:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e11.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e11.mkv]
6373:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e12.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e12.mkv]
6374:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e13.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e13.mkv]
6375:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e14.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e14.mkv]
6376:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e15.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e15.mkv]
6377:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e16.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e16.mkv]
6378:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e17.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e17.mkv]
6379:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e18.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e18.mkv]
6380:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e19.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e19.mkv]
6381:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e20.1080p.avc.eac3.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e20.mkv]
6382:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e21.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e21.mkv]
6383:[MOVE] from [/mnt/drive3/1080p/serie/allgemein/m/most.wanted.2020/s03/most.wanted.2020.s03e22.1080p.x264.aac.2ch.de.mkv] to [/mnt/drive3/1080p/serie/allgemein/f/fbi.most.wanted.2020/s03/fbi.most.wanted.2020.s03e22.mkv]
Also agree that --filter is the most promising way to approach those kinds of cases. Would you mind sharing your experience in best practices/easiest ways to keep the chances of mismatches as low as possible?
Does localizing names (with

Groovy: Select all

localize.deu
) or using

Groovy: Select all

--lang German
increase/lower the chances? I assume fb falls back to english localization if available and if they're not available as well uses the original title?

Thanks & Cheers
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [Feature Request] Confidence Rating for non-strict operation

Post by rednoah »

--lang German means that FileBot will work with German language (or some default; maybe English; maybe original language) information for matching and formatting. In general, if your file names are in German, then --lang German will work better. If your file names are in English, then --lang English will work better.

:arrow: So --lang English is probably what you want to use for almost all use case, since files usually come with English file names.



:idea: --lang is somewhat less important for series names since FileBot will try to consider all known alias names equally anyway, but extremely important for Match by Episode Title if you want to match by English episode title or German episode title.



:idea: Getting different results for different files is normal, because throwing in a set of files from different shows is a common use case. FileBot will consider all options and pick the best one. This result is easily explained, Korean Wanted only has Season 1, so S02E01 can't be that one, except the "next best" thing is still the wrong Wanted, except each season only has 6 episodes, so S02E07 can't be that one either, so we finally arrive at the correct match, least likely based on the series name, most likely based on that SxE number existing:

Code: Select all

[MOVE] from [most.wanted.2020/s01/most.wanted.2020.s01e14.720p.avc.aac.2ch.de.mkv] to [원티드.2016.s01e14.mkv]
[MOVE] from [most.wanted.2020/s02/most.wanted.2020.s02e01.720p.x264.eac3.6ch.de.mkv] to [wanted.2016.s02e01.mkv]
[MOVE] from [most.wanted.2020/s02/most.wanted.2020.s02e07.720p.x264.eac3.6ch.de.mkv] to [fbi.most.wanted.2020.s02e07.mkv]


:idea: --filter is a very advanced programmable feature, so if you check the forums here you will find that 10 users will use it in 10 different ways, very much tailored to their specific use case, and usually don't report back with long-term results. So IDK. But you could be the one to come up and share a generic solution that works for most. ;)





EDIT:

:idea: Brand new --filter idea! Is it a good one? IDK!

e.g. if you somehow know that you're processing 73 files from the same series, then you could use --filter to only consider TV shows that have 73+ episodes:

Shell: Select all

--filter "episodelist.size() >= 73"

Console Output: Select all

$ filebot -rename -r . --db TheMovieDB::TV -non-strict --filter "episodelist.size() >= 73" --log INFO --action TEST
[TEST] from [most.wanted.2020/most.wanted.2020.s02e01.mkv] to [most.wanted.2020/FBI Most Wanted - 2x01 - Rampage.mkv]
:idea: Please read the FAQ and How to Request Help.
dgnrt3
Posts: 26
Joined: 21 Apr 2023, 19:58

Re: [Feature Request] Confidence Rating for non-strict operation

Post by dgnrt3 »

Mhm that's the thing...some whack release groups use german names, most use english tho. Think I'll stick with --lang English. I usually match by Airdate or Order so guess I'm good on this front ^^
:idea: Getting different results for different files is normal, because throwing in a set of files from different shows is a common use case. FileBot will consider all options and pick the best one. This result is easily explained, Korean Wanted only has Season 1, so S02E01 can't be that one, except the "next best" thing is still the wrong Wanted, except each season only has 6 episodes, so S02E07 can't be that one either, so we finally arrive at the correct match, least likely based on the series name, most likely based on that SxE number existing:
Lol wouldn't have guessed that this is a common use case as I've always organized series in a way that files of the same serie are in one folder but yeah...shouldn't expect that everyone's like that and yeah then this approach totally makes sense.
--filter is a very advanced programmable feature, so if you check the forums here you will find that 10 users will use it in 10 different ways, very much tailored to their specific use case, and usually don't report back with long-term results. So IDK. But you could be the one to come up and share a generic solution that works for most. ;)
Hahaha I see what you're trying to pull off there (and I like the "challenge" :D ) I will definitely have a deeper dive into --filter and will gladly come back with some long-term result, sure. I'm happy to maybe be able to contribute something to the community.
Right now I'm having a very custom tailored setup with multiple args- and format files which managed to automate ~95% of the daily work (matching incoming files, sorting it according to our plex-genres and then moving/renaming them to the appopiate paths) which was done by hand/hasn't been done at all before, but didn't thought it's "good"/"helpful" enough to share it here...do you think there's a "market" for a post explaining my setup?
Brand new --filter idea! Is it a good one? IDK!
e.g. if you somehow know that you're processing 73 files from the same series, then you could use --filter to only consider TV shows that have 73+ episodes:
Mhmm....it's somewhat of a niche use case for sure but we have a decent amount of series with quite high episode counts in our library (50 episodes+, but split by season) and I can see a solution where you would use

Shell: Select all

ls -1 | wc -l
to count the episodes and use this information.

Cheers
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [Feature Request] Confidence Rating for non-strict operation

Post by rednoah »

Well, you can of course also use the same approach for small shows. Exclude long-running shows with many episodes when you know that the series at hand only has few episodes. That's certainly making some assumptions though. Just doing --filter "y == 2020" is probably good enough, based on some auto-detected year pattern in the series folder.


There might be a "market" though I wouldn't know, because I only ever find out about super advanced usage when something breaks. If you have lots of source files, more of a project, then I'd just make a GitHub repository (probably should be doing that anyway just for your own sanity and future self) and maybe post a link on the How about sharing our format expressions? thread. :lol:
:idea: Please read the FAQ and How to Request Help.
Post Reply