Something keeps on deleting my data and I cannot find who it is! - 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: Something keeps on deleting my data and I cannot find who it is! (/showthread.php?tid=363422) |
Something keeps on deleting my data and I cannot find who it is! - AMoo-Miki - 2021-07-05 I have set up Kodi 19.1 to use a MySQL database. I use metadata.themoviedb.org.python to scrape the metadata in. I have a blank profile with no addons and the only ones getting loaded are those packaged with Kodi.The movie gets scanned into the library successfully: Code:
However, as soon as I enter the Movies menu, the following happens: Code:
As you see, not only streamdetails is populated twice, but also the uniqueid entries are replaced and in the process, one is lost. The full log can be found here.I don't care much for the double scanning but I care for the lost uniqueid ; while not shown in this log, rating entries are also removed and only one is retained (always the TMDB one). What I am trying to figure out is if this is a bug with the scraper or with Kodi, or if there is some setting that has to be adjusted to retain the extra information. Any help would be much appreciated.
RE: Something keeps on deleting my data and I cannot find who it is! - Karellen - 2021-07-05 (2021-07-05, 09:52)AMoo-Miki Wrote: but also the uniqueid entries are replaced and in the process, one is lostThat is a known issue which you can read about here and the attached github report... https://forum.kodi.tv/showthread.php?tid=359642 As for the streamdetails issue, I am hoping it is related to the uniqueID issue. If you install the most recent nightly you will have the fix for the UniqueID. I am hoping that will solve the streamdetails issue also. Its the first time I have seen either of these issues on MySQL setup. Download from here... https://mirrors.kodi.tv/nightlies/windows/win64/Matrix/ RE: Something keeps on deleting my data and I cannot find who it is! - AMoo-Miki - 2021-07-05 Thanks @Karellen. I checked the 20210703 build: Code:
It doesn't remove the rating and uniqueid entries, which is great; it does an unnecessary update which is relatively unimportant.Just FYI, since you mentioned, the streamdetails part hasn't been impacted by the fix and continues to run twice.
RE: Something keeps on deleting my data and I cannot find who it is! - Karellen - 2021-07-05 (2021-07-05, 20:53)AMoo-Miki Wrote: Just FYI, since you mentioned, the streamdetails part hasn't been impacted by the fix and continues to run twice.The streamdetails are still being deleted then? RE: Something keeps on deleting my data and I cannot find who it is! - Klojum - 2021-07-05 (2021-07-05, 21:07)Karellen Wrote: The streamdetails are still being deleted then? There are some 8 such sql queries in his log file. Search for Mysql execute: DELETE FROM streamdetails .
RE: Something keeps on deleting my data and I cannot find who it is! - Karellen - 2021-07-05 (2021-07-05, 21:15)Klojum Wrote: There are some 8 such sql queries in his log file. Search for Mysql execute: DELETE FROM streamdetails .That is in his original log. But he installed the latest nightly, and it is unclear to me whether the streamdetails are still being deleted, or it is "just running twice" like the uniqueID. I guess "unaffected" means still being deleted. @AMoo-Miki Are you adding these movies for the first time, or are you refreshing them back into the library. Is the deletion happening on the first run, then being re-populated on the second run? |