I'm a little stumped trying to figure out how to force filebot to avoid all apostrophe's in my filenames. My linux based media center won't recognize files that have single quotes / apostrophes in the filenames.
I'm sure there is a way to do this with some kind of replace expression, but I'm not getting the syntax correct.
Help?
I'm on filebot 4.6 on Win7 x64 sysinfo details below
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Runtime Environment 1.8.0_45
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 138 MB Used Memory
OS: Windows 7 (amd64)
Remove Apostrophes from filename?
Re: Remove Apostrophes from filename?
You can copy and paste that one from here:
http://www.filebot.net/naming.html
This will replace all the weird ones with '.
You can just as easily replace all the apostrophes with empty string as well.
http://www.filebot.net/naming.html
Code: Select all
replaceAll(/[`´‘’ʻ]/, "'")
You can just as easily replace all the apostrophes with empty string as well.
Re: Remove Apostrophes from filename?
Will this affect titles of episodes that get pulled down? I currently use this:
However, some episode titles get pulled down and have apostrophe in the episode title.
Code: Select all
{n.space('.')}.{s00e00}_{t}