Kodi Community Forum
A scraper ate my TV show season - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: A scraper ate my TV show season (/showthread.php?tid=371591)



A scraper ate my TV show season - Glorious1 - 2023-01-25

I've always used a media manager, and scanned sources with local information only.  I made the mistake of trying a scraper [ The TVDB (new) ] on a single season, season 2 of Combat!.
The season disappeared from the library, but was still in Video/Files/TV shows, and the original NFOs are still on the source.  I tried:
  • rescraping the season with local information only
  • changing the content of the whole show to None, then reset to TV show with local information only.
  • scan season to library
  • scan show to library.
I've probably tried other things too, but it won't come back.  Frankly I've never fully understood the messy hierarchy under Videos, but I did everything I could think of.  What should I do to get it back?


RE: A scraper ate my TV show season - Karellen - 2023-01-25

(2023-01-25, 05:55)Glorious1 Wrote: I made the mistake of trying a scraper [ The TVDB (new) ]
Yep, you need to use TheTVDB v4 scraper.
I know, we should really remove it from the repo, but we have been waiting for TVDB to close down their API's, but their shutdown dates keep drifting. They were meant to be closed a year ago...

I'll need to see a Debug Log of you scanning that show to figure out the problem.


RE: A scraper ate my TV show season - Glorious1 - 2023-01-25

Thanks very much @Karellen.  I tried rescraping the show with The TVDB v4 scraper, still didn't get the season back.  Then again with local info (with debug on), still no joy.

The debug log is sowehalezi (paste)

It looks like the scrape attempt starts about line 1347.  At 1670 it seems to just skip over season 2 with no mention of why.


RE: A scraper ate my TV show season - Karellen - 2023-01-25

(2023-01-25, 07:46)Glorious1 Wrote: The debug log is sowehalezi
Thanks

(2023-01-25, 07:46)Glorious1 Wrote: It looks like the scrape attempt starts about line 1347.  At 1670 it seems to just skip over season 2 with no mention of why.
Scroll to line 2160. You can see an attempt to scan Season 02.
Line 2193 shows a series of warnings that the files do not exist.
Are the files there? Could it be a permissions issue on your network?


RE: A scraper ate my TV show season - Glorious1 - 2023-01-25

(2023-01-25, 07:53)Karellen Wrote:
Code:
Scroll to line 2160. You can see an attempt to scan Season 02.
Line 2193 shows a series of warnings that the files do not exist.
Are the files there? Could it be a permissions issue on your network?
The files are definitely there.  I checked the permissions, Season 02 and contents have the same as everything else.  And the NFS share is at a higher level and shares all directories within it.  It has worked for years, and only got this problem after trying the scraper The TVDB (new).

I notice, when it says it can't find it, it is actually looking for a directory with the name of the video file and a trailing slash, which of course does not exist.  For instance, line 2193:
"WARNING : Process directory 'nfs://192.168.0.102/mnt/Ark/Media/TVseries/Combat!/Season 02/Combat! S02E01 - The Bridge at Chalons.mkv/' does not exist - skipping scan."
Is that a clue?


RE: A scraper ate my TV show season - Glorious1 - 2023-01-26

Very strange that I can't get that season back in the library.  I'd appreciate any ideas.


RE: A scraper ate my TV show season - Karellen - 2023-01-26

(2023-01-26, 05:54)Glorious1 Wrote: I'd appreciate any ideas.
Delete the entire show from your library.
Rename Combat! to Combat! (1962)
Rescan the show into the library.
Capture that in a Debug Log in case it does not work.


RE: A scraper ate my TV show season - Glorious1 - 2023-01-26

Okay, I'll try that, but when you say "rename", does that mean rename the show folder, and/or rename the show in the nfo, or rename each episode, or what?


RE: A scraper ate my TV show season - Karellen - 2023-01-26

(2023-01-26, 07:48)Glorious1 Wrote: does that mean rename the show folder
Yes, that one.
nfs://192.168.0.102/mnt/Ark/Media/TVseries/Combat! (1962)/


RE: A scraper ate my TV show season - Glorious1 - 2023-01-26

Renaming the show folder worked!  I'm not sure why, or why the season disappeared to begin with and wouldn't come back by removing the show from library and rescanning it.

I'll probably just leave it with the year because it's not an issue and I don't want to test what happens if I try to go back to the old name without year.

Thanks for your help @Karellen


RE: A scraper ate my TV show season - Karellen - 2023-01-26

@Glorious1

Great to hear its working.
As to what happened to S02, I would need a copy of the database to check.
But changing the path of the tv show forces Kodi to see it as a completely new show and any corrupt entries attached to the old show are not attached to the new show.