2021-02-27, 09:18
I had a an issue recently where Kodi lost the content type for my TV Shows source. I found this by trying to add new episodes, and having them not be recognised. I fixed that and tried to rescan, but they are still not being recognised.
So I have had a play around with the database and I was wondering what the linkages should be for this to work. Let me give you an example:
When I try to update the library, I get this in my kodi.log file (I changed the names for privacy reasons, but it does exist and match):
so it can see the files; but they do not appear in anywhere other than the Files section; the normal TV Shows section insists I have nothing from Season 3.
The show exists:
If I check my path table:
However, the episodes table shows the problem:
How can I get it to update the episodes table please?
Cheers,
David
So I have had a play around with the database and I was wondering what the linkages should be for this to work. Let me give you an example:
When I try to update the library, I get this in my kodi.log file (I changed the names for privacy reasons, but it does exist and match):
Code:
2021-02-27 12:54:58.930 T:3919569120 DEBUG: VideoInfoScanner: Found episode match nfs://syn01/volume1/xbmc/Television/A TV Show/Season 3/03x01 - Episode1.mkv (s3e1) [[0]*([0-9]+)x[0]*([0-9]+)[^\\/]*]
2021-02-27 12:54:58.930 T:3919569120 DEBUG: VideoInfoScanner: Found episode match nfs://syn01/volume1/xbmc/Television/A TV Show/Season 3/03x02 - Episode2.mkv (s3e2) [[0]*([0-9]+)x[0]*([0-9]+)[^\\/]*]
2021-02-27 12:54:58.930 T:3919569120 DEBUG: VideoInfoScanner: Found episode match nfs://syn01/volume1/xbmc/Television/A TV Show/Season 3/03x03 - Episode3.mkv (s3e3) [[0]*([0-9]+)x[0]*([0-9]+)[^\\/]*]
2021-02-27 12:54:58.931 T:3919569120 DEBUG: VideoInfoScanner: Found episode match nfs://syn01/volume1/xbmc/Television/A TV Show/Season 3/03x04 - Episode4.mkv (s3e4) [[0]*([0-9]+)x[0]*([0-9]+)[^\\/]*]
so it can see the files; but they do not appear in anywhere other than the Files section; the normal TV Shows section insists I have nothing from Season 3.
The show exists:
Code:
MariaDB [xbmc_video116]> select idShow, c00 from tvshow where c00 like '%A TV Show%';
+--------+------------+
| idShow | c00 |
+--------+------------+
| 787 | A TV Show |
+--------+------------+
1 row in set (0.001 sec)
If I check my path table:
Code:
MariaDB [xbmc_video116]> select * from path where strPath like '%A TV Show%';
+--------+----------------------------------------------------------+------------+------------+----------------------------------+---------------+----------------+-------------+----------+---------+---------------------+--------------+
| idPath | strPath | strContent | strScraper | strHash | scanRecursive | useFolderNames | strSettings | noUpdate | exclude | dateAdded | idParentPath |
+--------+----------------------------------------------------------+------------+------------+----------------------------------+---------------+----------------+-------------+----------+---------+---------------------+--------------+
| 2145 | nfs://syn01/volume1/xbmc/Television/A TV Show/Season 3/ | NULL | NULL | 3e41e034e26adc9dde8bf26abe207fdd | NULL | NULL | NULL | NULL | NULL | NULL | 1891 |
| 1890 | nfs://syn01/volume1/xbmc/Television/A TV Show/Season 1/ | NULL | NULL | 4241dbdc5828666d50135df2f6d30c07 | NULL | NULL | NULL | NULL | NULL | NULL | 1891 |
| 1891 | nfs://syn01/volume1/xbmc/Television/A TV Show/ | NULL | NULL | bba6ce5318358830dc65010d4d1d8cbe | NULL | NULL | NULL | NULL | NULL | 2019-08-05 03:32:03 | 566 |
| 1907 | nfs://syn01/volume1/xbmc/Television/A TV Show/Season 2/ | NULL | NULL | ae0f43d0c8e06497b4b8e502a4b5bbb4 | NULL | NULL | NULL | NULL | NULL | NULL | 1891 |
+--------+----------------------------------------------------------+------------+------------+----------------------------------+---------------+----------------+-------------+----------+---------+---------------------+--------------+
However, the episodes table shows the problem:
Code:
MariaDB [xbmc_video116]> select idEpisode, c18 from episode where idShow = 787 and c18 like '%Season 3%';
Empty set (0.001 sec)
How can I get it to update the episodes table please?
Cheers,
David