Page 1 of 1

{info} details for series

Posted: 25 Jan 2022, 01:15
by devster
I'm using TheMovieDB::TV for series and I was wondering why I can't find the {info.OriginalLanguage} binding there.
The website seems to support the information: https://www.themoviedb.org/tv/78941 but the binding doesn't seem to be there.

Code: Select all

filebot -rename --db TheMovieDB::TV --action test --format '{info.OriginalLanguage}' Aggretsuko.S01.JAPANESE/Aggretsuko.S01E01.mkv
* Consider using --mode interactive to enable interactive mode
Rename episodes using [TheMovieDB] with [Airdate]
Lookup via [Aggretsuko]
Fetching episode data for [Aggretsuko]
Binding "OriginalLanguage": undefined
net.filebot.format.SuppressedThrowables: Expression yields empty value: Binding "OriginalLanguage": undefined
	at net.filebot.format.ExpressionFormat.format(Unknown Source)
	at net.filebot.format.ExpressionFormat.format(Unknown Source)
	at net.filebot.cli.CmdlineOperations.formatMatch(Unknown Source)
	at net.filebot.cli.CmdlineOperations.getRenameMap(Unknown Source)
	at net.filebot.cli.CmdlineOperations.renameSeries(Unknown Source)
	at net.filebot.cli.CmdlineOperations.rename(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.runCommand(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
	at net.filebot.Main.main(Unknown Source)
Caused by: net.filebot.format.BindingException: Binding "OriginalLanguage": undefined
	at net.filebot.format.MediaBindingBean.undefined(Unknown Source)
	at net.filebot.format.AssociativeScriptObject.get(Unknown Source)
	at Script1.run(Script1.groovy:1)
	at net.filebot.format.SecureCompiledScript.lambda$eval$0(Unknown Source)
	at net.filebot.format.SecureCompiledScript.eval(Unknown Source)
	... 9 more

Error (o_O)

Re: {info} details for series

Posted: 25 Jan 2022, 02:57
by rednoah
e.g.

Code: Select all

$ filebot -list --q "Aggretsuko" --db TheMovieDB::TV --filter "s == 1 && e == 1" --format "{info.OriginalLanguage}"
ja

:idea: I'm using the latest revision. Support for this particular field may have been introduced recently.