Is there a way to handle shows with special characters in the name?

Any questions? Need some help?
Post Reply
djomp
Posts: 3
Joined: 21 May 2018, 20:46

Is there a way to handle shows with special characters in the name?

Post by djomp »

I have a show with a percent symbol in the name... is there any way I can get this to match correctly?

Code: Select all

# filebot -rename The\ 1%\ Club\ S03E01\ \(Feb\ 17\ 2024\)\ \[576p\ mp4.mp4 --db TheTVDB -non-strict --action TEST --log INFO
[TEST] from [The 1% Club S03E01 (Feb 17 2024) [576p mp4.mp4] to [The Club (Mexico) - 1x17 - Manufacturing Defects.mp4]
I'm running filebot via a transmission post processing script:

Code: Select all

/usr/bin/filebot \
  -script fn:amc \
  --output "$CONFIG_OUTPUT" \
  --action hardlink \
  --conflict auto \
  -non-strict \
  --log-file /transmission/config/filebot-amc.log \
  --def \
    gmail="$EMAIL" \
    reportError=y \
    clean=y \
    ut_dir="$ARG_PATH" \
    ut_kind="multi" \
    ut_title="$ARG_NAME" \
    ut_label="$ARG_LABEL" \
    exec="chown -R 1000:1000 {quote folder}"

Code: Select all

FileBot 5.1.5 (r10380)
JNA Native: 6.1.6
MediaInfo: 24.06
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2024-08-20 (r975)
Groovy: 4.0.21
JRE: OpenJDK Runtime Environment 21.0.3
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 4.1 GB Max Memory / 31 MB Used Memory
OS: Linux (amd64)
HW: Linux e2dec2ec5516 5.15.0-119-generic #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
CPU/MEM: : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz / MemTotal: 16 GB / MemFree: 231 MB / MemAvailable: 14 GB / SwapCached: 49 KB / SwapTotal: 17 GB / SwapFree: 17 GB
STORAGE: overlay [/] @ 57 GB | ext4 [/media] @ 1.1 TB | ext4 [/transmission/config] @ 57 GB
UID/GID: uid=0(root) gid=0(root) groups=0(root)
DATA: /root/.filebot
Package: DEB
License: FileBot License xxx (Valid-Until: 2069-11-30)
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Is there a way to handle shows with special characters in the name?

Post by rednoah »

Looks like series name detection doesn't work correctly in this case. I'll look into it.



In the meanwhile, you can always use the --q option:

Console Output: Select all

$ filebot -rename *.mp4 --db TheTVDB --q "The 1% Club" --action TEST --log INFO
[TEST] from [The 1% Club S03E01 (Feb 17 2024) [576p mp4.mp4] to [The 1% Club - 3x01 - Episode 1.mp4]
:arrow: Q: How do I fix misidentified files?





EDIT:

Debugging reveals that FileBot has learned to ignore leading "The 1" for some reason, which leaves "% Club" which makes no sense, which leaves "Club". There's nothing special about the % character. The next release will have better heuristics.
:idea: Please read the FAQ and How to Request Help.
Post Reply