2024-06-18, 06:36
(2024-06-17, 10:58)Karellen Wrote: So it was actually in the library?Yes, it was already in the KODI Library, but not in the MySQL database. I removed it from KODI and rescanned it with the same result.
Here is what I am trying now:
1. I "Set Content" to "None" on my Movies source in KODI and performed a clean up, cleared thumbnails and cleared cache.
- Now there are no entries in the MySQL database - "movie" table
- However there are still entries in the "streamdetails" table. I wonder, is this normal?
2. I close KODI
3. Reopen KODI, change content back to "Movies" and let it rescan the entire library so I can save the log file - in case this helps...
- The options I change when scanning are to toggle "Movies are in separate folders that match the movie title" and in Settings I turn off "Add keywords as tags" as it's a personal preference.
Results:
After everything was re-scanned in, I check my database in MySQL Workbench.
- This time I was able to find the movie "Meet Cute (2022)" in the movie table. So I wrote down the idFile number so I could search the streamdetails table for a match.
- I could not find the matching idFile number in the streamdetails table
- I exported the movie table and streamdetails table to a .csv and discovered that each table only had a header and 1,000 lines of data in each. I have a total of 5,673 movies in my KODI Movie Library.
- I have a feeling something is limiting the database to only 1,000 lines because that is too round of a number for it just be made up of errors.
- This could also explain why I can't match up the idFile number between the tables
- the actor table is also limited to 1,000 entries
- Also noting that the files table does not have an entry for "Meet Cute (2022).mp4"
- My log file has thousands of lines like this, where it says "does not exist - skipping scan.":
log file:2024-06-17 12:30:55.987 T:25200 warning <general>: VIDEO::CVideoInfoScanner:rocess directory 'smb://192.168.4.100/Videos/Movies/White Men Can't Jump (1992)/' does not exist - skipping scan.
So it seems to me the issue is with the MySQL database - somehow limiting to 1,000 entries - and that is what I need to sort out to solve my original issue.
Does it make sense to open a new thread to discuss that in particular and hopefully find help with that first, then link this thread to it once I resolve it?
- thankfully my WatchedList table only has 937 entries so far, but I fear once I hit 1,000 then it will not be able to track my watched movies any longer