Writing .nfo files that create movie sets
#1
Kodi 18.9
LibreELEC 9.2.6

I recently did a complete export and import that was like 99% successful in keeping custom movie sets how I had created them. Recently, I snagged some new content and wanted to write an .nfo file that would scrape at the same time as the video files and create a movie set. The idea is to do it this way instead of doing it manually from the Kodi interface. I used the template found in another movie set, but I removed everything I thought wasn't necessary.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
    <title>You and The Living Machine</title>
    <originaltitle>You and The Living Machine</originaltitle>
   
    <set>
        <name>You Collection</name>
        <overview>Jiminy Cricket explains lots of subjects.</overview>
    </set>
</movie>


you.and.the.living.machine.1955.nfo
you.and.the.living.machine.1955.720p.bluray.flac2.0.x264-r40.mkv

The format of the .nfo file and naming convention of all files is repeated across all seven films I wanted added to this set. But the set was not created when I was in the Movies section, pressed left keyboard arrow, and chose Update library. The files scraped, but are not part of a set. The formatting (not the data) of title, original title, set, name, and overview all match other working sets that I created in Kodi and were part of the export and subsequent import.

Where did I mess up?
Reply
#2
xml:

<movie>
<set>
<name>You Collection</name>
<overview>Jiminy Cricket explains lots of subjects.</overview>
</set>
</movie>
https://www.themoviedb.org/movie/374581-...ng-machine

Copy the above into your nfo file exactly as above and try that.

You might have to check the https link at the end as I don't think they copy correctly out of the code box.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
(2020-12-27, 01:48)Karellen Wrote:
xml:

<movie>
<set>
<name>You Collection</name>
<overview>Jiminy Cricket explains lots of subjects.</overview>
</set>
</movie>
https://www.themoviedb.org/movie/374581-...ng-machine

Copy the above into your nfo file exactly as above and try that.

You might have to check the https link at the end as I don't think they copy correctly out of the code box.
I've tried:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
    <set>
        <name>You Collection</name>
        <overview>Jiminy Cricket explains lots of subjects.</overview>
    </set>
</movie>
https://www.themoviedb.org/movie/374581-...ng-machine

and 

<movie>
    <set>
        <name>You Collection</name>
        <overview>Jiminy Cricket explains lots of subjects.</overview>
    </set>
</movie>
https://www.themoviedb.org/movie/374581-...ng-machine

Plus changing the .nfo filename to match the video filename. Just to doublecheck, when I am in the Movies list and left arrow, then choose Update library that should see the changes to the .nfo files, correct?
Reply
#4
(2020-12-27, 03:25)brokenangel Wrote: then choose Update library that should see the changes to the .nfo files, correct?
No. Update Library only finds NEW titles.

To update EXISTING titles you need to use Refresh
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
All good. Although the overview doesn't appear, but that's a minor issue.
Reply

Logout Mark Read Team Forum Stats Members Help
Writing .nfo files that create movie sets0