Page 1 of 1

Noob- naming convention/ scripting/ posters

Posted: 18 Dec 2013, 12:59
by bodok
Hi All,

I have scowered all of the posts i can and i am still none the wiser, and all the videos i have found relate to the naming conventions so i wonder if i can get any support to answer my questions here?


1) I have on the most part figured how to name my video files and music files how i require, however my music files i can not figure out how to get the album name to inclide the year. I wonder if someone can help me name as follows:
example
Foo Fighters/ [1997] The Colour And The Shape/ Track 1
Track 2 etc...

But i can not seem to get the album title to include the year as shown? Could someone tell me what expression i need to add into filebot?

2) Is it possible to drag and drop my video files into filebot and then filebot download the movie posters for each movie and put the poster in the same folder directory as each video file for example if i had the following structure could filebot downlaod the poster and put it in each respective folder.

Before
NAS/Videos/Action/ Die Hard
Rambo

After
NAS/Videos/Action/ Die Hard
Die Hard poster
Rambo
Rambo poster

Is this possible?

3) I have been looking into the basic expressions to change how my files are named but i have als briefly read into the scripts however i do not understand how these work, i have read you use 'groovy' but also read that that is not required to run the scripts?

From looking at the Script for example http://filebot.net/scripts/sorty.groovy, what do i do start to end to get this to work using filebot? Is there a start to end tutorial for this?

ny help on these three topics would be greatly appreciated,

Tank you in advance :-).

Re: Noob- naming convention/ scripting/ posters

Posted: 18 Dec 2013, 15:11
by rednoah
1.
It should be {y} (year) or {d} (year-month-day) but doesn't seem to be supported now. May work for some, may not work for others.

EDIT: Actually it works fine for most. Depends on the AcoustID response. {y} and {d} both work, and {y} will even try to fallback to ID3 info (if available) if the AcoustID response doesn't have the release data info.

2.
Yes, there's a script for that:
cmdline => http://www.filebot.net/forums/viewtopic ... 4&t=5#p205
cmdline via context menu => http://www.filebot.net/forums/viewtopic ... 1053#p6514

3.
Scripts are written in the Groovy scripting language and FileBot bundles Groovy so you only need FileBot to run Groovy scripts.
The sorty script is a sample to learn from, and should be modified before use. Should be extremely easy for anybody with a bit of programming background. Just learn a bit of Groovy and the scripts will make sense.

The AMC script is for noobs so lots of FAQs have accumulated:
http://www.filebot.net/forums/viewtopic ... =215#p1561

It's also in the videos. Basically you need to be able to use cmdline, that's minimum. Editing the scripts would be hard with no programming background I guess.

Re: Noob- naming convention/ scripting/ posters

Posted: 19 Dec 2013, 22:11
by bodok
Thank you rednoah that response was incredibly helpful, and i managed to get the naming convention exactly how i wanted :-).

One Last question and im sure its an incredibly silly one. If i was to use the script as mentioned above, how do i input that script into filebot and does it run the same way as if i were to just rename my video files?

Re: Noob- naming convention/ scripting/ posters

Posted: 20 Dec 2013, 04:17
by rednoah
...

1. write groovy script into text file
2. filebot -script aforementionedtextfile.groovy

...

Run a local groovy script:
http://www.filebot.net/script.html

The special syntax fn:name will grab the script from online:
TIP: Scripts listed here can easily be called via -script fn:name, where FileBot will resolve fn:name to https://raw.github.com/filebot/scripts/ ... ame.groovy