Page 1 of 1

pass {n} with --def exec

Posted: 31 May 2015, 09:15
by michiil
hey there,
i have written a script where i would need the name of my downloaded stuff. but if i use "exec=bash /filebot/script.sh 'n'" the name doesn't get passed..
am i doings something wrong or is it just not possible?

thanks in advance

Re: pass {n} with --def exec

Posted: 31 May 2015, 11:37
by rednoah
{n} will only work if xattr is enabled and working so that full metadata is stored in the filesystem. If xattr metadata is not stored / enabled then you will not be able to access that kind of metadata.

File-based bindings like {fn} will always work so you should be able to get the name from filename if need be.