Page 1 of 1

write xattr data to .nfo file when -no-xattr is enabled

Posted: 16 Dec 2018, 23:49
by howdymilsap
My environment doesn't support xattr, but I'd still like to save that information if possible since there are so many advantages to having the xattr data.

Are there any options in the current version for doing so? Could this be written to the .nfo instead or some other file?

Re: write xattr data to .nfo file when -no-xattr is enabled

Posted: 17 Dec 2018, 07:42
by rednoah
Unfortunately, xattr only works with filesystem xattr support.

It's conceivable that you use -exec or --def exec (if you're using the amc script) to store xattr manually somehow for your own reference, though there would be no support within FileBot to refer to your custom companion files.

e.g.

Code: Select all

--def exec="echo {quote json} | tee -a {quote f}.xattr"
:idea: This is a Linux command template. {json} is a normal format variable that will give us the metadata object as json text. {f} is the file path, and we add .xattr to make sure we don't override our newly processed video file.