Page 1 of 1

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

Posted: 10 May 2014, 10:48
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}

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

Posted: 10 May 2014, 13:56
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.

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

Posted: 14 May 2014, 14:43
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?

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

Posted: 14 May 2014, 19:57
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