doubts about subtitles

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
panda78
Posts: 38
Joined: 22 Jan 2016, 18:45

doubts about subtitles

Post by panda78 »

Hi ,

i'm trying to optimize my amc script but i have some doubts about subtitles.

this script ( try to download italian and english subs ) don't download any subs

Code: Select all

filebot -script 'fn:amc' /Users/Andrea/Desktop/INPUT --output /Users/Andrea/Desktop/OUTPUT --action move --conflict auto -non-strict --lang it --def 'artwork=y' 'extras=y' 'subtitles=it,en' 'clean=y' 'skipExtract=y' 'excludeList=esclusi.txt'
this script download only english subs but i need italian also

Code: Select all

filebot -script fn:suball /Users/Andrea/Desktop/OUTPUT/ -non-strict --def maxAgeDays=7 ignoreTextLanguage=regex

were i wrong ?

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

Re: doubts about subtitles

Post by rednoah »

English (default):

Code: Select all

--lang eng
Italian:

Code: Select all

--lang ita
@run filebot -help
:idea: Please read the FAQ and How to Request Help.
panda78
Posts: 38
Joined: 22 Jan 2016, 18:45

Re: doubts about subtitles

Post by panda78 »

filebot -script fn:suball /Users/Andrea/Desktop/OUTPUT/ -non-strict —-lang ita def maxAgeDays=7 ignoreTextLanguage=regex
NoSuchFileException: /Users/Andrea/—-lang
java.nio.file.NoSuchFileException: /Users/Andrea/—-lang
at net.filebot.cli.ScriptShellMethods.getMediaFolders(ScriptShellMethods.java:156)
at net.filebot.cli.ScriptShellMethods.eachMediaFolder(ScriptShellMethods.java:181)
at Script1.run(Script1.groovy:50)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:116)
at net.filebot.Main.main(Main.java:168)
Failure (°_°)


i suppose your sudgest are for amc and not for suball right ?

how can i correct suball script to forse italian language ?
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: doubts about subtitles

Post by rednoah »

YES:

Code: Select all

--lang
NO! WTF? Does this not look wrong to you?

Code: Select all

—-lang
YES:

Code: Select all

--def maxAgeDays=7 
NO:

Code: Select all

def maxAgeDays=7 

Also, read this: viewtopic.php?f=4&t=1899
:idea: Please read the FAQ and How to Request Help.
Post Reply