Creating a custom nfo with tags
Posted: 01 Jul 2020, 15:22
Hi,
I was hoping to be able to automatically create a custom nfo file for tv shows after doing "filebot -rename". I want just one file per series folder, and would like it to be in this type of format:
I am using the CLI with xattr saved in text files. Writing something to extract the TVDB id from net.filebot.metadata is trivial, but I'm not sure how I would get the HDR info, resolution, and source. If possible, I'd like to piggyback off Filebot as you're already parsing this information.
I'm decent with python & bash, but don't have any experience with Groovy.
I was hoping to be able to automatically create a custom nfo file for tv shows after doing "filebot -rename". I want just one file per series folder, and would like it to be in this type of format:
Code: Select all
<tvshow>
<uniqueid type="tmdb" default="true">253463</uniqueid>
<tvdb id="253463">https://www.thetvdb.com/dereferrer/series/253463</tvdb>
<tag>HDR</tag>
<tag>4K</tag>
<tag>Blu-ray</tag>
</tvshow>
I'm decent with python & bash, but don't have any experience with Groovy.