Solved Not loading episodes from premade .nfos
#1
I've been having an issue with certain shows episodes not being found. I have pre-made all my nfo files using MediaElch and after reading the logs the only errors I consider are:
Quote:2022-01-24 17:35:56.981 T:10932   DEBUG <general>: ADDON::CScraper::GetEpisodeList: Searching '155' using Local information only scraper (file: 'C:\Program Files\Kodi\addons\metadata.local\', content: 'tvshows', version: '1.0.1')
2022-01-24 17:35:56.981 T:10932   DEBUG <general>: CurlFile::Open(0x15a9954c030) 155
2022-01-24 17:35:56.981 T:10932   DEBUG <general>: XCURL:Big GrinllLibCurlGlobal::easy_acquire - Created session to ://
2022-01-24 17:35:59.272 T:10932   ERROR <general>: CCurlFile::FillBuffer - Failed: Couldn't resolve host name(6)
2022-01-24 17:35:59.272 T:10932   ERROR <general>: CCurlFile::Open failed with code 0 for 155:
                                                   
2022-01-24 17:35:59.272 T:10932   ERROR <general>: ADDON::CScraper::Run: Unable to parse web site
In this example I have the show '3rd Rock from the Sun' where only 2 of 6 seasons are found and when I try to refresh info on the show I get "No episodes found" and these errors in the log. For some shows it's all the episodes that are missing.

Here's my full log:

paste.kodi.tv/ikusibuxak.kodi

Here's the nfo files for the show:

Tv Show

Season 1

Season 3

These were made using MediaElch with the TMDB scraper but I get the same result when making them with the TVDB scraper. Nothing written in them jumps out at me as something to stall on. If there is something wrong with them and not just a Kodi problem then I'm happy to have this thread moved to the MediaElch section.
Reply
#2
@Snacuum
Nice post. You provided everything needed first time Smile

The error is on lines 1868-1871

In your tvshow.nfo delete this tag <episodeguide>155</episodeguide> and try scanning again or don't use the Local Info scraper, set the scraper that uses the same site you scraped the nfo files from.

There is an annoying bug in Kodi when using Local Info Only scraper for tv shows and using nfo files and those nfo files contain the <episodeguide> tag.

You don't need the <episodeguide> tag if you have nfo files for all your episodes.
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
*EDIT*

After trying the steps below I eventually found a similar thread containing the new error and someone with the same issues. Their problem was eventually solved by discovering they had some misnamed files.

I knew my files were named correctly, but I did have a few seasons with 'Extras' folders. They weren't a problem previously as my understanding was that Kodi would ignore them no matter where they were.
Well I removed them and now it updates! I will now go through all my shows and make a new post here if there's any more hitches I can't resolve.

----------------------------------------------------

So I tried a few things - I tried removing the tvshow.nfo and rebuilding it with MediaElch both for TVDB and TMDB and they still build with <episodeguide>

Looking it up on their thread and their git also doesn't display my exact issue, implying it was fixed with the TVDB API code change.

So I just removed the tag and tried again and still nothing works.

Latest log on a TMDB built nfo with <episodeguide> removed has this error:
Quote:2022-01-24 20:51:21.747 T:14320   DEBUG <general>: ADDON::CScraper::GetEpisodeList: Searching 'https://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6","id":72389}|Content-Type=application/json' using Local information only scraper (file: 'C:\Program Files\Kodi\addons\metadata.local\', content: 'tvshows', version: '1.0.1')
2022-01-24 20:51:21.803 T:14320   DEBUG <general>: CurlFile:TonguearseAndCorrectUrl() adding custom header option 'Content-Type: application/json'
2022-01-24 20:51:21.804 T:14320   DEBUG <general>: CurlFile::Open(0x22bf3021870) https://api.thetvdb.com/login
2022-01-24 20:51:21.804 T:14320   DEBUG <general>: XCURL:Big GrinllLibCurlGlobal::easy_acquire - Created session to https://api.thetvdb.com
2022-01-24 20:51:22.041 T:14320   DEBUG <general>: CScraperUrl::Get: Using "UTF-8" charset for "https://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6","id":72389}|Content-Type=application/json"
2022-01-24 20:51:22.042 T:14320   ERROR <general>: CScraperParser:Tonguearse: Could not find scraper function GetEpisodeList
2022-01-24 20:51:22.042 T:14320   ERROR <general>: ADDON::CScraper::Run: Unable to parse web site
Like you said it appears that the nfo loader doesn't want to find an 'episode list' and for some reason still asks TVDB? I don't understand why this works for the first 2 seasons and not the rest. Or why some shows and not others? Also I'm specifically using local scraper because I don't want Kodi to ever make its own library information, I'd prefer it to be once and done with my local files.
Reply
#4
OK. It looks like this problem has been clear up! Thank you for helping me investigate it.

After discovering the example show had a mis-positioned 'Extras' folder and also installing the 'Extras Menu' add-on, all my library appears correctly.
I went through my whole library to clean up any other bad folders and found that many shows that previously failed to load also had 'Extras'
I have no idea how this managed to stall the whole system so much but hey it works now.
For the record, my nfos still have the pre-built <espisodeguide> tag from MediaElch with no problems presenting from it.
Reply
#5
Thread marked solved.
Reply

Logout Mark Read Team Forum Stats Members Help
Not loading episodes from premade .nfos0