Page 1 of 1

Filebot & YAMJ filenames

Posted: 20 Feb 2013, 19:53
by Omertron
Hi Noah,

There are a couple of "errors" when Filebot renames a folder of YAMJ files.
These are the fanart and watched files.
E.G. renaming these files

Code: Select all

Alien.Resurrection.(1997).Special.Edition.720p.BluRay.x264.DTS.fanart.jpg
Alien.Resurrection.(1997).Special.Edition.720p.BluRay.x264.DTS.mkv.watched
incorrectly removes ".fanart" and ".mkv" from the filenames and causes issues.

Thanks

Stuart

Re: Filebot & YAMJ filenames

Posted: 20 Feb 2013, 20:20
by rednoah
FileBot will rename things as specified by your format.

e.g. keep words from filename:

Code: Select all

{fn.match(/[.]fanart|[.]mkv/)}

Re: Filebot & YAMJ filenames

Posted: 20 Feb 2013, 20:21
by Omertron
How do I do that from the GUI?

Re: Filebot & YAMJ filenames

Posted: 20 Feb 2013, 20:23
by rednoah
You're already using your own format. Just add the extra part to the expression.

e.g. simple example:

Code: Select all

{n} ({y}){" CD$pi"}{fn.match(/[.]fanart|[.]mkv/)}

Re: Filebot & YAMJ filenames

Posted: 20 Feb 2013, 20:26
by Omertron
Excellent, thanks :)

Re: Filebot & YAMJ filenames

Posted: 20 Feb 2013, 20:29
by rednoah
Sure. Once you have something that works well with YAMJ please post back here so people can just copy & paste it:
http://filebot.sourceforge.net/forums/v ... hp?f=5&t=2

Re: Filebot & YAMJ filenames

Posted: 20 Feb 2013, 20:34
by Omertron
Personally, this is fine for me

Code: Select all

..\{n} {'('+y+')'}\{n} {'('+y+')'}{'.'+source}{'.'+vf}{".[CD$pi]"}{fn.match(/[.]fanart|[.]mkv/)}
but then I stage my movies before moving them to my movie folder