Ok, I really am having issues with the initial scan stalling. It always stops at 4869/5985. I checked the last movie being scanned and didn't see anything weird so I moved that directory off the NAS and tried again. It stalled at the same numbers above but the last entry was now the second to last one in the previous log. I figure its probably trying to read a new directory and the name is crashing the scanner so it doesn't show up in the log. Is there a way to figure out which directory it was trying to look at?
I guess I could look at the log and figure out which dirs it's already looked at and check those not yet listed to see if I see anything strange?
Edit: I've tried sorting the directory display a few ways but nothing matches the order shown in the log so i can't guess what was being looked at next
Edit of Edit!
I had a thought and used a command prompt to "dir" the directory and the filenames were in the same order as the log (have to use pushd to "cd" to a UNC path I discovered). THe last file in the log is also the last file in the dir list and the directory it is in is the last dir listed in the path I gave MP scanner. It appears that it's actually finished scanning everything and just stuck.
:Last night I let this run and the log was gigantic but it didn't get any further than above - just had scads of the same error message.
Anyway, here's the last bit of a log
I guess I could look at the log and figure out which dirs it's already looked at and check those not yet listed to see if I see anything strange?
Edit: I've tried sorting the directory display a few ways but nothing matches the order shown in the log so i can't guess what was being looked at next
Edit of Edit!
I had a thought and used a command prompt to "dir" the directory and the filenames were in the same order as the log (have to use pushd to "cd" to a UNC path I discovered). THe last file in the log is also the last file in the dir list and the directory it is in is the last dir listed in the path I gave MP scanner. It appears that it's actually finished scanning everything and just stuck.
:Last night I let this run and the log was gigantic but it didn't get any further than above - just had scads of the same error message.
Anyway, here's the last bit of a log
Code:
20-Feb-2014 04:37:37 Debug [ DBImportPath]: New File: Terminator Salvation 2009 Dir Cut 3Li BluRay 1080p.mkv
20-Feb-2014 04:37:37 Debug [ DBImportPath]: New File: Total.Recall.2012.Extended.DC.BDRip.XVID.AC3.HQ.Hive-CM8.avi
20-Feb-2014 04:43:26 Info [ MovieImporter]: Shutting Down Media Scanner Threads...
20-Feb-2014 04:43:26 Info [ MovieImporter]: Shutting Down Path Scanner Thread...
20-Feb-2014 04:43:26 Error [ MovieImporter]: Exception in filesystem scanner {0}. System.Threading.ThreadAbortException: Thread was being aborted.
at Microsoft.Win32.Win32Native.GetLongPathName(Char* path, Char* longPathBuffer, Int32 bufferLength)
at System.IO.PathHelper.TryExpandShortFileName()
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
at System.IO.FileSystemInfo.get_FullName()
at MediaPortal.Plugins.MovingPictures.Database.DBLocalMedia.Equals(Object obj)
at System.Collections.Generic.ObjectEqualityComparer`1.Equals(T x, T y)
at System.Collections.Generic.List`1.Contains(T item)
at MediaPortal.Plugins.MovingPictures.LocalMediaManagement.MovieImporter.ScanAndMonitorPaths()
20-Feb-2014 04:43:26 Info [ MovieImporter]: Stopped MovieImporter
20-Feb-2014 04:43:26 Debug [ DatabaseManager]: UPDATING: DBSetting: Width = "636"
20-Feb-2014 04:43:26 Debug [ DatabaseManager]: UPDATING: DBSetting: Height = "691"
20-Feb-2014 04:43:26 Debug [ DatabaseManager]: UPDATING: DBSetting: X = "592"
20-Feb-2014 04:43:26 Debug [ DatabaseManager]: UPDATING: DBSetting: Y = "8"
20-Feb-2014 04:43:26 Info [ DeviceManager]: Removing all drives from Disk Watcher
20-Feb-2014 04:43:26 Info [ DeviceManager]: Stopping Disk Watcher...
20-Feb-2014 04:43:26 Info [ DeviceManager]: Successfully stopped Disk Watcher.
20-Feb-2014 04:43:26 Info [ MovingPicturesCore]: Stopping Background Processes...
20-Feb-2014 04:43:26 Info [ DatabaseManager]: Closing database connection...
20-Feb-2014 04:43:26 Info [ DatabaseManager]: Successfully closed Database: C:\ProgramData\Team MediaPortal\MediaPortal\Database\movingpictures.db3
20-Feb-2014 04:43:26 Info [ MovingPicturesCore]: Plugin Closed
Last edited: