Can "automatic media center" use my movie actual format?

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Morgenstern72
Donor
Posts: 44
Joined: 09 May 2014, 18:57

Can "automatic media center" use my movie actual format?

Post by Morgenstern72 »

I am quite a newbie and so optimizing my movie format quite often.

Can http://www.filebot.net/forums/viewtopic.php?t=215 use my newest movie settings so that I do not have to put it in the command line?

My movie settings so far
../{primarytitle}{' ('+net.sourceforge.filebot.WebServices.IMDb.scrape(imdbid, '''//SPAN[@class='title-extra']''').match('"(.+)"')+')'} ({y}){' ['+fn.replaceAll(/(?i)directors|theatrical|ultimate/,'$0 Cut').matchAll(/UNRATED|REMASTERED|EXTENDED|UNCUT|DIRECTORS.CUT|THEATRICAL.CUT|ULTIMATE.CUT|SPECIAL.EDITION/).join('][').upperInitial().lowerTrail()+']'} [{vf}] [{ac}{fn.match("-HD.MA.")+af}]/{primarytitle} ({y}) {vc}{" (CD$pi)"}{' '+lang}
User avatar
rednoah
The Source
Posts: 23940
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can "automatic media center" use my movie actual format?

Post by rednoah »

If you want to use a custom format you'll have to pass it in in the cmdline call. It's a bit tricky cause of all the escaping, but you could also write little python or groovy script that passes things in as String Array.
:idea: Please read the FAQ and How to Request Help.
Morgenstern72
Donor
Posts: 44
Joined: 09 May 2014, 18:57

Re: Can "automatic media center" use my movie actual format?

Post by Morgenstern72 »

rednoah wrote:If you want to use a custom format you'll have to pass it in in the cmdline call. It's a bit tricky cause of all the escaping, but you could also write little python or groovy script that passes things in as String Array.

Well, I can write powershell, but sadly not python/groovy. Where is my lates format saved? Maybe I could extract it with powershell and just parse it in?
User avatar
rednoah
The Source
Posts: 23940
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can "automatic media center" use my movie actual format?

Post by rednoah »

GUI => Set format in Format Editor
CLI => Set format via --format option

So executing filebot from cmdline will require cmdline escaping. But with PowerShell maybe there's a smarter way. Kinda like with xargs on Unix, or Groovy since .NET sure has some sort of ProcessBuilder helper.

@see http://www.filebot.net/forums/viewtopic.php?f=4&t=1041
:idea: Please read the FAQ and How to Request Help.
Post Reply