AMC Script - Movie folders

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
flasher111
Posts: 10
Joined: 14 Feb 2016, 08:09

AMC Script - Movie folders

Post by flasher111 »

First of all juhu i got FileBot and FileBot Node to work on my DSM6 Synology!
Thank rednoah for your great Service and fast Support.

I am really new to these great tools and what it does. Now i found an option in FileBot Node with "automation".
What i want to do is really simple. I have a Folder called "/volume1/downloads/Convert/" in this folder i will drag all my new untagged videos.
Than i have a second Folder called "/volume1/downloads/Convert_output/". This subfolder is my output folder for FileBot.
In FileBot "standard" i only get the untagged movies from "input" folder tagged to the movies folder without any folders.

So i searched for a way to get the movies automated tagged into a folder which has the same tag as the movie.

I read at the forum viewtopic.php?f=4&t=5 about the CLI scripts.
I think this CLI script should work for me "Rename All Media Folder by Folder"

Code: Select all

-script fn:renall "path/to/movies" -non-strict --db TheMovieDB --def target=folder
My problem is that i got an tagged movie but not in a new folder with the same name of the movie

Code: Select all

filebot -script 'fn:amc' /volume1/downloads/Convert --output /volume1/downloads/Convert_output --action copy -non-strict --conflict auto --lang de --def 'music=y' 'unsorted=y' 'subtitles=deu' 'deleteAfterExtract=y' 'exec=-script fn:renall "path/to/movies" -non-strict --db TheMovieDB --def target=folder' 'seriesFormat={n}.{s00e00}.{t}' 'movieFormat={n} [{y}]' 'excludeList=.excludes' --log info --log-file '/volume1/@appstore/filebot-node/data/filebot.log'

------------------------------------------

CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
[COPY] Rename [/volume1/downloads/Convert/test/test.mkv] to [/volume1/downloads/Convert_output/test [2014].mkv]
sh: - : invalid option
Usage:	sh [GNU long option] [option] ...
	sh [GNU long option] [option] script-file ...
GNU long options:
	--debug
	--debugger
	--dump-po-strings
	--dump-strings
	--help
	--init-file
	--login
	--noediting
	--noprofile
	--norc
	--posix
	--rcfile
	--restricted
	--verbose
	--version
Shell options:
	-ilrsD or -c command or -O shopt_option		(invocation only)
	-abefhkmnptuvxBCHP or -o option

------------------------------------------

[Process completed]
Maybe you can help me
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: New Folder

Post by rednoah »

1.
This will work:

Code: Select all

filebot -script 'fn:amc' /volume1/downloads/Convert --output /volume1/downloads/Convert_output --action copy -non-strict --conflict auto --lang de --def 'music=y' 'unsorted=y' 'subtitles=deu' 'deleteAfterExtract=y' 'excludeList=.excludes' --log info --log-file '/volume1/@appstore/filebot-node/data/filebot.log'
I used for 4 keys to write this command: CTRL+C/V and DELETE. It works by default, it doesn't work when you mess it up with your shitty customizations. ;)


2.
Learn how to use Format Expressions.

Alternatively, you could just keep the default formats which are already doing what you want. You explicitly define a "Dump all movies and episodes into the same folder" format, which personally I find most horrible. Stick to the default.
:idea: Please read the FAQ and How to Request Help.
flasher111
Posts: 10
Joined: 14 Feb 2016, 08:09

Re: AMC Script - Movie folders

Post by flasher111 »

ok back to the roots!

I deleted my old script and use the FileBot Node standard as you can see in my screenshots.

Image
Image
You explicitly define a "Dump all movies and episodes into the same folder" format, which personally I find most horrible. Stick to the default.
Sorry for this misunderstanding i don`t want to dump all movies and episodes into the same folder, because DS Movie does`t support this chaos logic.

I am also concentrated to movie!

My only wish is that each movie file is in a separate folder which has the same name as the movie file.
For example:
-Titanic [1997].mkv

and this movie file should be in a Folder called "Titanic [1997]"
volume1/downloads/Convert_output/Titanic[1997]/Titanic [1997].mkv

at the moment i got this
volume1/downloads/Convert_output/Titanic [1997].mkv

what am I doing wrong?
And what i have to change in FilebotNode to get this?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Script - Movie folders

Post by rednoah »

You have entered a custom Movie Format which overrides the default format. Make sure that all fields in the Custom Formats section are empty.
:idea: Please read the FAQ and How to Request Help.
Post Reply