Unable to finish scanning library, hangs on exit
#1
Hi,

I'm new to Kodi, having used Plex before, and have run into a few issues (most are connected, I think), that I've been unable to resolve through searching.

Log: zufetadihi.kodi (paste)

Software:
  • Linux Mint MATE 20.3 64-bit (kernel 5.4)
  • Kodi 19.3 (PPA)
Hardware:
  • Intel NUC Kit NUC6i5SYH
Addons:
  • Only what's available officially, YouTube and DR (Danish national TV channel) I believe
Connected issues:
  • The library scan never ends, it can hang for hours on the same video; yesterday it was scanning a movie, and when I came back several hours later, it was still scanning the same movie
  • When I try to exit Kodi while it's still scanning, it hangs "forever", and I have to kill the process or reboot the computer
  • Every time I start Kodi back up, it stars rescanning the library from the exact same harddrive (I have three connected), and none of the content from that drive is available in Kodi
Other issue:
  • I try to mark movies/tv-shows as watched, but nothing happens, and the movie/tv-show remains as in progress.
Thank you, I hope one of you can help 😊,
​​​​​​​Vilhelm
Reply
#2
As a starting point, I suggest that you name your stuff correctly.  See https://kodi.wiki/view/Naming_video_files/Movies#Naming

For instance
Quote:2022-01-27 21:44:29.064 T:2007 INFO <general>: [metadata.themoviedb.org.python]: Find movie with title 'tl-db' from year 'None'
2022-01-27 21:44:37.601 T:2007 INFO <general>: CPythonInvoker(12, /home/vilhelm/.kodi/addons/metadata.themoviedb.org.python/python/scraper.py): script successfully run
2022-01-27 21:44:37.604 T:2007 INFO <general>: initializing python engine.
2022-01-27 21:44:37.609 T:2007 INFO <general>: [metadata.themoviedb.org.python]: Find movie with title 'tl db' from year 'None'
2022-01-27 21:44:46.173 T:2007 INFO <general>: CPythonInvoker(12, /home/vilhelm/.kodi/addons/metadata.themoviedb.org.python/python/scraper.py): script successfully run
2022-01-27 21:44:46.173 T:1826 WARNING <general>: No information found for item '/media/vilhelm/2TB Seagate/nonQ/Movie/Dodgeball.2004.1080p.BluRay.x264-TiMELORDS/tl-db.mkv', it won't be added to the library.

How do you expect the scrapers to identify a file called 'tl-db' on an internet database? It should be named Dodgeball (2004).mkv. While you're at it, you might like to rename all your directories too, so that it's somewhat less obvious how you are obtaining your stuff Wink
Learning Linux the hard way !!
Reply
#3
(2022-01-29, 18:23)black_eagle Wrote: As a starting point, I suggest that you name your stuff correctly.  See https://kodi.wiki/view/Naming_video_files/Movies#Naming

For instance
Quote:2022-01-27 21:44:29.064 T:2007 INFO <general>: [metadata.themoviedb.org.python]: Find movie with title 'tl-db' from year 'None'
2022-01-27 21:44:37.601 T:2007 INFO <general>: CPythonInvoker(12, /home/vilhelm/.kodi/addons/metadata.themoviedb.org.python/python/scraper.py): script successfully run
2022-01-27 21:44:37.604 T:2007 INFO <general>: initializing python engine.
2022-01-27 21:44:37.609 T:2007 INFO <general>: [metadata.themoviedb.org.python]: Find movie with title 'tl db' from year 'None'
2022-01-27 21:44:46.173 T:2007 INFO <general>: CPythonInvoker(12, /home/vilhelm/.kodi/addons/metadata.themoviedb.org.python/python/scraper.py): script successfully run
2022-01-27 21:44:46.173 T:1826 WARNING <general>: No information found for item '/media/vilhelm/2TB Seagate/nonQ/Movie/Dodgeball.2004.1080p.BluRay.x264-TiMELORDS/tl-db.mkv', it won't be added to the library.

How do you expect the scrapers to identify a file called 'tl-db' on an internet database? It should be named Dodgeball (2004).mkv. While you're at it, you might like to rename all your directories too, so that it's somewhat less obvious how you are obtaining your stuff Wink
 
Very fair criticism, particularly on Dodgeball. I don't know what magic sauce Plex is cooking up, but I can still do better. TV shows seem to have a particularly rough time though, and those have much better naming.

My main issues still persists however; Kodi never stops scanning, sometimes stuck on a movie for hours, and I have to force kill Kodi 😕.
Reply
#4
(2022-01-30, 01:16)vilhelmr Wrote:
(2022-01-29, 18:23)black_eagle Wrote: As a starting point, I suggest that you name your stuff correctly.  See https://kodi.wiki/view/Naming_video_files/Movies#Naming

For instance
Quote:2022-01-27 21:44:29.064 T:2007 INFO <general>: [metadata.themoviedb.org.python]: Find movie with title 'tl-db' from year 'None'
2022-01-27 21:44:37.601 T:2007 INFO <general>: CPythonInvoker(12, /home/vilhelm/.kodi/addons/metadata.themoviedb.org.python/python/scraper.py): script successfully run
2022-01-27 21:44:37.604 T:2007 INFO <general>: initializing python engine.
2022-01-27 21:44:37.609 T:2007 INFO <general>: [metadata.themoviedb.org.python]: Find movie with title 'tl db' from year 'None'
2022-01-27 21:44:46.173 T:2007 INFO <general>: CPythonInvoker(12, /home/vilhelm/.kodi/addons/metadata.themoviedb.org.python/python/scraper.py): script successfully run
2022-01-27 21:44:46.173 T:1826 WARNING <general>: No information found for item '/media/vilhelm/2TB Seagate/nonQ/Movie/Dodgeball.2004.1080p.BluRay.x264-TiMELORDS/tl-db.mkv', it won't be added to the library.

How do you expect the scrapers to identify a file called 'tl-db' on an internet database? It should be named Dodgeball (2004).mkv. While you're at it, you might like to rename all your directories too, so that it's somewhat less obvious how you are obtaining your stuff Wink
 
Very fair criticism, particularly on Dodgeball. I don't know what magic sauce Plex is cooking up, but I can still do better. TV shows seem to have a particularly rough time though, and those have much better naming.

My main issues still persists however; Kodi never stops scanning, sometimes stuck on a movie for hours, and I have to force kill Kodi 😕.
I mean, currently it's mislabeling Deutschland 83 as Scream, the TV show. That's quite a stretch 😕.
Reply
#5
(2022-01-30, 01:16)vilhelmr Wrote: My main issues still persists however; Kodi never stops scanning, sometimes stuck on a movie for hours, and I have to force kill Kodi
You did not enable debug mode so there is not much in the log to see.
All I do see is how bad your file naming is and how your tv sources are set up incorrectly. You really need to read that link black_eagle provided, particularly for tv shows/seasons/episodes
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to finish scanning library, hangs on exit0