[n00b] How to use FileBot Node

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

[n00b] How to use FileBot Node

Post by Predator2912 »

Hello from Germany,
sorry for my bad English.

I have no experience with any media server or clients and therefore neither with Filebot or something else.
But now I would like to watch my series on the nas and I would like to check or change the data with filebot node.

I used this HowTo for Installing Filebot and Filebot Node on my NAS DS916+ incl. the latest DSM Version.

But somehow I do not understand anything :(
For a first Test i would change one Season with Filebot and TheTVDB.

The original looks like this:
filebot_serien_test/TV Serien/12_Monkeys/Season 1
12-monkeys-dd51-sed-dl-7p -x264-101.mkv

And is to be renamed to:
filebot_serien_neu/TV Serien/Serienname"from-TheTVDB"/Season X/
Serienname"from-TheTVDB"-Serientitel"from-TheTVDB"-S01E01.video resolution

Image
-----------------------------------------
Image
-----------------------------------------
Image

Code: Select all

filebot -script 'fn:amc' '/volume1/filebot_serien_test/TV Serien/12_Monkeys/Season 1/' --output '/volume1/filebot_serien_sortiert/TV Serien' --action test --conflict auto --lang de --def 'ut_label=tv' 'music=y' 'unsorted=y' 'deleteAfterExtract=y' 'seriesFormat={n}/Season {s}/{n} - {t} - {´s´+s.pad(2)}e{e.pad(2)}.{vf}' --log all
------------------------------------------
Run script [fn:amc] at [Sat May 20 18:01:38 CEST 2017]
Parameter: ut_label = tv
Parameter: music = y
Parameter: unsorted = y
Parameter: deleteAfterExtract = y
Parameter: seriesFormat = {n}/Season {s}/{n} - {t} - {´s´+s.pad(2)}e{e.pad(2)}.{vf}
Argument[0]: /volume1/filebot_serien_test/TV Serien/12_Monkeys/Season 1
Input: /volume1/filebot_serien_test/TV Serien/12_Monkeys/Season 1/12-monkeys-dd51-sed-dl-7p-x264-101.mkv
.
.
.
ScriptException: SyntaxError: unexpected char: 0xB4
Processing 13 unsorted files
[TEST] From [/volume1/filebot_serien_test/TV Serien/12_Monkeys/Season 1/12-monkeys-dd51-sed-dl-7p-x264-101.mkv] to [/volume1/filebot_serien_sortiert/TV Serien/Unsorted/filebot_serien_test/TV Serien/12_Monkeys/Season 1/12-monkeys-dd51-sed-dl-7p-x264-101.mkv]
.
.
.

Processed 13 files
Finished without processing any files
Failure (°_°)
------------------------------------------

[Process error]
Where is my mistake?
And for what is: matchfilter / ignore rules / exclude list ... thought
What or which commands are entered there? I have nothing found here in the Forum.

I hope you can help me and
Many Many Thanks
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: N00b needs Help for Filebot Node

Post by rednoah »

Set input and output and don't change anything else. Once that's working, you can make customizations step-by-step and see what it does.


1.
Your format is incorrect.

NO:

Code: Select all

´s´
YES:

Code: Select all

's'

:?: Did you use Microsoft Word to write a format? There is software that automatically changes " and ' to other characters. Do not use this kind of software.


I recommend using the Format Editor GUI for prototyping your format:
http://www.filebot.net/naming.html

Image


2.
The --filter, --def ignore and --def excludeList options are documented and explained in the manual:
viewtopic.php?f=4&t=215

:idea: If you don't know what an option does, I then recommend using the suggested default value. You can always fine-tune things later step-by-step.
:idea: Please read the FAQ and How to Request Help.
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

Re: N00b needs Help for Filebot Node

Post by Predator2912 »

Wow

thanks for your quick Answer.
I do not notice that the format is wrong but I test it later or tomorrow again.

And thanks for the Link to the Manual I'll read that tomorrow and hope it helps me.
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

Re: N00b needs Help for Filebot Node

Post by Predator2912 »

It looks very good so far, now I have to make the fine tunning.
However, I still have one more question to you.

I found this Thread viewtopic.php?f=6&t=42&start=75 but I do not understand much of it :(

It is now possible to rename a nfo file?
Simple like: (all files in the same folder)

from:
movie12345-action-uncut.mkv
movie12345-action-uncut.nfo

to:
uncut_movie-action.mkv
uncut_movie-action.nfo

So if the original nfo file is named as the film, filebot node renamed the nfo file automatically to new Moviename.nfo ??


Thx
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: N00b needs Help for Filebot Node

Post by rednoah »

--def artwork=y is what you want.

The amc script does not import existing nfo files. Instead, it'll generate new standardized xml nfo files for you.
:idea: Please read the FAQ and How to Request Help.
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

Re: N00b needs Help for Filebot Node

Post by Predator2912 »

Hello again,

i have some new Questions and hope you can help me once again ;)
and sorry for my stupid questions but it´s all new for me :(

I find that the strict mode is the easiest way for me at the moment.
But there is one Problem.

1.
Serie "Bones"
Input Folder /Data/TV Series/Bones
Tv Series/Bones/Episode 1 to /Bones/Episode 11 but at the Folder "Episode 10" an "Episode 11" i became a
Multiple queries Error

Code: Select all

Auto-detected query: [Bones, euhd bones]
CmdlineException: Multiple queries: Processing multiple shows at once requires -non-strict matching: [Bones, euhd bones]
Is there a way to exclude both folders during the first run with strict mode?
And after that a way only for the both folders with no-strict?
Or how do to the best way

2.
At the Moment i´ve nothing Change at the Exclude List so there is standard .excludes.
After some Changes i made a dry run test and after that i would excute to finale it but:

Code: Select all

Run script [fn:amc] at [Sun May 21 15:18:12 CEST 2017]
Parameter: music = y
Parameter: deleteAfterExtract = y
Parameter: seriesFormat = TV Serien/{n} ({Y})/Season {s.pad(2)}/{n} ({Y}) - {'S'+s.pad(2)}E{e.pad(2)} - {t}_[{resolution}p]_{vc}
Parameter: excludeList = .excludes
Argument[0]: /volume1/filebot_serien_sortiert/TV Series/Bones
Use excludes: /volume2/Daten/.excludes (281)
No files selected for processing
Done ヾ(@⌒ー⌒@)ノ
So the Files from the Test run are written in the excludelist, how can i handel this?

Thanks again to you
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: N00b needs Help for Filebot Node

Post by rednoah »

1.
I would generally recommend using -non-strict mode. If your media files aren't well-named already, then strict mode will most likely be too strict for a good number of files.

@see viewtopic.php?f=3&t=4695


:idea: You can use the --def ignore option to exclude files from processing though.


2.
If you use --action test (i.e. Dry Run) then the exclude list will not be modified. You can delete or modify the exclude list if you want to process the same files for real multiple times.
:idea: Please read the FAQ and How to Request Help.
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

Re: N00b needs Help for Filebot Node

Post by Predator2912 »

rednoah wrote:1.
I would generally recommend using -non-strict mode. If your media files aren't well-named already, then strict mode will most likely be too strict for a good number of files.

@see viewtopic.php?f=3&t=4695


:idea: You can use the --def ignore option to exclude files from processing though.
Oh Okay,
then I will test or practice it with the no-string mode.

Can i used " --q Bones " in no-string mode to force or select this Titel so that euhd bones would be ignored?
or anythingelse?

Code: Select all

Auto-detected query: [Bones, euhd bones]
CmdlineException: Multiple queries: Processing multiple shows at once requires -non-strict matching: [Bones, euhd bones]
And under your Link i found this:
If you find a bad match, just hit the DELETE key to remove the selected match Image from the list.

What does it mean and is there an command for it if it can help me?
rednoah wrote: 2.
If you use --action test (i.e. Dry Run) then the exclude list will not be modified. You can delete or modify the exclude list if you want to process the same files for real multiple times.
This is strange
But I keep watching this.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [n00b] How to use FileBot Node

Post by rednoah »

1.
The amc script does not support the --q option. If you want to use that, then you need log in with SSH and make simple -rename --q calls yourself. There's not point though, because in -non-strict mode it'll just work.

Please send me the full file path of the files that can't be processed in strict mode, so I can update the blacklist if possible:
viewtopic.php?f=5&t=4


2.
The link explains the concepts of strict and non-strict mode. Anything that refers to the GUI application (e.g. such clicking buttons) does not apply to the command-line tools you're using.
:idea: Please read the FAQ and How to Request Help.
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

Re: [n00b] How to use FileBot Node

Post by Predator2912 »

Oh Okay.

I thought the commands also work in the node.
Then I think it is the best or easiest way if I would used the Node to learning
and to create a "standard commando line".

The fine Tunning and the finale "rename" over the log in with ssh.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [n00b] How to use FileBot Node

Post by rednoah »

FileBot Node is a wrapper for the amc script. You cannot call other commands or scripts.
:idea: Please read the FAQ and How to Request Help.
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

Re: [n00b] How to use FileBot Node

Post by Predator2912 »

But i can Used Filebot CLI over the ssh log in or is that wrong? Or do I make a mistake?

And If is right i can used/change:

Code: Select all

filebot -script 'fn:amc' '/volume1/TV Series/Bones/' --output /volume2/Daten --action test --conflict auto --lang de --def 'music=y' 'deleteAfterExtract=y' 'seriesFormat=TV Serien/{n} ({Y})/Season {s.pad(2)}/{n} ({Y}) - {'\''S'\''+s.pad(2)}E{e.pad(2)} - {t}_[{resolution}p]_{vc}' 'excludeList=done1.txt'
to something like that

Code: Select all

filebot -rename '/volume1/TV Series/Bones/' --output /volume2/Daten/TV Serien/ --action test -non-strict --db TheTVDB --q Bones --conflict auto --lang de --format '{n} ({Y})/Season {s.pad(2)}/{n} ({Y}) - {'\''S'\''+s.pad(2)}E{e.pad(2)} - {t}_[{resolution}p]_{vc}.{cf}'
or not?
Post Reply