Unskilled Scripter seeking help. adding --conflict auto to auto filing.

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
KiwiInAust
Posts: 2
Joined: 27 Jul 2017, 22:58

Unskilled Scripter seeking help. adding --conflict auto to auto filing.

Post by KiwiInAust »

Hi, Ill thank you in advance for your input.

I'm running filebot with this line filing away my Series.

Code: Select all

Y:\Media\Series\{n}\{n} Season {s.pad(2)}/ {n} {s00e00} - {t}.{vf}
However I am slowly building up double copies of files, and reading about it I think I need to be adding the "--conflict" auto some how.

However Ill be honest I'm not even sure if the script runs in the same area, and I can't really find a "Scripting for dummies" area here.

I'm not a total nub, however I'm currently out of my depth, can some one give me direction to a post or some direction in general?
KiwiInAust
Posts: 2
Joined: 27 Jul 2017, 22:58

Re: Unskilled Scripter seeking help. adding --conflict auto to auto filing.

Post by KiwiInAust »

Ok so Im starting to read more and try work this out.

I've found this which starts to read like something I can understand.

I'm not aiming to use this, however I can try and write one myself, that said, where is the Parameter information for where the media is in the first place?

I can see the following that set output, however where/how do you list where the files are?

Code: Select all

Parameter: seriesFormat = F:/TV/{n}/{'Season '+s}/{n} - {sxe} - {t}{'.'+lang}
Parameter: movieFormat = F:/Films/{n}

Code: Select all

C:\Users\Russ>"C:\Program Files\FileBot\filebot.exe" -script fn:amc --output "F:
" --def "seriesFormat=F:/TV/{n}/{'Season '+s}/{n} - {sxe} - {t}{'.'+lang}" "movi
eFormat=F:/Films/{n}" --log-file amc.log --action copy --conflict override -non-
strict --def music=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_
file=%F" "ut_dir=%D" --def xbmc=127.0.0.1
Locking C:\Users\Russ\AppData\Roaming\FileBot\logs\amc.log
Run script [fn:amc] at [Tue Nov 01 18:33:30 CET 2016]
Parameter: seriesFormat = F:/TV/{n}/{'Season '+s}/{n} - {sxe} - {t}{'.'+lang}
Parameter: movieFormat = F:/Films/{n}
Parameter: music = y
Parameter: ut_label = %L
Parameter: ut_state = %S
Parameter: ut_title = %N
Parameter: ut_kind = %K
Parameter: ut_file = %F
Parameter: ut_dir = %D
Parameter: xbmc = 127.0.0.1
Bad ut_label value: %L
Bad ut_state value: %S
Bad ut_title value: %N
Bad ut_kind value: %K
Bad ut_file value: %F
Bad ut_dir value: %D
Illegal usage: no input
Failure (┬░_┬░)
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Unskilled Scripter seeking help. adding --conflict auto to auto filing.

Post by rednoah »

1.
--conflict is about how FileBot deals with two files that are organized to exactly them same unique file path. If you use {vf} then you'll get different file paths for files with different video resolutions, and so --conflict will never come into play, because there won't be any conflicts.


2.
This script can help you find and delete logical duplicates:
viewtopic.php?f=4&t=5#p23171


3.
The amc script is thoroughly document. I believe it addresses all the questions from your second post:
viewtopic.php?f=4&t=215
:idea: Please read the FAQ and How to Request Help.
Post Reply