Jump to content

Scan media library failed.


dirkdigs

Recommended Posts

dirkdigs

Scan media library failed.


a minute ago


Start index cannot be less than 0 or greater than input length. Parameter name: start


 


 


What does this mean?


Link to comment
Share on other sites

techywarrior

Not sure the cause but I believe someone else had the problem and Luke said there is a fix for this in the latest dev build. If you don't want to run a dev build you can just wait for beta or final release but not sure if that error goes away or you are stuck till then.

Link to comment
Share on other sites

techywarrior

Try renaming those two files to "Four Sisters and a Wedding - A.avi" or better yet "Four Sisters and a Wedding - disc1.avi" and disc 2 and see if that works.

  • Like 1
Link to comment
Share on other sites

Try renaming those two files to "Four Sisters and a Wedding - A.avi" or better yet "Four Sisters and a Wedding - disc1.avi" and disc 2 and see if that works.

 

First method did not work, but second option was successful. Thanks.

 

To make it easier to locate these files, can you insert bad filename into log?

Link to comment
Share on other sites

techywarrior

First method did not work, but second option was successful. Thanks.

 

To make it easier to locate these files, can you insert bad filename into log?

@@Luke that means one of the "supported" file naming methods in the Wiki either doesn't work or is poorly described:

 

 

You can also use:

  • moviename#.ext

Where # can be A through D.

Link to comment
Share on other sites

Here is an automated test proving "The Colony.mkv" is handled just fine:

 

https://github.com/MediaBrowser/MediaBrowser.Naming/blob/95b9042629d2ff4199bf90002d3946d928dcfcfe/MediaBrowser.Naming.Tests/Video/VideoListResolverTests.cs#L347

 

Here is an automated tested proving Four Sisters and a Wedding - A.avi (and B) are correctly resolved into two-part movie:

 

https://github.com/MediaBrowser/MediaBrowser.Naming/blob/95b9042629d2ff4199bf90002d3946d928dcfcfe/MediaBrowser.Naming.Tests/Video/VideoListResolverTests.cs#L367

 

Have a jolly day :)

Link to comment
Share on other sites

techywarrior

That's good Luke. I wonder it didn't work for Travis. At least it's resolved for him by using disc1, disc2.

 

I still think the Wiki description is a little confusing because it doesn't have the dash and space like the other examples. (unless it truly would work with moviename# which I would imagine would be impossible since you couldn't differentiate it from an actual name).

Link to comment
Share on other sites

Well this whole thread is a guessing game until the question in post #4 is answered. If he has renamed his files to workaround whatever problem he had then i guess it's a moot point.

Link to comment
Share on other sites

dirkdigs

i deleted rar file and it now is completing without issue. why does having a rar file in my folder cause scan library to fail?

Link to comment
Share on other sites

Pete90291

[Scan media library failed.

xx minutes ago

Start index cannot be less than 0 or greater than input length. Parameter name: start]

i've been having the same of many new issues..

ive checked an have not rar in folders. 

i've checked the log file but don't know what to look for or which directory is causing the failure.

i've attached log file.

any help would be appreciated.

thanks

server-63555702113.txt

Link to comment
Share on other sites

This should be resolved for the next release. you can grab the dev server if you want to test it now. see the alpha area at the bottom of the forum.

Link to comment
Share on other sites

  • 1 month later...
2015-02-20 19:17:07.0427 Error - App: Error
*** Error Report ***
Version: 3.0.5518.5
Command line: C:\Users\media\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.2.9200.0
Processor count: 8
64-Bit OS: True
64-Bit Process: False
Program data path: C:\Users\media\AppData\Roaming\MediaBrowser-Server
Application Path: C:\Users\media\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
A child with the Id 1d7f7570-27c0-7f56-83db-d32a2892d78c already exists.
System.ArgumentException
  at MediaBrowser.Controller.Entities.Folder.<AddChild>d__99.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Providers.TV.DummySeasonProvider.<AddSeason>d__1b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Providers.TV.DummySeasonProvider.<AddDummySeasonFolders>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Providers.TV.DummySeasonProvider.<Run>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Providers.TV.SeriesMetadataService.<AfterMetadataRefresh>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Providers.Manager.MetadataService`2.<RefreshMetadata>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.BaseItem.<RefreshMetadata>d__1d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.TV.Series.<RefreshAllMetadata>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshChildMetadata>d__ce.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshMetadataRecursive>d__c5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshChildMetadata>d__ce.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshMetadataRecursive>d__c5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Controller.Entities.Folder.<ValidateChildrenInternal>d__b2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Server.Implementations.Library.LibraryManager.<PerformLibraryValidation>d__5a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Server.Implementations.Library.LibraryManager.<ValidateMediaLibraryInternal>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<>c__DisplayClass14.<<ExecuteTask>b__13>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__b.MoveNext()

2015-02-20 19:17:07.0427 Info - App: Scan media library Failed after 0 minute(s) and 11 seconds 

after update cant scan folders any more help please

Link to comment
Share on other sites

  • 2 weeks later...
medric

Still can not get this to work. I have updated but it still gives same issues so I am going to delete the the whole thing and start again. sigh まだまだだね

Edited by medric
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...