Quantcast
Channel: Kodi Community Forum - Information Providers (scrapers)
Viewing all articles
Browse latest Browse all 707

.nfo scraper ignoring season / episode number

$
0
0
Hi,

I posted a thread a few days ago at the Video section.

http://forum.kodi.tv/showthread.php?tid=289496

Haven't had much of a response, so thought I'd boil down into the fundamental issue that I'm having and post here.

I have the following TV Show folder structure that I'm hoping to scrape with a corresponding .nfo file for each episode.

Example:
Code:
Danger Mouse/Danger Mouse_20151006_0725.nfo
Danger Mouse/Danger Mouse_20151006_0725.ts

.nfo file contents:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<episodedetails>
    <title>Danger Mouse_20151006</title>
    <showtitle>Danger Mouse</showtitle>
    <season>2015</season>
    <episode>1006</episode>
    <aired>2015-10-06</aired>
</episodedetails>

My problem is that Kodi is completely ignoring the season / episode data contained in the .nfo, and is assigning season / episode by the filename. Is this normal behaviour? For the above example, I'm getting:

Code:
Season 7 > Episode 25 (with correct episode title tag)
Season 201510 > Episode 06 (with correct episode title tag)

I've attempted some work with "cleanstrings" with a regex but with no success.

Any help would be most appreciated!

Viewing all articles
Browse latest Browse all 707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>