Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
NFO Episodes Local Scraper V18
#1
Hi,

I am a developer of TV Scheduler Pro and have been trying to get my head around the way the nfo files work so I can add the feature to write them for each DVB-T capture.

I am trying two options, a tvshow.nfo per recording and also just an episodedetails.nfo per recording. I prefer the second option as it looks tidier in my Kodi setup I am working on and I have most of what I want working but am unable to get a few things to behave as expected (perhaps this is by design?)

It appears the following fields are ignored by the builtin nfo scraper for individual episodes and only the tvshow.nfo fields are used instead.
1. studio
2. premiered
3. year
4. mpaa
5. genre

There are probably others as well. 

If I edit the myvideos.db file and enter them in they work as expected.
If I enter them for the tvshows.nfo they are picked up there, but of course this then overrides all the episodes.

Is there something wrong with what I am doing or does Kodi not allow a TV Show to have different data for episodes to the base show for the above mentioned tags.

I have been through a max debug log and there is nothing there as it is all happy, finds the nfo files and imports them ok, just not the above tags in the episode table.

Here are the files, easy to replicate.

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tvshow>
  <title>TV Recordings</title>
  <sorttitle>1</sorttitle>
  <plot>Live TV Captured Recordings</plot>
  <studio>TVSP</studio>
  <premiered>2000-01-01</premiered>
  <year>2000</year>
</tvshow>

<episodedetails>
  <title>Peter Rabbit</title>
  <season>0</season>
  <episode>190227</episode>
  <plot>Peter and his friends try to find the perfect place to eat the radishes they took from Mr. McGregor's garden, but little do they know they've got a radish robber on their tails!(United Kingdom, English)</plot>
  <tagline>tagline JC</tagline>
  <outline>outline JC</outline>
  <runtime>45</runtime>
  <thumb>C:\Documents\Videos\Recordings\Images\PeterRabbit.jpg</thumb>
  <mpaa>G</mpaa>
  <id>20190227</id>
  <genre>Animation</genre>
  <genre>Children</genre>
  <premiered>2019-01-01</premiered>
  <year>2019</year>
  <studio>ABC2</studio>
</episodedetails>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<episodedetails>
           <title>Monty Python And The Holy Grail</title>
           <season>0</season>
           <episode>160207</episode>
           <plot>From the hilarious comedy troupe Monty Python, comes the story of King Arthur and his knights who embark on a low-budget search for the Holy Grail, encountering many very silly obstacles. #SBSMovies</plot>
           <tagline>Subtitle JC</tagline>
           <runtime>60</runtime>
           <thumb>C:\Documents\Videos\Recordings\Images\MontyPythonAndTheHolyGrail.jpg</thumb>
           <mpaa>TV-PG</mpaa>
           <id>20170207</id>
           <genre>Comedy</genre>
           <genre>Drama</genre>
           <credits>Joss Whedon</credits>
           <credits>David Greenwalt</credits>
           <director>Joss Whedon</director>
           <studio>SBS</studio>
           <actor>
               <name>David Boreanaz</name>
           </actor>
           <actor>
               <name>Gina McClain</name>
           </actor>
</episodedetails>


Files are named
tvshow.nfo
Peter Rabbit (2019-02-27 18-20).nfo
(2016-02-07 21-20) Monty Python And The Holy Grail.nfo

Note: I tried all different naming conventions, and Kodi does not seem to care about that, as long as the filename matches the nfo.

Also tried lots of different tag names, orders etc but generally have stuck to the examples in the wiki page.

JC.
Reply

Logout Mark Read Team Forum Stats Members Help
NFO Episodes Local Scraper V180