{info} details for series

All about user-defined episode / movie / file name format expressions
Post Reply
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

{info} details for series

Post 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)
I only work in black and sometimes very, very dark grey. (Batman)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: {info} details for series

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply