Jump to content

Scan media library failed. Illegal characters in path.


tp546

Recommended Posts

Happy2Play

From what I see in the log appears to point to here but can't see why.

 

2015-01-04 23:22:12.3904 Info - LibraryMonitor: Watching directory C:\Users\Remote\AppData\Roaming\MediaBrowser-Server\root
2015-01-04 23:22:12.3904 Error - App: Error

 

You also might want to edit your screenshots and remove your ip.

Link to comment
Share on other sites

From what I see in the log appears to point to here but can't see why.

 

2015-01-04 23:22:12.3904 Info - LibraryMonitor: Watching directory C:\Users\Remote\AppData\Roaming\MediaBrowser-Server\root

2015-01-04 23:22:12.3904 Error - App: Error

 

You also might want to edit your screenshots and remove your ip.

 

Hmm okay, what is supposed to be in that directory?

 

Thanks, i removed the screenshots.

Link to comment
Share on other sites

From what I see in the log appears to point to here but can't see why.

 

2015-01-04 23:22:12.3904 Info - LibraryMonitor: Watching directory C:\Users\Remote\AppData\Roaming\MediaBrowser-Server\root

2015-01-04 23:22:12.3904 Error - App: Error

 

 

No, that's just a random message placed there due to asynchronous operations.  I don't think it is related to the error.

 

Look in your Meet The Parents folder.  Anything fishy looking in there?

 

Do you have metadata saved in xml or nfo files that were created by some other program?

Link to comment
Share on other sites

No, that's just a random message placed there due to asynchronous operations.  I don't think it is related to the error.

 

Look in your Meet The Parents folder.  Anything fishy looking in there?

 

Do you have metadata saved in xml or nfo files that were created by some other program?

 

Yes! It looks like the trailer got picked up as a movie:

Screenshot-2015-01-05-19.39.31.jpg

 

If I just delete everything but the trailer file and rename it with "-trailer" in it, that should fix it right?

Edited by tp546
Link to comment
Share on other sites

The fact that it is in a Trailers folder should have prevented that.

 

Maybe there is a problem related to the fact that this is a DVD rip.  What is in the folder above that trailers one?

Link to comment
Share on other sites

just metadata it looks like:
 

 

<movie>
  <title>Meet the Parents</title>
  <originaltitle>Meet the Parents</originaltitle>
  <id>tt0212338</id>
  <outline>Greg Focker is ready to marry his girlfriend, Pam, but before he pops the question, he must win over her formidable father, humorless former CIA agent Jack Byrnes, at the wedding of Pam's sister. As Greg bends over backward to make a good impression, his visit to the Byrnes home turns into a hilarious series of disasters, and everything that can go wrong does, all under Jack's critical, hawklike gaze.</outline>
  <rating>7.7</rating>
  <year>2000</year>
  <runtime>108</runtime>
  <trailer>
  <actor>
    <name>Ben Stiller</name>
    <role>Gaylord "Greg" Focker</role>
  </actor>
  <actor>
    <name>Robert De Niro</name>
    <role>Jack Byrnes</role>
  </actor>
  <actor>
    <name>Teri Polo</name>
    <role>Pam Byrnes</role>
  </actor>
  <actor>
    <name>Blythe Danner</name>
    <role>Dina Byrnes</role>
  </actor>
  <actor>
    <name>Owen Wilson</name>
    <role>Kevin Rawley</role>
  </actor>
  <actor>
    <name>Nicole DeHuff</name>
    <role>Deborah Byrnes</role>
  </actor>
  <actor>
    <name>Jon Abrahams</name>
    <role>Denny Byrnes</role>
  </actor>
  <actor>
    <name>James Rebhorn</name>
    <role>Dr. Larry Banks</role>
  </actor>
  <actor>
    <name>Thomas McCarthy</name>
    <role>Dr. Bob Banks</role>
  </actor>
  <actor>
    <name>Phyllis George</name>
    <role>Linda Banks</role>
  </actor>
  <actor>
    <name>Kali Rocha</name>
    <role>Atlantic American Flight Attendant</role>
  </actor>
  <actor>
    <name>Bernie Sheredy</name>
    <role>Norm the Interrogator</role>
  </actor>
  <actor>
    <name>Judah Friedlander</name>
    <role>Pharmacy Clerk</role>
  </actor>
  <actor>
    <name>Peter Bartlett</name>
    <role>Animal Shelter Worker</role>
  </actor>
  <actor>
    <name>John Elsen</name>
    <role>Chicago Airport Security</role>
  </actor>
  <actor>
    <name>Mark Hammer</name>
    <role>Greg's Hospital Patient</role>
  </actor>
  <actor>
    <name>Amy Hohn</name>
    <role>Ticket Agent</role>
  </actor>
  <actor>
    <name>William Severs</name>
    <role>Father O'Boyle</role>
  </actor>
  <actor>
    <name>John Fiore</name>
    <role>Kinky</role>
  </actor>
  <director>Jay Roach</director>
</movie>
Link to comment
Share on other sites

i removed all the files from the trailers folder other than the video file and renamed it, but i am still getting the same error every few hours - let me know what else i can do. thanks!

Link to comment
Share on other sites

Beardyname

not sure if it's related but it seems some of your "parent" rated content has too long of a file/path name:

2015-01-04 23:21:07.1846 Error - App: Error resolving path \\server\porn\other\other\other\leaked\The Fappening (2)\The Fappening\!old\Terry Richardson +++ (Photographer)
	*** Error Report ***
	Version: 3.0.5482.1
	Command line: C:\Users\Remote\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 6
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Remote\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Remote\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
	The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
	System.IO.PathTooLongException
	   at System.IO.PathHelper.GetFullPathName()
	   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 MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemDictionary(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemDictionary(String path)
	   at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts)
	   at MediaBrowser.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemInfo fileInfo, IDirectoryService directoryService, Folder parent, String collectionType)
	   at MediaBrowser.Server.Implementations.Library.LibraryManager.<>c__DisplayClass49.<ResolveFileList>b__46(FileSystemInfo f)

you could try removing the parent related media folder(from MBS) and try to scan or move the items up a few folders or so :)

 

(again just guessing, but hey if you have the time ^^)

 

 

Other than that try removing (and placing somewhere safe in the meanwhile) .nfo files meta-data etc etc so it's just the audio and video_ts folders left.

Edited by Beardyname
Link to comment
Share on other sites

not sure if it's related but it seems some of your "parent" rated content has too long of a file/path name:

2015-01-04 23:21:07.1846 Error - App: Error resolving path \\server\porn\other\other\other\leaked\The Fappening (2)\The Fappening\!old\Terry Richardson +++ (Photographer)
	*** Error Report ***
	Version: 3.0.5482.1
	Command line: C:\Users\Remote\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 6
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Remote\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Remote\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
	The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
	System.IO.PathTooLongException
	   at System.IO.PathHelper.GetFullPathName()
	   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 MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemDictionary(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemDictionary(String path)
	   at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts)
	   at MediaBrowser.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemInfo fileInfo, IDirectoryService directoryService, Folder parent, String collectionType)
	   at MediaBrowser.Server.Implementations.Library.LibraryManager.<>c__DisplayClass49.<ResolveFileList>b__46(FileSystemInfo f)

you could try removing the parent related media folder(from MBS) and try to scan or move the items up a few folders or so :)

 

(again just guessing, but hey if you have the time ^^)

 

 

Other than that try removing (and placing somewhere safe in the meanwhile) .nfo files meta-data etc etc so it's just the audio and video_ts folders left.

 

thanks - i moved the whole folder up 2 levels and deleted the .nfo file in the other directory. i am still unable to get through a full library scan though.

Link to comment
Share on other sites

Happy2Play

Is the scan stopping at the same spot?  Check the last folder scanned just like your previous log showed.  Or post a new log, please.

 

2015-01-04 23:22:11.5483 Debug - App: Saving \\server\HD Movies\1\Meet the Parents\Meet the Parents.mkv to database.
2015-01-04 23:22:12.3904 Info - LibraryMonitor: Watching directory
2015-01-04 23:22:12.3904 Error - App: Error

Link to comment
Share on other sites

Happy2Play

Looks to be pointing to the same place (Meet the Parents).  How did you rename the trailer?  Have you tried removing the trailer folder from meet the parents directory?

 

Don't know if this applies to Media browser but shouldn't trailers for DVD rips be VIDEO_TS\VIDEO_TS-trailer.* (From XBMC/Kodi Forum) or just reside in VIDEO_TS folder?

Link to comment
Share on other sites

Looks to be pointing to the same place (Meet the Parents).  How did you rename the trailer?  Have you tried removing the trailer folder from meet the parents directory?

 

Don't know if this applies to Media browser but shouldn't trailers for DVD rips be VIDEO_TS\VIDEO_TS-trailer.* (From XBMC/Kodi Forum) or just reside in VIDEO_TS folder?

 

I named it "meet the parents-trailer.mkv". No I haven't - I don't think I should have to. 

 

This is the same way all my trailers are and this is the first problem I have encountered. The majority of them were downloaded automatically and placed in the folders by metabrowser.

Link to comment
Share on other sites

Happy2Play

No I haven't - I don't think I should have to. 

But this could identify exactly where the issue is.

 

Since you are using trailer folders have you tried renaming the trailer to trailer.*?

 

example from wiki

/Movies

   /Home Alone (1990)

     Home Alone (1990).mkv

     /trailers

         trailer.mkv

 

 

 

Link to comment
Share on other sites

But this could identify exactly where the issue is.

 

Since you are using trailer folders have you tried renaming the trailer to trailer.*?

 

example from wiki

/Movies

   /Home Alone (1990)

     Home Alone (1990).mkv

     /trailers

         trailer.mkv

 

 

I just searched and I have 152 trailers folders in my DVD Movies, so I don't know why this one would be the only problem. None of them are named "trailer.*" either. I can try renaming this one instance but I don't think it will help.

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...