Why doesnt it work?

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
torres3490
Posts: 13
Joined: 16 Jan 2017, 15:05

Why doesnt it work?

Post by torres3490 »

I new to this and would love everything to work on Auto...I found this on google and Man have I tried so hard to get this to work..
3hrs have passed and I got as far as the script renaming my file and moving it but to the default expression.

Heres how I have it typed up

filebot -script fn:amc --output "I:\Hi quality" --action copy -non-strict "I:\Yify" --conflict auto --def excludeList
--def movieFormat="{n} ({y}) {vf} {channels} {vc} /{n} ({y}) {vf} {channels} [{genres[0]}, rating {rating}]"
--def subtitles=en

Sorry if it looks funky, but like I mentioned, I dont know what Im doing, some1 please help!
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Why doesnt it work?

Post by rednoah »

Thanks for the post! Before a real human comes by, please make sure your report has all the following points checked:
  • What are you trying to do achieve? What's not working? What have you tried so far?
  • Include screenshots, logs or filenames (i.e. demonstrate the issue)
  • Include basic information (i.e. sysinfo output)
:idea: Please read How to Request Help and Fix Problems, Report Bugs, Get Features
:idea: Please read the FAQ and How to Request Help.
torres3490
Posts: 13
Joined: 16 Jan 2017, 15:05

Re: Why doesnt it work?

Post by torres3490 »

I want to rename my movies to this expression
{n} ({y}) {vf} {channels} {vc} /{n} ({y}) {vf} {channels} [{genres[0]}, rating {rating}]

and moved to another folder and delete the remaining ( folder)
I don t receive an error, it just doesn't rename it to the above expression
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Why doesnt it work?

Post by rednoah »

Logs? Screenshots? sysinfo output? Anything that would indicate why it doesn't work?

:idea: If you need help, providing minimum information would be helpful to the people who are willing to help you out.
:idea: Please read the FAQ and How to Request Help.
torres3490
Posts: 13
Joined: 16 Jan 2017, 15:05

Re: Why doesnt it work?

Post by torres3490 »

sorry noah, i just cant figure it out...everything seems to be working fine, its just not renaming it to how i want it
torres3490
Posts: 13
Joined: 16 Jan 2017, 15:05

Re: Why doesnt it work?

Post by torres3490 »

Ok Noah I just donated, Can you possibly write the script for me?
I just want the movies to be renamed to this expression

Anaconda (1997) 1080p 5.1 x264/Anaconda (1997) 1080p 5.1 [Adventure, rating 4.7].mp4

I want to download the subs and delete the remaining files

please help, im ready to give up
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Why doesnt it work?

Post by rednoah »

When you run the command you already have, what does the command-line output say?

Just so we're on the same page, this is what the command-line looks like:
Image
:idea: Please read the FAQ and How to Request Help.
torres3490
Posts: 13
Joined: 16 Jan 2017, 15:05

Re: Why doesnt it work?

Post by torres3490 »

Image

Results
I'm running this from a text file that I changed to a .bat
torres3490
Posts: 13
Joined: 16 Jan 2017, 15:05

Re: Why doesnt it work?

Post by torres3490 »

Why do I feel like using .bat isn't the correct way to run this script???
torres3490
Posts: 13
Joined: 16 Jan 2017, 15:05

Re: Why doesnt it work?

Post by torres3490 »

OK OK, great news
I got it to work...
heres my script

filebot -script fn:amc --output "H:\Movies/" --def movieFormat="{n} ({y}) {vf} {channels} {vc} /{n} ({y}) {vf} {channels} [{genres[0]}, rating {rating}]" --def artwork=y --def subtitles=en --action move -non-strict "I:\Yify" --log-file amc.log --def excludeList=amc.txt --def clean=y
--def movieFormat="{n} ({y}) {vf} {channels} {vc} /{n} ({y}) {vf} {channels} [{genres[0]}, rating {rating}]"

thanks for trying to help me Noah
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Why doesnt it work?

Post by rednoah »

Normally, you'd open a CMD window and then run some commands, or a .bat file you're working on. Double-clicking .bat scripts is for running scripts you already know are working, but it's a pretty bad idea for development.
:idea: Please read the FAQ and How to Request Help.
Post Reply