Problems with Kodi Scraping local NFO files for non-supported TVRage content?
#1
I used Ember Media Manager to create NFO files for content that wasn't supported by the TVRage database, but I can't get Kodi to pick it up. The files show up in the videos tab but I can't force it to add the content to my tv show listing, even though it will let me play them. Also when I try to manually force it to retrieve the episode info it says "information unavailable", yet the series info scraped fine. I've tried completely removing the series and re-adding it several times.



Image
Reply
#2
Should be two types of .nfo files containing XML data:
Main one: tvshow.nfo, and a per episode .nfo with matching names

I.e. for tvshow.nfo
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<tvshow>
    <title>name of your show</title>
    <showtitle>the title you want to be shown in library</showtitle>
    <rating>numerical value on the show up to 10.00000</rating>
    <year>release year</year>
    <displayseason>-1</displayseason>
    <displayepisode>-1</displayepisode>
    <outline></outline>
    <plot>show details</plot>
    <tagline></tagline>
    <runtime>0</runtime>
    <mpaa>TV-14</mpaa>
    <genre>blah</genre>
    <genre>blah 2</genre>
    <set></set>
    <premiered>YYYY-MM-DD</premiered>
    <status></status>
    <code></code>
    <aired>YYY-MM-DD</aired>
    <studio>blah studio</studio>
    <trailer></trailer>
    <actor>
        <name>actors name</name>
        <role>tv role name</role>
        <thumb>location of artwork</thumb>
    </actor>
    <actor>
        <name>actors name 2</name>
        <role>tv role name 2</role>
        <thumb>location of artwork</thumb>
    </actor>
    <dateadded>YYYY-MM-DD HH:MM:SS</dateadded>
</tvshow>

I.e. .nfo per episode with matching names
Code:
<episodedetails>
        <title>My TV Episode</title>
        <rating>10.00</rating>
        <season>2</season>
        <episode>1</episode>
        <plot>blah</plot>
        <thumb>artwork location</thumb>
        <playcount>0</playcount>
        <lastplayed></lastplayed>
        <credits>Writer</credits>
        <director>Blah</director>
        <aired>YYYY-MM-DD</aired>
        <premiered>YYYY-MM-DD</premiered>
        <studio>Production studio or channel</studio>
        <mpaa>MPAA certification</mpaa>
        <epbookmark>200</epbookmark>  <!-- For media files containing multiple episodes,
                                       where value is the time where the next episode begins in seconds  -->
        <displayseason>-1</displayseason>  <!-- For TV show specials, determines how the episode is sorted in the series  -->
        <displayepisode>-1</displayepisode>
        <actor>
          <name>actor</name>
          <role>actor role</role>
        </actor>
        <fileinfo>
          <streamdetails> <!-- no point in doing so, as the software will always overwrite data when you play back the video file.-->
          </streamdetails>
        </fileinfo>
        <dateadded>2015-02-16 23:19:41</dateadded>
    </episodedetails>
Reply
#3
(2015-03-24, 19:03)k4sh1n Wrote: Should be two types of .nfo files containing XML data:
Main one: tvshow.nfo, and a per episode .nfo with matching names

Thank you for your reply. I have both types of files...

Image


One of my nfo files:
Code:
<?xml version="1.0" encoding="utf-8"?>
<episodedetails>
  <title>Introduction and Philosophy</title>
  <rating>0</rating>
  <season>1</season>
  <episode>1</episode>
  <plot>In this first lecture, Professor Cardulla explains how any student can find success in chemistry by cultivating a meaningful understanding of the concepts and quantitative thinking operations that underlie this often challenging area of study.</plot>
</episodedetails>
Reply
#4
Try these:
01. Introduction and Philosophy.nfo
tvshow.nfo

I've labelled your show: "Chemistry with Frank Cardulla"

In file view refresh the folder instead of individual episodes, also is it saved with file extention.nfo or have you just made them default to open in notepad?
Reply
#5
(2015-03-24, 20:29)k4sh1n Wrote: Try these:
01. Introduction and Philosophy.nfo
tvshow.nfo

I've labelled your show: "Chemistry with Frank Cardulla"

In file view refresh the folder instead of individual episodes, also is it saved with file extention.nfo or have you just made them default to open in notepad?

I added your files, and refreshed the folder in file view, still having the issue Sad

Yes I have notepad set as the default application to open NFOs.
Reply
#6
Weird, I have it set on mine and tested okay, in © context menu have you set the source as TV and to use local information only scraper.
If its a no go, debug log please
Reply
#7
(2015-03-24, 20:56)k4sh1n Wrote: Weird, I have it set on mine and tested okay, in © context menu have you set the source as TV and to use local information only scraper.
If its a no go, debug log please

Yes & yes. What do I want to do once I enable debugging? Try to refresh?
Reply
#8
After turning on debug, go through the motions of setting up a source
set the content and scraper and go through and see if you can scrape files either automatically by scanning library via update and or/manually by pressing (i) for info and refresh that way.

Post the log here via pastebin or similar: Debug Log
Reply
#9
One more thing; does "01. Introduction and Philosophy" match your file name for the video file you have?
Reply
#10
(2015-03-24, 21:40)k4sh1n Wrote: One more thing; does "01. Introduction and Philosophy" match your file name for the video file you have?

Yeah, that is correct.

pastebin link


I'm using beta because I had an issue with the stable release where it quit scraping things period. From a google search everyone had fixed it but just updating to 14.1 beta. Perhaps I should update again? Lol.
Reply
#11
Update to 14.2 RC1
Log files: Could not enumerate file is your problem
The file name expression for regex is incorrect
Please change the .nfo and video file to: s01e01. Introduction and Philosophy and scan again
Reply
#12
(2015-03-24, 22:55)k4sh1n Wrote: Update to 14.2 RC1
Log files: Could not enumerate file is your problem
The file name expression for regex is incorrect
Please change the .nfo and video file to: s01e01. Introduction and Philosophy and scan again

This worked, thank you!!
Reply

Logout Mark Read Team Forum Stats Members Help
Problems with Kodi Scraping local NFO files for non-supported TVRage content?0