Kodi Community Forum

Full Version: NFO Date Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a number of videos that I have created my own NFO for and they scan in almost correctly. The main issue is the date shows us as 31 December 1969 (31/12/1969). I don't have any dates in my NFO. It seems to be the "null" value that gets inserted and appears to point to the Aired Date. When I edit my NFO and input an Aired Date, it shows it correctly.

If there a way of just having a black/empty date instead of the 31/12/1969 or do I have to edit all my NFO with the Aired Date.
Post the contents of one of your nfo files.
(2023-06-13, 01:37)Karellen Wrote: [ -> ]Post the contents of one of your nfo files.

I tried used a simple NFO file just with the title,

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<episodedetails>
  <title>Autumn's Concerto</title>
</episodedetails>

Also tried using tinyMediaManager

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--created on 2023-06-13 16:04:56 - tinyMediaManager 4.3.11.1-->
<episodedetails>
  <title>S01E01</title>
  <originaltitle/>
  <showtitle>Autumn's Concerto</showtitle>
  <season>1</season>
  <episode>1</episode>
  <displayseason>-1</displayseason>
  <displayepisode>-1</displayepisode>
  <id/>
  <ratings/>
  <userrating>0.0</userrating>
  <plot/>
  <runtime>90</runtime>
  <mpaa/>
  <premiered/>
  <aired/>
  <watched>false</watched>
  <playcount>0</playcount>
  <studio>TTV Main Channel</studio>
  <studio>Sanlih E-Television</studio>
  <trailer/>
  <dateadded>2023-06-13 16:04:03</dateadded>
  <epbookmark/>
  <code/>
  <fileinfo>
    <streamdetails>
      <video>
        <codec>h264</codec>
        <aspect>1.78</aspect>
        <width>1280</width>
        <height>720</height>
        <durationinseconds>1122</durationinseconds>
        <stereomode/>
      </video>
      <audio>
        <codec>AAC</codec>
        <language>eng</language>
        <channels>2</channels>
      </audio>
    </streamdetails>
  </fileinfo>
  <!--tinyMediaManager meta data-->
  <source>UNKNOWN</source>
  <original_filename>Autumn's Concerto S01E01.mp4</original_filename>
  <user_note/>
</episodedetails>


As I don't specify a date on it, it comes up as 31/12/1969.
Your Simple NFO file will never work. There is not enough data for Kodi to import it.

The TMM NFO file is missing the UniqueID which is a required item.
Are these shows/episodes not available at the scraper site?
Try using one of the templates here... https://kodi.wiki/view/NFO_files/Templat...e_Template

(2023-06-13, 01:35)satelly Wrote: [ -> ]The main issue is the date shows us as 31 December 1969 (31/12/1969)
I will need to see your tvshow.nfo file. I am guessing the date is coming from there.
Thanks Karellen for the reply. BTW how did you put the nfo file into the formatted "box">

The tvshow.nfo is below.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--created on 2023-06-13 19:39:53 - tinyMediaManager 4.3.11.1-->
<tvshow>
  <title>Autumn's Concerto</title>
  <originaltitle>下一站,幸福</originaltitle>
  <showtitle>Autumn's Concerto</showtitle>
  <sorttitle/>
  <year>2009</year>
  <ratings>
    <rating default="true" max="10" name="themoviedb">
      <value>6.5</value>
      <votes>10</votes>
    </rating>
  </ratings>
  <userrating>0.0</userrating>
  <outline/>
  <plot></plot>
  <tagline/>
  <runtime>90</runtime>
  <mpaa>US:TV-14</mpaa>
  <certification>US:TV-14</certification>
  <episodeguide>{"tmdb":"31360","imdb":"tt3530668","tvdb":"123171"}</episodeguide>
  <id>123171</id>
  <imdbid>tt3530668</imdbid>
  <tmdbid>31360</tmdbid>
  <uniqueid default="false" type="tmdb">31360</uniqueid>
  <uniqueid default="false" type="imdb">tt3530668</uniqueid>
  <uniqueid default="true" type="tvdb">123171</uniqueid>
  <premiered>2009-10-04</premiered>
  <status>Ended</status>
  <watched>false</watched>
  <playcount/>
  <trailer/>
  <dateadded>2009-10-04 00:00:00</dateadded>
  <!--tinyMediaManager meta data-->
  <user_note/>
</tvshow>

I think I have sorted out the way to fix the date issues. Kodi seems to put the 31/12/1969 if there is no value in certain fields of the nfo. For example, the tvshow.nfo requires a "premiered" tag. Now that I used the tinyMediaManager for the tvshow.nfo, it has the "premiered" tag and displays the correct date when looking at the series. For the episodes, it requires the "aired" tag. Previously I was using the bulk function of tinyMediaManager which does not have the "aired" tag. Using the standard function, it includes it and now shows the aired date of each episode correctly.