Some TV Shows are missing

I have had the Vero for like 1.5years now and also did a couple reinstalls. Today, I reinstalled 2019.4 from scratch, and after I scanned the TVShows folder, some shows are missing. The only difference between the earlier installs and today’s is that I use the fstab mount method to the NFS server, not the OSMC mount.
Where can I start to track this down?

Logs.

It’s probably a naming problem with directories and/or files.

Thank you!
I had a look into kodi.log and saw that the scan is being started and that some movies / shows cannot be scanned. However, the TV show I am missing the most is not even listed there. (It should be /mnt/TVShows/Tatort/). So in theory, it should be in the TV Show overview, but isn’t. What can I do?

Also, the below is the output from ‘cat kodi.log’. When I use ‘ls -al /mnt/TVShows/’, the diacritics / umlauts are replaced by two question marks: ‘/mnt/TVShows/Die Br??cke - Transit in den Tod (2011)/’. Can this be a problem?

2019-05-13 21:08:35.305 T:3935302368  NOTICE: VideoInfoScanner: Starting scan ..
2019-05-13 21:08:51.770 T:3935302368 WARNING: No information found for item '/mnt/Movies/Mit der Tür ins Haus (2019)/Mit der Tür ins Haus (2019).avi', it won't be added to the library.
2019-05-13 21:08:54.491 T:3935302368 WARNING: No information found for item '/mnt/TVShows/Die Brücke - Transit in den Tod (2011)/', it won't be added to the library.
2019-05-13 21:08:55.219 T:3935302368 WARNING: No information found for item '/mnt/TVShows/Nordlicht (2011)/', it won't be added to the library.
2019-05-13 21:08:57.892 T:3935302368 WARNING: No information found for item '/mnt/TVShows/MASH/', it won't be added to the library.
2019-05-13 21:08:59.772 T:3935302368 WARNING: No information found for item '/mnt/TVShows/Das HB-Männchen in seinen besten Spots (1994)/', it won't be added to the library.
2019-05-13 21:09:00.992 T:3935302368  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:25

Does it show when you do the ls of /mnt/TVShows?

No, that’s just a locale setting for bash, it won’t affect scanning the library.

Yes, it does:

osmc@osmc:~/.kodi/temp$ ll /mnt/TVShows/
total 408
drwxr-xr-x 31 osmc 5002   4096 Jan 25 13:56 .
drwxr-xr-x  7 root root   4096 May 13 17:54 ..
drwxr-xr-x  4 osmc 5002   4096 Feb 23  2018 11 Uhr 20 (1970)
...
drwxr-xr-x  8 osmc 5002   4096 Feb 23  2018 Picket Fences (1992)
drwxr-xr-x  5 osmc 5002  20480 May 13 21:19 Tatort
...
osmc@osmc:~/.kodi/temp$

Checking on TVDB, there is no show Tatort, so that would explain why it’s not scanning.

Then maybe it is a question of “how can I tell the scraper of 2019.4 to use German as a language”. It has been working flawlessly for 1.5 years, even if I stored a new episode (Tatort_1094_s2019e17.avi) on the NFS share and had the auto updater update the library.

BTW, the series is here: https://www.thetvdb.com/series/scene-of-the-crime-1
And kodi.old.log reports:

osmc@osmc:~/.kodi/temp$ grep Tatort kodi.old.log 
2019-05-13 20:56:36.452 T:3564892896  NOTICE: script.tv.show.next.aired: ### getting series & episode info for #83214 - Tatort

A simple fix would be rename the directory. If that’s not an option for you then you need to report this on the Kodi forums to see if anyone there has an idea.

Rename to what? The English naming? I am not sure how this would help, as e. g. ‘Die Brücke - Transit in den Tod (2011)’ (which is ‘The Bridge’ in English) was picked up correctly.
I will give that a shot nevertheless. Maybe I’ll also try to rename it to ‘Tatort (1970)’.

You could try the English naming.

Check the scrapper settings under addons and see if there is a language option. Maybe one of our German speakers here knows how to handle this. Otherwise the Kodi forums are probably your best bet.

So, renaming did not work either, neither “Scene of the Crime” nor “Tatort (1970)”, each followed by “Clean library” and “Update library”. Also setting the scraper’s default language did not work. So I’ll get in touch with the people over at the Kodi forums.
Thank you anyway for your guidance and support! :slight_smile:

Looks like there are 2 matching shows with Scene of the Crime. Try Scene of the Crime(1970)

What does the log sho?

No, also adding 1970 didn’t help. I am wondering why there is nothing in the log about this series (Tatort).

osmc@osmc:~/.kodi/temp$ tail kodi.log
2019-05-13 23:11:39.226 T:4066897920  NOTICE: CleanDatabase: Starting videodatabase cleanup ..
2019-05-13 23:11:57.263 T:4066897920  NOTICE: CleanDatabase: Cleaning videodatabase done. Operation took 00:18
2019-05-13 23:12:13.762 T:3524186848  NOTICE: VideoInfoScanner: Starting scan ..
2019-05-13 23:12:14.919 T:3524186848 WARNING: No information found for item '/mnt/Movies/Mit der Tür ins Haus (2019)/Mit der Tür ins Haus (2019).avi', it won't be added to the library.
2019-05-13 23:12:16.159 T:3524186848 WARNING: No information found for item '/mnt/TVShows/Die Brücke - Transit in den Tod (2011)/', it won't be added to the library.
2019-05-13 23:12:16.729 T:3524186848 WARNING: No information found for item '/mnt/TVShows/Nordlicht (2011)/', it won't be added to the library.
2019-05-13 23:12:17.579 T:3524186848 WARNING: No information found for item '/mnt/TVShows/MASH/', it won't be added to the library.
2019-05-13 23:12:36.763 T:3524186848   ERROR: GetDirectory - Error getting
2019-05-13 23:12:37.784 T:3524186848 WARNING: No information found for item '/mnt/TVShows/Das HB-Männchen in seinen besten Spots (1994)/', it won't be added to the library.
2019-05-13 23:12:38.213 T:3524186848  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:24

This happens sometimes with Kodi. It just refuses to scan a directory once it’s failed. And it can be difficult to get kodi to scan that directory again. If you are comfortable with using SQL you could remove the offending entry in the database (the show may not be there, but there is a path entry most likely). Or since you are just starting out, just delete the database and start over.

Interesting idea! I ran sqlite3 to have a look into MyVideos116.db. No offenders were visible, since I cleaned the library before I opened the db file. So I dumped the database into “before.sql”, closed it, updated the library in Kodi, re-opened the database and dumped it into “after.sql”.

A quick diff didn’t show too many interesting things, but a strange behavior in the generation of seasons:

The beginning:

INSERT INTO version VALUES(116,21);			      |	INSERT INTO version VALUES(116,20);
INSERT INTO genre_link VALUES(10,29,'tvshow');		      <
INSERT INTO genre_link VALUES(7,29,'tvshow');		      <
INSERT INTO path VALUES(337,'/mnt/TVShows/Tatort/',NULL,NULL, <
INSERT INTO tvshow VALUES(29,'Tatort','Unter dem Titel Tatort <
INSERT INTO tvshowlinkpath VALUES(29,337);		      <
INSERT INTO studio VALUES(143,'ORF');			      <
INSERT INTO studio_link VALUES(143,29,'tvshow');	      <
INSERT INTO seasons VALUES(2184,29,-1,'',NULL);		      <
INSERT INTO seasons VALUES(2185,29,0,'Specials',NULL);	      <
INSERT INTO seasons VALUES(2186,29,1,'Staffel 1 (1970)',NULL) <
INSERT INTO seasons VALUES(2187,29,2,'Staffel 2 (1971)',NULL) <

Kodi is adding the seasons (in German: Staffel). ID#1 is 1970, ID#2 is 1971 and so on. It goes on until today:

INSERT INTO seasons VALUES(2234,29,49,'Staffel 49 (2018)',NUL <
INSERT INTO seasons VALUES(2235,29,50,'Staffel 50 (2019)',NUL <

However then it is going on until the third value, “49” or “50” in the example above reach “2019”.

INSERT INTO seasons VALUES(2236,29,51,'',NULL);      <
...
INSERT INTO seasons VALUES(4204,29,2019,'',NULL);      <

So it seems there is either a wrong loop in the code somewhere, or TheTVDB metadata makes Kodi think that this series has 2019 seasons.

In fact, Kodi is generating 1969 excess seasons with the same empty name. I guess that Kodi cannot display this, or runs into timeouts of some sorts, and therefore does not show my series.

Interesting find, something worth reporting on the Kodi forums!

Did you checked TVDB forum. The love/hate relation between Tatort and TVDB has a long history and maybe it has changed once more.

Some of the threads
https://forums.thetvdb.com/viewtopic.php?f=42&t=21949&sid=662834e31f9c7cfbecac6e63cc6f2cb9
https://forums.thetvdb.com/viewtopic.php?t=52484&p=141072
https://forums.thetvdb.com/viewtopic.php?f=7&t=52081

i use https://kodi.wiki/view/TinyMediaManager as a workaoround.

I know it’s the other way (local folder info), it should be easier when done from Kodi via tvdb scraping, but for some reason it wouldn’t work at all. Even if i used the correct naming.

TinyMediaManager resolved it all for me, scraping the folders for info and placing nfo and pictures within the folder.

Thank you for the links. I was unaware of them. However, checking the series and the seasons’ details, I find the data is still there and correct. So Kodi should pick that up.

If the problem persists, I might have to give that a try, thank you. However, I still believe that this is something Kodi-version specific. It was working flawlessly until I reinstalled from scratch. (It worked also after the in-place upgrade).

I created a forum post on the Kodi forums here: Fresh 2019.4 install, missing series after adding TVShows – I will keep you posted.

Ladies and Gentlemen, Gents and Gentesses, Dudes and Dudettes,

Kodi v18 changed the default scraper for TV shows from “TheTVDB” to “TheMovieDB”. (Obviously, I have gone through all those menus so often that I can blindly walk through them without noticing that the scraper changed.) I still have no clue why TheMovieDB scraper wouldn’t pick up my Tatort TV show, but I installed the TVDB scraper, configured it, used it as scraper for TV shows, and voilá – my Tatort shows are in Kodi! :slight_smile:

Edit: TheMovieDB uses a different naming scheme, s01e01 instead of s1970e01 (for the Tatort show). That’s why the TheMovieDB scraper couldn’t pick up the episodes and disregarded them silently. Luckily, the TheTVDB scraper is still available for installation. Otherwise I’d have to rename a couple thousand episodes (or, at least, a couple hundred Tatort episodes).
So far, thanks for your support!