Running FileBot from the console, Groovy scripting, shell scripts, etc
-
jaredc2
- Posts: 8
- Joined: 25 Jan 2020, 17:40
Post
by jaredc2 »
can someone please help me make a script.
i use the following codes to name my movies. but how do i make a script so i can select all my movies and it pick the correct name.
Code: Select all
{n.space('.')}.{y}.WebRip.{vf}
{n.space('.')}.{y}.BluRay.{vf}
thanks
-
rednoah
- The Source
- Posts: 23959
- Joined: 16 Nov 2011, 08:59
- Location: Taipei
-
Contact:
Post
by rednoah »
1.
jaredc2 wrote: ↑30 Mar 2020, 02:41
but how do i make a script so i can select all my movies and it pick the correct name.
That's what
filebot does, assuming
script refers to
shell script here:
https://www.filebot.net/cli.html

What have you tried so far? Where are you stuck?

Please read
How to Request Help.
EDIT:
2.
Perhaps, you mean to pick between
WebRip / BluRay in your format automatically? Does
script refer to
custom format expression?
Have you tried using
{vs} yet?
https://www.filebot.net/naming.html
Have you tried using conditions yet?
viewtopic.php?t=4191
-
jaredc2
- Posts: 8
- Joined: 25 Jan 2020, 17:40
Post
by jaredc2 »
yes custom format expression. im horrible at creating these. is their a example anyone has.
one expression, that would turn like web,WEB-DL,bdrip, so on into either WebRip or BluRay. i can expand, if theirs a example or start.
also {vf} turns into 720p or 1080p, is their anyway to do a capital P?
thanks
-
jaredc2
- Posts: 8
- Joined: 25 Jan 2020, 17:40
Post
by jaredc2 »
i got {n.space('.')}.{y}.{source.replace('WEBDL', 'webrip')}.{vf.upper()}
but how do i add like brip to Bluray in the expression or web-dl, so on.
thanks
-
rednoah
- The Source
- Posts: 23959
- Joined: 16 Nov 2011, 08:59
- Location: Taipei
-
Contact:
Post
by rednoah »
jaredc2 wrote: ↑30 Mar 2020, 22:18
but how do i add like brip to Bluray in the expression or web-dl, so on.
That's what
{vs} does:
viewtopic.php?t=11265