Ability to Configure NFO Output

Any questions? Need some help?
Post Reply
dokuro
Posts: 48
Joined: 01 Sep 2023, 18:45

Ability to Configure NFO Output

Post by dokuro »

Plex is adding the ability to use nfo, you can see this thread over at plex if you want to take a look -> https://forums.plex.tv/t/plex-nfo-agent ... iew/936104.

I was evaluating and testing this and while doing so the plex developer reported https://forums.plex.tv/t/plex-nfo-agent ... /936104/21 that the nfo generated by filebot is "sparse" of content. I used this method viewtopic.php?t=13560 to create the nfo file from filebot.

They suggested using Tiny Media Manager to generate the nfo using the Kodi/XBMC NFO format which has alot more information than the one generated by filebot.

So, if there a way to configure filebot to gather additional information and store that in the outputted nfo file?

For reference here are examples of two nfo, one from tmm and one from filebot.

Hamnet Movie NFO Generated by Tiny Media Manager:

XML: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--created on 2026-02-07 13:24:58 by tinyMediaManager 5.2.6 for KODI-->
<movie>
  <title>Hamnet</title>
  <originaltitle>Hamnet</originaltitle>
  <sorttitle/>
  <epbookmark/>
  <year>2025</year>
  <ratings>
    <rating default="true" max="10" name="imdb">
      <value>8.0</value>
      <votes>33290</votes>
    </rating>
  </ratings>
  <userrating>0</userrating>
  <set/>
  <plot>The powerful story of love and loss that inspired the creation of Shakespeare's timeless masterpiece, Hamlet.</plot>
  <outline>The powerful story of love and loss that inspired the creation of Shakespeare's timeless masterpiece, Hamlet.</outline>
  <tagline>Keep your heart open.</tagline>
  <runtime>126</runtime>
  <thumb aspect="poster">https://image.tmdb.org/t/p/w342/vbeyOZm2bvBXcbgPD3v6o94epPX.jpg</thumb>
  <thumb aspect="clearlogo">https://image.tmdb.org/t/p/original/wFxSRw8bCCnKkQ0oXVrHwr3QK69.png</thumb>
  <fanart>
    <thumb>https://image.tmdb.org/t/p/original/hSXEI0yKQufpBwwK1whpPiJIZJ3.jpg</thumb>
  </fanart>
  <mpaa>IE:12A</mpaa>
  <certification>IE:12A</certification>
  <id>tt14905854</id>
  <tmdbid>858024</tmdbid>
  <uniqueid default="false" type="tmdb">858024</uniqueid>
  <uniqueid default="true" type="imdb">tt14905854</uniqueid>
  <uniqueid default="false" type="wikidata">Q122741016</uniqueid>
  <country>United Kingdom</country>
  <country>United States</country>
  <status/>
  <code/>
  <premiered>2025-11-26</premiered>
  <watched>false</watched>
  <playcount>0</playcount>
  <genre>Drama</genre>
  <genre>Romance</genre>
  <genre>History</genre>
  <studio>Hera Pictures</studio>
  <studio>Neal Street Productions</studio>
  <studio>Amblin Entertainment</studio>
  <studio>Book of Shadows</studio>
  <credits tmdbid="1395183">Chloé Zhao</credits>
  <credits tmdbid="3967628">Maggie O'Farrell</credits>
  <director tmdbid="1395183">Chloé Zhao</director>
  <tag>based on novel or book</tag>
  <tag>grief</tag>
  <tag>death of son</tag>
  <tag>woman director</tag>
  <tag>16th century</tag>
  <actor>
    <name>Jessie Buckley</name>
    <role>Agnes</role>
    <thumb>https://image.tmdb.org/t/p/h632/i8IlkFbZqKUgkypZKpdhrw00uqw.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1498158</profile>
    <tmdbid>1498158</tmdbid>
  </actor>
  <actor>
    <name>Paul Mescal</name>
    <role>Will</role>
    <thumb>https://image.tmdb.org/t/p/h632/vrzZ41TGNAFgfmZjC2sOJySzBLd.jpg</thumb>
    <profile>https://www.themoviedb.org/person/2326151</profile>
    <tmdbid>2326151</tmdbid>
  </actor>
  <actor>
    <name>Emily Watson</name>
    <role>Mary</role>
    <thumb>https://image.tmdb.org/t/p/h632/bd0qiJXHoLNpkCqABsh67AKRtjC.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1639</profile>
    <tmdbid>1639</tmdbid>
  </actor>
  <actor>
    <name>Joe Alwyn</name>
    <role>Bartholomew</role>
    <thumb>https://image.tmdb.org/t/p/h632/lpkLUUcuLNO4KPswRwG2MF8Wobn.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1496392</profile>
    <tmdbid>1496392</tmdbid>
  </actor>
  <actor>
    <name>Jacobi Jupe</name>
    <role>Hamnet</role>
    <thumb>https://image.tmdb.org/t/p/h632/AbmnZOPvC1vA5yilvG3IyXdTSPB.jpg</thumb>
    <profile>https://www.themoviedb.org/person/3115247</profile>
    <tmdbid>3115247</tmdbid>
  </actor>
  <actor>
    <name>Noah Jupe</name>
    <role>Hamlet</role>
    <thumb>https://image.tmdb.org/t/p/h632/sOsr4SgcnVqpLofasvy0B6dxPuf.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1590759</profile>
    <tmdbid>1590759</tmdbid>
  </actor>
  <actor>
    <name>Bodhi Rae Breathnach</name>
    <role>Susanna</role>
    <thumb>https://image.tmdb.org/t/p/h632/sONxErk3r0xfoESAmU3GVTxoPDe.jpg</thumb>
    <profile>https://www.themoviedb.org/person/4088089</profile>
    <tmdbid>4088089</tmdbid>
  </actor>
  <actor>
    <name>Olivia Lynes</name>
    <role>Judith</role>
    <thumb>https://image.tmdb.org/t/p/h632/rixOc0eAICCG5l2rtY42kcSoBjm.jpg</thumb>
    <profile>https://www.themoviedb.org/person/4945576</profile>
    <tmdbid>4945576</tmdbid>
  </actor>
  <actor>
    <name>David Wilmot</name>
    <role>John</role>
    <thumb>https://image.tmdb.org/t/p/h632/epb46N0iJyAmSOguMdFn6qQGSsy.jpg</thumb>
    <profile>https://www.themoviedb.org/person/73287</profile>
    <tmdbid>73287</tmdbid>
  </actor>
  <actor>
    <name>Justine Mitchell</name>
    <role>Joan</role>
    <thumb>https://image.tmdb.org/t/p/h632/b8dmEYP6RbwLPL3HdKRcBTfEUPw.jpg</thumb>
    <profile>https://www.themoviedb.org/person/207040</profile>
    <tmdbid>207040</tmdbid>
  </actor>
  <actor>
    <name>Faith Delaney</name>
    <role>Young Agnes</role>
    <thumb>https://image.tmdb.org/t/p/h632/jIKjTzr4dCoybQgNhyREahh9Aym.jpg</thumb>
    <profile>https://www.themoviedb.org/person/4526195</profile>
    <tmdbid>4526195</tmdbid>
  </actor>
  <actor>
    <name>Smylie Bradwell</name>
    <role>Young Bartholomew</role>
    <thumb>https://image.tmdb.org/t/p/h632/azBE4R2mDUFo14IQaSRALWl5mso.jpg</thumb>
    <profile>https://www.themoviedb.org/person/4701424</profile>
    <tmdbid>4701424</tmdbid>
  </actor>
  <actor>
    <name>El Simons</name>
    <role>Ophelia</role>
    <thumb>https://image.tmdb.org/t/p/h632/nKOkm7OeVttAwH158PDelZYT1xO.jpg</thumb>
    <profile>https://www.themoviedb.org/person/5936193</profile>
    <tmdbid>5936193</tmdbid>
  </actor>
  <actor>
    <name>Freya Hannan-Mills</name>
    <role>Eliza</role>
    <thumb>https://image.tmdb.org/t/p/h632/eV70wCE8cte5KwXoLiJ1HzsQOuT.jpg</thumb>
    <profile>https://www.themoviedb.org/person/2500901</profile>
    <tmdbid>2500901</tmdbid>
  </actor>
  <actor>
    <name>Dainton Anderson</name>
    <role>Edmond</role>
    <thumb>https://image.tmdb.org/t/p/h632/pvW9RFi5uxOatW16dxYarGpn5rG.jpg</thumb>
    <profile>https://www.themoviedb.org/person/2041194</profile>
    <tmdbid>2041194</tmdbid>
  </actor>
  <actor>
    <name>Sam Woolf</name>
    <role>Bernardo</role>
    <thumb>https://image.tmdb.org/t/p/h632/k00sXOByDD1X1vmvpNdm997ZhBq.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1794806</profile>
    <tmdbid>1794806</tmdbid>
  </actor>
  <actor>
    <name>Jack Shalloo</name>
    <role>Marcellus</role>
    <thumb>https://image.tmdb.org/t/p/h632/nnllU5Uiif7a2Txmy3cNVJztXNG.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1119416</profile>
    <tmdbid>1119416</tmdbid>
  </actor>
  <actor>
    <name>Laura Guest</name>
    <role>Midwife</role>
    <thumb>https://image.tmdb.org/t/p/h632/bzMZHfmZXYr43bt1isanIRFoMkb.jpg</thumb>
    <profile>https://www.themoviedb.org/person/4822186</profile>
    <tmdbid>4822186</tmdbid>
  </actor>
  <actor>
    <name>Elliot Baxter</name>
    <role>Richard</role>
    <thumb>https://image.tmdb.org/t/p/h632/gKkEF8ZgN8TFbltGmpU4Ry0WkSb.jpg</thumb>
    <profile>https://www.themoviedb.org/person/2850899</profile>
    <tmdbid>2850899</tmdbid>
  </actor>
  <actor>
    <name>Louisa Harland</name>
    <role>Rowan</role>
    <thumb>https://image.tmdb.org/t/p/h632/8uH0t3Y7saXoPTYiSGy8ZQn6s8B.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1723014</profile>
    <tmdbid>1723014</tmdbid>
  </actor>
  <actor>
    <name>Eva Wishart</name>
    <role>Joan's Girl 1</role>
    <profile>https://www.themoviedb.org/person/5293318</profile>
    <tmdbid>5293318</tmdbid>
  </actor>
  <actor>
    <name>Effie Linnen</name>
    <role>Joan's Girl 2</role>
    <profile>https://www.themoviedb.org/person/5719518</profile>
    <tmdbid>5719518</tmdbid>
  </actor>
  <actor>
    <name>Hera Gibson</name>
    <role>Francisco</role>
    <profile>https://www.themoviedb.org/person/5293320</profile>
    <tmdbid>5293320</tmdbid>
  </actor>
  <actor>
    <name>Zac Wishart</name>
    <role>Thomas</role>
    <profile>https://www.themoviedb.org/person/5293321</profile>
    <tmdbid>5293321</tmdbid>
  </actor>
  <actor>
    <name>James Lintern</name>
    <role>James</role>
    <thumb>https://image.tmdb.org/t/p/h632/uHxdsxwMfwXcceTZk3EF5NYqtFa.jpg</thumb>
    <profile>https://www.themoviedb.org/person/5681745</profile>
    <tmdbid>5681745</tmdbid>
  </actor>
  <actor>
    <name>Matthew Tennyson</name>
    <role>Gertrude</role>
    <thumb>https://image.tmdb.org/t/p/h632/gh5dY6p7NtQTUEfu6KZuzrHGC6O.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1477827</profile>
    <tmdbid>1477827</tmdbid>
  </actor>
  <actor>
    <name>John Mackay</name>
    <role>Priest</role>
    <thumb>https://image.tmdb.org/t/p/h632/9xguSSaWEUE8XpYmARZpGpmiAAQ.jpg</thumb>
    <profile>https://www.themoviedb.org/person/2019290</profile>
    <tmdbid>2019290</tmdbid>
  </actor>
  <actor>
    <name>Clay Milner-Russell</name>
    <role>Laertes</role>
    <profile>https://www.themoviedb.org/person/2995946</profile>
    <tmdbid>2995946</tmdbid>
  </actor>
  <actor>
    <name>Chloé Zhao</name>
    <role>Globe Patron (uncredited)</role>
    <thumb>https://image.tmdb.org/t/p/h632/r8DmTdOqHbDUydCOVb277rncPTK.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1395183</profile>
    <tmdbid>1395183</tmdbid>
  </actor>
  <producer tmdbid="39">
    <name>Sam Mendes</name>
    <role>Producer</role>
    <thumb>https://image.tmdb.org/t/p/h632/5z89X9rB76JDblqMQ52fviwXxAN.jpg</thumb>
    <profile>https://www.themoviedb.org/person/39</profile>
  </producer>
  <producer tmdbid="34885">
    <name>Pippa Harris</name>
    <role>Producer</role>
    <profile>https://www.themoviedb.org/person/34885</profile>
  </producer>
  <producer tmdbid="363761">
    <name>Liza Marshall</name>
    <role>Producer</role>
    <thumb>https://image.tmdb.org/t/p/h632/yscVTNAdSI4tEG95q8IxC6zi3ap.jpg</thumb>
    <profile>https://www.themoviedb.org/person/363761</profile>
  </producer>
  <producer tmdbid="488">
    <name>Steven Spielberg</name>
    <role>Producer</role>
    <thumb>https://image.tmdb.org/t/p/h632/tZxcg19YQ3e8fJ0pOs7hjlnmmr6.jpg</thumb>
    <profile>https://www.themoviedb.org/person/488</profile>
  </producer>
  <producer tmdbid="948439">
    <name>Laurie Borg</name>
    <role>Executive Producer</role>
    <profile>https://www.themoviedb.org/person/948439</profile>
  </producer>
  <producer tmdbid="1160631">
    <name>Kristie Macosko Krieger</name>
    <role>Executive Producer</role>
    <thumb>https://image.tmdb.org/t/p/h632/xt3wasju1eU0dJ3dEfL92F00muI.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1160631</profile>
  </producer>
  <producer tmdbid="1089521">
    <name>Nicolas Gonda</name>
    <role>Producer</role>
    <thumb>https://image.tmdb.org/t/p/h632/u9q5KI29hB8lZ3bg2NP078r14IF.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1089521</profile>
  </producer>
  <producer tmdbid="1395183">
    <name>Chloé Zhao</name>
    <role>Executive Producer</role>
    <thumb>https://image.tmdb.org/t/p/h632/r8DmTdOqHbDUydCOVb277rncPTK.jpg</thumb>
    <profile>https://www.themoviedb.org/person/1395183</profile>
  </producer>
  <producer tmdbid="3967628">
    <name>Maggie O'Farrell</name>
    <role>Co-Producer</role>
    <thumb>https://image.tmdb.org/t/p/h632/wQm2FiO7YCojcUWchI9mB1hvcSb.jpg</thumb>
    <profile>https://www.themoviedb.org/person/3967628</profile>
  </producer>
  <producer tmdbid="5227389">
    <name>Caroline Reynolds</name>
    <role>Co-Producer</role>
    <profile>https://www.themoviedb.org/person/5227389</profile>
  </producer>
  <producer tmdbid="5660179">
    <name>Nicholas Brown</name>
    <role>Executive Producer</role>
    <profile>https://www.themoviedb.org/person/5660179</profile>
  </producer>
  <producer tmdbid="2537772">
    <name>Julie Pastor</name>
    <role>Executive Producer</role>
    <profile>https://www.themoviedb.org/person/2537772</profile>
  </producer>
  <trailer/>
  <languages>English</languages>
  <dateadded>2026-02-07 13:00:12</dateadded>
  <fileinfo>
    <streamdetails>
      <video>
        <codec>hevc</codec>
        <aspect>1.78</aspect>
        <width>1920</width>
        <height>1080</height>
        <resolution>1080</resolution>
        <durationinseconds>7544</durationinseconds>
      </video>
      <audio>
        <codec>aac</codec>
        <language>eng</language>
        <channels>2</channels>
      </audio>
    </streamdetails>
  </fileinfo>
  <!--tinyMediaManager meta data-->
  <source>UNKNOWN</source>
  <edition>NONE</edition>
  <original_filename>Hamnet [1080p HEVC].mp4</original_filename>
  <user_note/>
  <english_title>Hamnet</english_title>
</movie>
Hamnet Movie NFO Generated by FileBot:

XML: Select all

<movie>
  <title>Hamnet</title>
  <originaltitle>Hamnet</originaltitle>
  <set />
  <year>2025</year>
  <rating>7.714</rating>
  <votes>290</votes>
  <mpaa>PG-13</mpaa>
  <plot>The powerful story of love and loss that inspired the creation of Shakespeare's timeless masterpiece, Hamlet.</plot>
  <tagline>Keep your heart open.</tagline>
  <runtime>126</runtime>
  <id>858024</id>
  <genre>Drama</genre>
  <genre>Romance</genre>
  <genre>History</genre>
  <tag>based on novel or book</tag>
  <tag>grief</tag>
  <tag>death of son</tag>
  <tag>woman director</tag>
  <tag>16th century</tag>
  <country>GB</country>
  <country>US</country>
  <studio>Hera Pictures</studio>
  <studio>Neal Street Productions</studio>
  <studio>Amblin Entertainment</studio>
  <studio>Book of Shadows</studio>
  <certification>
    <country>AR</country>
    <rating>+13</rating>
  </certification>
  <certification>
    <country>AT</country>
    <rating>10</rating>
  </certification>
  <certification>
    <country>AU</country>
    <rating>M</rating>
  </certification>
  <certification>
    <country>BE</country>
    <rating>12</rating>
  </certification>
  <certification>
    <country>BR</country>
    <rating>14</rating>
  </certification>
  <certification>
    <country>CA</country>
    <rating>PG</rating>
  </certification>
  <certification>
    <country>CH</country>
    <rating>12</rating>
  </certification>
  <certification>
    <country>CL</country>
    <rating>TE+7</rating>
  </certification>
  <certification>
    <country>DE</country>
    <rating>12</rating>
  </certification>
  <certification>
    <country>FR</country>
    <rating>TP</rating>
  </certification>
  <certification>
    <country>GB</country>
    <rating>12A</rating>
  </certification>
  <certification>
    <country>HK</country>
    <rating>IIA</rating>
  </certification>
  <certification>
    <country>IE</country>
    <rating>12A</rating>
  </certification>
  <certification>
    <country>IL</country>
    <rating>All</rating>
  </certification>
  <certification>
    <country>KR</country>
    <rating>12</rating>
  </certification>
  <certification>
    <country>LV</country>
    <rating>12+</rating>
  </certification>
  <certification>
    <country>MX</country>
    <rating>B</rating>
  </certification>
  <certification>
    <country>NL</country>
    <rating>12</rating>
  </certification>
  <certification>
    <country>NZ</country>
    <rating>M</rating>
  </certification>
  <certification>
    <country>PR</country>
    <rating>PG-13</rating>
  </certification>
  <certification>
    <country>SG</country>
    <rating>M18</rating>
  </certification>
  <certification>
    <country>TH</country>
    <rating>13</rating>
  </certification>
  <certification>
    <country>TR</country>
    <rating>13+</rating>
  </certification>
  <certification>
    <country>US</country>
    <rating>PG-13</rating>
  </certification>
  <actor>
    <name>Jessie Buckley</name>
    <role>Agnes</role>
  </actor>
  <actor>
    <name>Paul Mescal</name>
    <role>Will</role>
  </actor>
  <actor>
    <name>Emily Watson</name>
    <role>Mary</role>
  </actor>
  <actor>
    <name>Joe Alwyn</name>
    <role>Bartholomew</role>
  </actor>
  <actor>
    <name>Jacobi Jupe</name>
    <role>Hamnet</role>
  </actor>
  <actor>
    <name>Noah Jupe</name>
    <role>Hamlet</role>
  </actor>
  <actor>
    <name>Bodhi Rae Breathnach</name>
    <role>Susanna</role>
  </actor>
  <actor>
    <name>Olivia Lynes</name>
    <role>Judith</role>
  </actor>
  <actor>
    <name>David Wilmot</name>
    <role>John</role>
  </actor>
  <actor>
    <name>Justine Mitchell</name>
    <role>Joan</role>
  </actor>
  <actor>
    <name>Faith Delaney</name>
    <role>Young Agnes</role>
  </actor>
  <actor>
    <name>Smylie Bradwell</name>
    <role>Young Bartholomew</role>
  </actor>
  <actor>
    <name>El Simons</name>
    <role>Ophelia</role>
  </actor>
  <actor>
    <name>Freya Hannan-Mills</name>
    <role>Eliza</role>
  </actor>
  <actor>
    <name>Dainton Anderson</name>
    <role>Edmond</role>
  </actor>
  <actor>
    <name>Sam Woolf</name>
    <role>Bernardo</role>
  </actor>
  <actor>
    <name>Jack Shalloo</name>
    <role>Marcellus</role>
  </actor>
  <actor>
    <name>Laura Guest</name>
    <role>Midwife</role>
  </actor>
  <actor>
    <name>Elliot Baxter</name>
    <role>Richard</role>
  </actor>
  <actor>
    <name>Louisa Harland</name>
    <role>Rowan</role>
  </actor>
  <actor>
    <name>Eva Wishart</name>
    <role>Joan's Girl 1</role>
  </actor>
  <actor>
    <name>Effie Linnen</name>
    <role>Joan's Girl 2</role>
  </actor>
  <actor>
    <name>Hera Gibson</name>
    <role>Francisco</role>
  </actor>
  <actor>
    <name>Zac Wishart</name>
    <role>Thomas</role>
  </actor>
  <actor>
    <name>James Lintern</name>
    <role>James</role>
  </actor>
  <actor>
    <name>Matthew Tennyson</name>
    <role>Gertrude</role>
  </actor>
  <actor>
    <name>John Mackay</name>
    <role>Priest</role>
  </actor>
  <actor>
    <name>Clay Milner-Russell</name>
    <role>Laertes</role>
  </actor>
  <actor>
    <name>Chloé Zhao</name>
    <role>Globe Patron (uncredited)</role>
  </actor>
  <credits>Maggie O'Farrell (Novel)</credits>
  <director>Chloé Zhao</director>
  <credits>Chloé Zhao (Screenplay)</credits>
  <credits>Maggie O'Farrell (Screenplay)</credits>
  <fileinfo>
    <streamdetails>
      <video>
        <codec>HEVC</codec>
        <aspect>1.778</aspect>
        <width>1920</width>
        <height>1080</height>
      </video>
      <audio>
        <codec>AAC</codec>
        <language>eng</language>
        <channels>2</channels>
      </audio>
    </streamdetails>
  </fileinfo>
  <imdb id='tt14905854'>https://www.imdb.com/title/tt14905854</imdb>
  <tmdb id='858024'>https://www.themoviedb.org/movie/858024</tmdb>
</movie>
User avatar
rednoah
The Source
Posts: 24424
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ability to Configure NFO Output

Post by rednoah »

We can certainly add more information. I'm not aware of any official NFO well-documented standard or specification though. NFO files generated by FileBot already follow the KODI wiki but the examples there are indeed very sparse. If it's more about KODI generates this, or TMM generates that, then we can certainly copy their example, but some exhaustive documentation would be nice.


:?: If Plex introduces support for NFO files, then I would be very interested in exactly what standard they use, i.e. which specific elements are read by their parser, or at least the example files they use to test their code.


:idea: Other than the built-in Export NFO files feature, we also have a scriptable post-processing feature (e.g. Generate custom NFO files) that could be used to generate custom NFO files / or prototype Plex-specific NFO files.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 48
Joined: 01 Sep 2023, 18:45

Re: Ability to Configure NFO Output

Post by dokuro »

I'll ask about what spec/standards they are using, I'll mention you on the thread over at the plex forum.

In the interim I'll take a look at the custom nfo script and see if I can figure it out. Thanks.
User avatar
rednoah
The Source
Posts: 24424
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ability to Configure NFO Output

Post by rednoah »

drzoidberg33 wrote:It’s basically Kodi-compatible as it seemed like the best fit considering that the most popular solution on the legacy agent side was for XBMC/Kodi.

They have examples here: https://kodi.wiki/view/NFO_files/Templates

We don’t read every field that exists there but we don’t read any that are not in there.
** https://forums.plex.tv/t/plex-nfo-agent ... /936104/32


Well, our NFO code was written from https://kodi.wiki/view/NFO_files/Templates so that's that. I understand that TMM generates NFO files different from FileBot, but FileBot itself already abides the docs, as best as I can extrapolate from the very limited Kodi wiki docs that are very much vague and non-exhaustive.

That said, I'm happy to change / add / remove elements from the current NFO template. I'd just need someone to point out the specific elements that are required by Plex but missing in the NFO generated by FileBot. NFO samples generated by TMM are nice, but won't actually tell me what Plex is specifically missing, because TMM adds lots of elements that are presumably not used by Plex.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 48
Joined: 01 Sep 2023, 18:45

Re: Ability to Configure NFO Output

Post by dokuro »

When I looked at https://kodi.wiki/view/NFO_files/Templates and expanded the SAMPLE - Movie nfo file there appears to be a lot more information in that example than is generated by filebot.

Also, in the post I linked https://forums.plex.tv/t/plex-nfo-agent ... /936104/21 above has at least some examples of what plex is looking for and not included. Did you see that post ?
User avatar
rednoah
The Source
Posts: 24424
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ability to Configure NFO Output

Post by rednoah »

Well, then it should be easy to point out specific differences:

XML: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
    <title>The King&apos;s Man</title>
    <originaltitle>The King&apos;s Man</originaltitle>
    <sorttitle>Kingsman 01</sorttitle>
    <ratings>
        <rating name="imdb" max="10" default="true">
            <value>6.300000</value>
            <votes>140619</votes>
        </rating>
        <rating name="themoviedb" max="10">
            <value>6.869000</value>
            <votes>3122</votes>
        </rating>
        <rating name="trakt" max="10">
            <value>6.688550</value>
            <votes>8059</votes>
        </rating>
    </ratings>
    <userrating>8</userrating>
    <top250>0</top250>
    <outline></outline>
    <plot>As a collection of history&apos;s worst tyrants and criminal masterminds gather to plot a war to wipe out millions, one man must race against time to stop them.</plot>
    <tagline>Witness the bloody origin.</tagline>
    <runtime>130</runtime>
    <thumb spoof="" cache="" aspect="poster" preview="">https://image.tmdb.org/t/p/original/nEVjOpekbcdBqAexiWu7zXuFlYU.jpg</thumb>
    <thumb spoof="" cache="" aspect="landscape" preview="">https://image.tmdb.org/t/p/original/iBXBqas9DMzesltQEBNM6BH3akt.jpg</thumb>
    <thumb spoof="" cache="" aspect="set.poster" preview="">https://image.tmdb.org/t/p/original/xMsRZIkUGUuHsNHCQBDyZH7l53M.jpg</thumb>
    <thumb spoof="" cache="" aspect="set.landscape" preview="">https://image.tmdb.org/t/p/original/mkusMBRJyXJCcJ5RKlrKK2SC0Qv.jpg</thumb>
    <thumb spoof="" cache="" aspect="set.fanart" preview="">https://image.tmdb.org/t/p/original/3Odw3MJymLLbFuOnmQjmvndKhOr.jpg</thumb>
    <thumb spoof="" cache="" aspect="clearlogo" preview="">https://assets.fanart.tv/fanart/movies/476669/hdmovielogo/the-kings-man-601651c77c528.png</thumb>
    <thumb spoof="" cache="" aspect="discart" preview="">https://assets.fanart.tv/fanart/movies/476669/moviedisc/the-kings-man-617786bba9b7f.png</thumb>
    <thumb spoof="" cache="" aspect="clearart" preview="">https://assets.fanart.tv/fanart/movies/476669/hdmovieclearart/the-kings-man-61c1bf1b46f3b.png</thumb>
    <thumb spoof="" cache="" aspect="keyart" preview="">https://assets.fanart.tv/fanart/movies/476669/movieposter/the-kings-man-5f468bd247c3b.jpg</thumb>
    <thumb spoof="" cache="" aspect="banner" preview="">https://assets.fanart.tv/fanart/movies/476669/moviebanner/the-kings-man-5e86bd6f81322.jpg</thumb>
    <thumb spoof="" cache="" aspect="set.clearlogo" preview="">https://assets.fanart.tv/fanart/movies/391860/hdmovielogo/kingsman-collection-5a69d2e6eaa21.png</thumb>
    <thumb spoof="" cache="" aspect="set.keyart" preview="">https://assets.fanart.tv/fanart/movies/391860/movieposter/kingsman-collection-5add0aa47e577.jpg</thumb>
    <thumb spoof="" cache="" aspect="set.banner" preview="">https://assets.fanart.tv/fanart/movies/391860/moviebanner/kingsman-collection-5a691aee3c1e1.jpg</thumb>
    <fanart>
        <thumb colors="" preview="https://image.tmdb.org/t/p/w780/A49NScAT4ZcgeC6HeSvkUPVNJaF.jpg">https://image.tmdb.org/t/p/original/A49NScAT4ZcgeC6HeSvkUPVNJaF.jpg</thumb>
    </fanart>
    <mpaa>Australia:MA</mpaa>
    <playcount>2</playcount>
    <lastplayed>2023-06-03</lastplayed>
    <id>476669</id>
    <uniqueid type="imdb">tt6856242</uniqueid>
    <uniqueid type="tmdb" default="true">476669</uniqueid>
    <genre>Action</genre>
    <country>United Kingdom</country>
    <country>USA</country>
    <set>
        <name>Kingsman Collection</name>
        <overview>The story of a super-secret spy organization that recruits an unrefined but promising street kid into the agency&apos;s ultra-competitive training program.</overview>
    </set>
    <tag>BluRay</tag>
    <tag>duringcreditsstinger</tag>
    <videoassettitle>Standard Edition</videoassettitle>
    <videoassetid>40400</videoassetid>
    <videoassettype>0</videoassettype>
    <hasvideoversions>false</hasvideoversions>
    <hasvideoextras>false</hasvideoextras>
    <isdefaultvideoversion>true</isdefaultvideoversion>
    <credits>Matthew Vaughn</credits>
    <credits>Karl Gajdusek</credits>
    <director>Matthew Vaughn</director>
    <premiered>2021-12-22</premiered>
    <year>2021</year>
    <status></status>
    <code></code>
    <aired></aired>
    <studio>Marv Films</studio>
    <trailer>King&apos;s Man (2021)-trailer.mkv</trailer>
    <fileinfo>
        <streamdetails>
            <video>
                <codec>h264</codec>
                <aspect>1.777778</aspect>
                <width>1920</width>
                <height>1080</height>
                <durationinseconds>7838</durationinseconds>
                <stereomode></stereomode>
                <hdrtype></hdrtype>
            </video>
            <audio>
                <codec>dtshd_ma</codec>
                <language>eng</language>
                <channels>8</channels>
            </audio>
            <subtitle>
                <language>eng</language>
            </subtitle>
        </streamdetails>
    </fileinfo>
    <actor>
        <name>Ralph Fiennes</name>
        <role>Orlando Oxford</role>
        <order>0</order>
        <thumb>https://image.tmdb.org/t/p/original/tJr9GcmGNHhLVVEH3i7QYbj6hBi.jpg</thumb>
    </actor>
    <actor>
        <name>Harris Dickinson</name>
        <role>Conrad Oxford</role>
        <order>1</order>
        <thumb>https://image.tmdb.org/t/p/original/grbjZDzxBHqHYc0V0ic0Y1M38s.jpg</thumb>
    </actor>
    <actor>
        <name>Gemma Arterton</name>
        <role>Polly</role>
        <order>2</order>
        <thumb>https://image.tmdb.org/t/p/original/Alfm28oyHNiYweNCUaMmrVjVMAT.jpg</thumb>
    </actor>
    <actor>
        <name>Rhys Ifans</name>
        <role>Grigori Rasputin</role>
        <order>3</order>
        <thumb>https://image.tmdb.org/t/p/original/AfXRP33ncRunR83JPehZ06Kgh8e.jpg</thumb>
    </actor>
    <actor>
        <name>Djimon Hounsou</name>
        <role>Shola</role>
        <order>4</order>
        <thumb>https://image.tmdb.org/t/p/original/mVJmaJyo6oDGUI9rS7gUJN203Vw.jpg</thumb>
    </actor>
    <resume>
        <position>0.000000</position>
        <total>0.000000</total>
    </resume>
    <dateadded>2022-02-24 17:59:36</dateadded>
</movie>
:?: I can guess few differences, sure, but which specific elements do we actually want for Plex?



e.g.

:?: <rating> sub elements for each db? What if we can only support <rating name="themoviedb"> ratings?

:?: <userrating> probably not?

:?: <thumb> elements? What do the spoof="" cache="" preview="" empty attributes mean? Leave those attributes out? Leave <thumb> elements entirely, because do we not want local artwork alongside local NFO files? Can we use local file paths relative to the NFO file?

:?: <mpaa> for only one country? Which country? All countries?

:?: <top250> probably not?

:?: <videoassettitle> and <videoassetid> and <videoassettype> and friends? Probably not?

:?: What values can <stereomode> and <hdrtype> have?

:?: <actor> thumbnail links? Easy, but do we not prefer local files alongside local NFO information?

:?: <resume> probably not?
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 48
Joined: 01 Sep 2023, 18:45

Re: Ability to Configure NFO Output

Post by dokuro »

No ideal. I'm only a user or your software and also the plex's software. Go ask the plex developer in the thread I linked you in on the plex forum.
Last edited by dokuro on 08 Feb 2026, 10:32, edited 2 times in total.
User avatar
rednoah
The Source
Posts: 24424
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ability to Configure NFO Output

Post by rednoah »

Note that I'm a bit pedantic about the details because the code that the Plex folks are writing is going to be very pedantic about those details. We can easily make any changes once we know what needs to be changed. The next FileBot release is going to be 4-8 months out, so no rush there.

We can let the Plex folks bake this feature for a while, and if they don't release specification / docs / guidelines / NFO examples / etc then we can always wait for the next Plex release and then run tests with the new scraper to see what works and what doesn't and what changes are needed to make it work.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 48
Joined: 01 Sep 2023, 18:45

Re: Ability to Configure NFO Output

Post by dokuro »

rednoah wrote: Yesterday, 10:30 Note that I'm a bit pedantic about the details because the code that the Plex folks are writing is going to be very pedantic about those details. We can easily make any changes once we know what needs to be changed. The next FileBot release is going to be 4-8 months out, so no rush there.

We can let the Plex folks bake this feature for a while, and if they don't release specification / docs / guidelines / NFO examples / etc then we can always wait for the next Plex release and then run tests with the new scraper to see what works and what doesn't and what changes are needed to make it work.
Sure, I get that. Maybe I'm just looking at this too simply but why not just grab it all ? If its part of the example from kodi then maybe some other media software may use the fields, plex will just ignore then if they don't need it.

NFO support in plex is something that a huge number the community has been waiting for. The last thing we'll want is a recommendation to go use tiny media manager as filebot is not fit for purpose when it comes to nfo's and plex. That could drive any new users to tmm and not filebot when deciding on a licence purchase.
User avatar
rednoah
The Source
Posts: 24424
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ability to Configure NFO Output

Post by rednoah »

Well, you say "all" but I wonder what specific code I have to write. I actually need to know what I want to do before I can write code to do that. I can certainly change / add a few things that make sense to me at this point in time.

In any case, once Plex has official support for NFO files then we will implement official support on our side as well. It'll be easy once we have more examples & can run tests against Plex to see what's missing / or necessary for the UI to show everything correctly. No worries there. These things can be added / changed from one day to the next.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 48
Joined: 01 Sep 2023, 18:45

Re: Ability to Configure NFO Output

Post by dokuro »

Understood. For now I can for certainly say based on the testing I have so far ...
  • <premiered> - is missing - plex confirmed they are using this
  • <uniqueid> - is missing - plex confirmed they are using this - filebot seems to have <id>
  • <actor> - is missing <thumb>, <profile> and <tmdbid>
Lets see what happens in the coming weeks/months and if anyone else starts testing this and reporting issues. I'm happy to help test our any updates when you decide to work on this so just drop me a note and I'll do what I can.

Thanks again.
User avatar
rednoah
The Source
Posts: 24424
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ability to Configure NFO Output

Post by rednoah »

:idea: So I had a quick look at the comments from the Plex staff. The missing <id> and <premiered> can be added easily. I've already updated the code.

:idea: The <order> and <thumb> attributes in the <actors> elements are already implemented since 2023 at least for the Export NFO files post-processing feature that's available via the GUI:
<actor>

XML: Select all

    <actor>
        <name>Sam Worthington</name>
        <role>Jake Sully</role>
        <order>0</order
    <thumb>https://image.tmdb.org/t/p/original/mflBcox36s9ZPbsZPVOuhf6axaJ.jpg</thumb>
    </actor>
:?: Perhaps you are using the amc script? Change to htpc.groovy could be made rather easily.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 48
Joined: 01 Sep 2023, 18:45

Re: Ability to Configure NFO Output

Post by dokuro »

I used viewtopic.php?t=13560 to generate the nfo. Is...

Shell: Select all

filebot -script fn:nfo /input
... not recommended or does that groovy script just need to be updated ?

Maybe...

Shell: Select all

filebot -find /path/to/input --apply nfo
... is the better method to do this ?
User avatar
rednoah
The Source
Posts: 24424
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ability to Configure NFO Output

Post by rednoah »

I see. If you're using the nfo script then you're in luck. The code for that is not built-in so we can easily publish auto-updates for everyone.

I've already pushed the requested changes:
https://github.com/filebot/scripts/comm ... 8e00f730fa

So if you try the same command again next week, you will already get the latest scripts and generate NFO files now more compatible with what Plex might expect.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 48
Joined: 01 Sep 2023, 18:45

Re: Ability to Configure NFO Output

Post by dokuro »

Super, thanks. I'll have most of tuesday morning free so I plan on taking the plex alpha build again for a more detailed look and will check the updated nfo script.
User avatar
rednoah
The Source
Posts: 24424
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ability to Configure NFO Output

Post by rednoah »

You can use filebot -script fn:sysinfo and if you see Script Bundle: 2026-02-08 (r1020) then it'll work. You can do filebot -clear-cache once to force a refresh.
:idea: Please read the FAQ and How to Request Help.
Post Reply