Jump to content

Collections : Adding description to the nfo file??


Recommended Posts

Posted

Creating collections pulled from extarnal sources, such as tmdb, mdblists and trakt. 

I can create collections, name them, all the items added return Ids as does the collection. 
I understand the server would use .nfo and TMDB to pull info if it was a collection of all the same type, eg Avengers..

Searching the api docs I cannot find anything that would allow me to inject the description into the correct part of the nfo file, see the code below.. 

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<collection>
  <plot />I would want the description added in here from an external source
  <outline />
  <lockdata>false</lockdata>
  <dateadded>2026-06-13 14:05:02</dateadded>
  <title>MDBlists: Horror (3 items)</title>
  <sorttitle>MDBlists: Horror (3 items)</sorttitle>
  <mpaa>GB-15</mpaa>
  <genre>Horror</genre>
  <genre>Mystery</genre>
  <displayorder>PremiereDate</displayorder>
</collection>

That is the correct part of the nfo, yes? 

 

Any help would be good. 

thanks


 

Posted

Hi, if you're going to use the api then you would just update the overview field and the server will worry about saving it to the database and nfo file.

Or if you want to edit the nfo directly, then yes that is the right node. Just make sure to use cdata.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...