DB issue (I think) stopping new files from being recognised. - 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: DB issue (I think) stopping new files from being recognised. (/showthread.php?tid=360879) |
DB issue (I think) stopping new files from being recognised. - hobleyd - 2021-02-27 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): Code:
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:
If I check my path table: Code:
However, the episodes table shows the problem: Code:
How can I get it to update the episodes table please? Cheers, David RE: DB issue (I think) stopping new files from being recognised. - Karellen - 2021-02-27 Need the full Debug Log which captures you scraping the tv show. RE: DB issue (I think) stopping new files from being recognised. - hobleyd - 2021-02-28 (2021-02-27, 10:23)Karellen Wrote: Need the full Debug Log which captures you scraping the tv show. Thanks. I have looked further and interestingly, for some reason a whole bunch of TV shows have been parented to a non-existing show, but with their actual directory. Any shows which are impacted, I can simply remove manually and re-add and it then scans to the library keeping the watched status of the individual episodes. So solved. RE: DB issue (I think) stopping new files from being recognised. - Karellen - 2021-02-28 (2021-02-28, 02:04)hobleyd Wrote: for some reason a whole bunch of TV shows have been parented to a non-existing showOk, seen that before many times. A corrupted database due to non-compatible nfo files. Are you using nfo files, or at some stage did you add these tv shows into Kodi via nfo files from a 3rd party media manager? RE: DB issue (I think) stopping new files from being recognised. - hobleyd - 2021-02-28 (2021-02-28, 02:13)Karellen Wrote:No, I have never used nfo files for TV Shows; I use them for a subset of my Movies though if that might have affected things somehow? I have only managed the DB via standard Kodi (I don't use addons other than the screensaver).(2021-02-28, 02:04)hobleyd Wrote: for some reason a whole bunch of TV shows have been parented to a non-existing showAre you using nfo files, or at some stage did you add these tv shows into Kodi via nfo files from a 3rd party media manager? RE: DB issue (I think) stopping new files from being recognised. - Karellen - 2021-02-28 (2021-02-28, 03:42)hobleyd Wrote: No, I have never used nfo files for TV Shows; I use them for a subset of my Movies though if that might have affected things somehow?No, movies won't affect tv shows. Can you delete that tv show from your library, and rescrape it, capturing it in a Debug Log. Ensure debug mode is enabled otherwise it is worthless. RE: DB issue (I think) stopping new files from being recognised. - hobleyd - 2021-03-02 (2021-02-28, 04:08)Karellen Wrote:It wouldn't be helpful any more, sorry - I have been cleaning the DB out by hand. It has taken a while to get my head around it, but I am almost complete now. Thanks for your help, though.(2021-02-28, 03:42)hobleyd Wrote: No, I have never used nfo files for TV Shows; I use them for a subset of my Movies though if that might have affected things somehow?No, movies won't affect tv shows. |