Filebot & YAMJ filenames

All your suggestions, requests and ideas for future development
Post Reply
Omertron
Power User
Posts: 9
Joined: 14 May 2012, 14:07

Filebot & YAMJ filenames

Post 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
User avatar
rednoah
The Source
Posts: 19140
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot & YAMJ filenames

Post by rednoah »

FileBot will rename things as specified by your format.

e.g. keep words from filename:

Code: Select all

{fn.match(/[.]fanart|[.]mkv/)}
:idea: Please read the FAQ and How to Request Help.
Omertron
Power User
Posts: 9
Joined: 14 May 2012, 14:07

Re: Filebot & YAMJ filenames

Post by Omertron »

How do I do that from the GUI?
User avatar
rednoah
The Source
Posts: 19140
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot & YAMJ filenames

Post 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/)}
:idea: Please read the FAQ and How to Request Help.
Omertron
Power User
Posts: 9
Joined: 14 May 2012, 14:07

Re: Filebot & YAMJ filenames

Post by Omertron »

Excellent, thanks :)
User avatar
rednoah
The Source
Posts: 19140
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot & YAMJ filenames

Post 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
:idea: Please read the FAQ and How to Request Help.
Omertron
Power User
Posts: 9
Joined: 14 May 2012, 14:07

Re: Filebot & YAMJ filenames

Post 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
Post Reply