Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Kodi not adding TV episodes from local .nfo
#1
I'm trying to add episodes for a show not on the main scrapers.  It picks up the show itself from the tvshow.nfo file. The info is read correct when info is viwed from the source folder.  However the show doesn't appear in the library.

First, Is that because it hasn't successfully read any episdoes?

Second, why isn't it reading the episodes?  Episode .nfo files are named to match the video file as according to the wiki.

Code:
Things Fall Apart (1987) Part 1A.nfo

Perhaps I'm not understanding the content of the episode .nfo file?  Here's the first episode.  There are no "proper" episode numbers, episodes are named by Part 1A, etc.

Code:

<episodedetails>
    <title>Part 1A</title>
    <showtitle>Things Fall Apart</showtitle>
    <userrating></userrating>
    <plot>miniseries directed by David Orere and broadcast on Nigerian television by the Nigerian Television Authority</plot>
    <runtime></runtime>
    <uniqueid type="tv" default="true">tfa1a</uniqueid>
    <credits></credits>
    <director>David Orere</director>
    <aired>1987</aired>
    <actor>
        <name> Pete Edochie</name>
        <role></role>
        <order></order>
        <thumb></thumb>
    </actor>
</episodedetails>
Reply
#2
@ctawn

Your nfo file is missing the following on the first line
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

Does it scan now?
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
(2021-01-30, 05:35)Karellen Wrote: Does it scan now?

Thank you. I had high hopes, but after fixing the episode NFO files, it's still not reading them. The log (relevant part here) shows an error "could not enumerate file" on the episode video files themselves (not on the NFO files).  If I get info on a video file, the log shows that it "found full NFO" but the GUI says "NO INFORMATION FOUND" and nothing is added to the database.
Reply
#4
You have not named your episodes correctly. Where is the SxxEyy numbering?
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
(2021-01-30, 19:49)Karellen Wrote: You have not named your episodes correctly. Where is the SxxEyy numbering?
Thank you very much! The episodes don't follow that numbering. As the Wiki for episode NFO says season & episode are optional in the XML, I'd assumed wrongly the same for filenames. Forcing that resolved it.

Separate matter of curiosity: In the wiki for episode NFO related to "uniqueid" it says this:
Quote:<uniqueid type="xxxx" default="true"></uniqueid>
Only one uniqueID can be set as default="true", additional uniqueID's must be set as default="false" or ommitted
Could someone explain that? I used "true" for episode 1 in this case and "false" for the others, based on my interpretation of that.
Reply
#6
(2021-01-31, 15:06)ctawn Wrote: Could someone explain that? I used "true" for episode 1 in this case and "false" for the others, based on my interpretation of that.
Each movie, tv show and episode can have multiple Unique ID's - tvdb, tmdb, imdb, tvrage, tvmaze etc
Each movie, tv show and episode must have one (and only one) of those set as a "true" value.

(2021-01-31, 15:06)ctawn Wrote: As the Wiki for episode NFO says season & episode are optional in the XML, I'd assumed wrongly the same for filenames.
Correct. The season and episode tags in the nfo file are irrelevant, and are there only for completeness of data. The season and episode numbering is set from the filename.
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

Logout Mark Read Team Forum Stats Members Help
Kodi not adding TV episodes from local .nfo0