Refresh and Clean Library Taking an Age

Heyup,

Over the past few weeks the refresh that occurs on startup has been taking an age to complete and if I attempt to start a video whilst it’s occurring the system hangs, also if I perform a cleanup the system hangs (this used to take around 10 mins to complete but now just doesn’t do anything and requires a power reset)

I assume I will need to reinstall OSMC but is there a way to backup the play status of the library so I know what has been watched etc??

Logs - http://paste.osmc.tv/quqazofomu

Yesterday i was scanning new album to my library, it took about 3 hours. Last time i scanned it took about 15 minutes. This was before august update. I will try again today, maybe this was one time problem.

Take a look to your own log

08:02:33.518 T:1482683376 NOTICE: VideoInfoScanner: Starting scan …
08:02:34.158 T:1497363440 WARNING: CPVRRecording::CPVRRecording - unable to determine channel type. Defaulting to TV.
08:02:35.445 T:1706816496 WARNING: Previous line repeats 1 times.
08:02:35.450 T:1706816496 NOTICE: Start - EPG thread started
08:02:36.545 T:1688204272 NOTICE: [plugin.video.youtube] Startup: detected Krypton (Kodi-17.3), setting DASH_SUPPORT_BUILTIN = False, DASH_SUPPORT_ADDON = True
08:02:42.555 T:1733293040 NOTICE: Twitch: Service: Start
08:02:42.841 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Aladdin (1992)/Plex Versions/Custom_ Android 25/Aladdin (1992).mp4’, it won’t be added to the library.
08:02:43.419 T:1741681648 WARNING: CSkinInfo: failed to load skin settings
08:02:43.504 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Angry Birds Movie, The (2016)/Plex Versions/Custom_ Android 26/The Angry Birds Movie (2016).mp4’, it won’t be added to the library.
08:02:44.174 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Beauty and the Beast (1991)/Plex Versions/Custom_ Android 20/Beauty and the Beast (1991).mp4’, it won’t be added to the library.
08:02:44.774 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Boss Baby, The (2017)/Plex Versions/Custom_ Android 27/The Boss Baby (2017).mp4’, it won’t be added to the library.
08:02:45.396 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Egypt Holiday/Untitled.mpg’, it won’t be added to the library.
08:02:45.936 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Frozen (2013)/Plex Versions/Custom_ Android 21/Frozen (2013).mp4’, it won’t be added to the library.
08:02:46.541 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Home (2015)/Plex Versions/Custom_ Android 22/Home (2015).mp4’, it won’t be added to the library.
08:02:47.383 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Lego Batman Movie, The (2017)/Plex Versions/Custom_ Android 28/The Lego Batman Movie (2017).mp4’, it won’t be added to the library.
08:02:48.048 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Moana (2016)/Plex Versions/Custom_ Android 19/Moana (2016).mp4’, it won’t be added to the library.
08:02:49.183 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Sing (2016)/Plex Versions/Custom_ Android 23/Sing (2016).mp4’, it won’t be added to the library.
08:02:50.331 T:1482683376 WARNING: No information found for item ‘smb://THOR/Movies/Wall·E (2008)/Plex Versions/Custom_ Android 24/WALL·E (2008).mp4’, it won’t be added to the library.
08:02:56.326 T:1482683376 WARNING: Process directory ‘smb://THOR/Television/24- Legacy/’ does not exist - skipping scan.
08:02:56.328 T:1482683376 WARNING: Process directory ‘smb://THOR/Television/Ballers/’ does not exist - skipping scan.
08:02:56.336 T:1482683376 WARNING: Process directory ‘smb://THOR/Television/Fortitude/’ does not exist - skipping scan.
08:02:56.338 T:1482683376 WARNING: Process directory ‘smb://THOR/Television/Girls/’ does not exist - skipping scan.
08:02:56.340 T:1482683376 WARNING: Process directory ‘smb://THOR/Television/Inside No. 9 (2014)/’ does not exist - skipping scan.
08:02:56.342 T:1482683376 WARNING: Process directory ‘smb://THOR/Television/MasterChef Junior/’ does not exist - skipping scan.
08:02:56.344 T:1482683376 WARNING: Process directory ‘smb://THOR/Television/The F Word (US)/’ does not exist - skipping scan.
08:02:56.346 T:1482683376 WARNING: Process directory ‘smb://THOR/Television/The Jim Jefferies Show/’ does not exist - skipping scan.
08:05:10.673 T:1482683376 WARNING: Process directory ‘smb://ZEUS/Kodi/Television/Game of Thrones/’ does not exist - skipping scan.
08:05:10.701 T:1482683376 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 02:37

Scanning took 2.37 min. Something is wrong with your data.

Michael

Hmmm, problem is I cant clean the library as it just hangs :frowning:

What can I tell you that Kodi propose some tips
kodi.wiki/view/Video_library
For my understanding you take your own way. It’s right or not I don’t know.
Good luck
Michael

Is you’re data stored locally or on network?

stored on NAS

Then you must have rather small media collection :).
I tried to scan my collection again, right now it seems work ok.

Sometime i’ve issues too with some ffmpeg thumbnails
My workaroudl is

  • only use scan in parameters and scan one par one for films, TV series or clips.

TV series works fine the most of time sometime a ffmpeg error, when ffmepg can’t created a thumbnail from ts file. But if you get another try, its works.
Films the scan stop after sometime ( another ffmpeg error). When you take a look to the kodi log, you can see the film.
The soluiton is restart the mediacenter from ssh, and the scan go forward, when you do it more and more its works.

But: For films and TV Series I use Tinymediamanager to select film or TVSerie/episode and create the nfo file. For me close my eyes and start automatic scan its another no-go.

I did a clean and an update of music and video (last one happens daily) without any issues, seems like a Kodi issue for Kodi forums.