Jump to content

Invalid Path Characters When Adding New Show


Recommended Posts

Posted

Howdy, I was trying to add a new show through the auto-organize tab. The message I kept getting was "There was an error organizing the file. Error code: null." After a few tries I noticed the show title had a colon in it, knowing that in Windows a colon is an invalid path character, I thought maybe that was the issue. Looking through the logs, looks like I was right.

 

The show I am trying to add is "James May: The Reassembler" and below is the log excerpt with the exception info.

 

This article has detailed information on what all is dis/allowed in a path: https://msdn.microsoft.com/en-us/library/aa365247

 

Personally, I would like the option to choose what replacement character(s) should be used.

 

 

2017-01-17 20:28:20.8600 Debug App: Running OmdbItemProvider for \\Cyber-Planner\Media\TV Shows\James May: The Reassembler (2016)

2017-01-17 20:28:20.8600 Info HttpClient: HttpClientManager GET: https://www.omdbapi.com/?plot=full&r=json&y=2016&t=James+May%3A+The+Reassembler&type=series
2017-01-17 20:28:20.8834 Debug App: Running TvdbSeriesProvider for \\Cyber-Planner\Media\TV Shows\James May: The Reassembler (2016)
2017-01-17 20:28:20.8834 Info HttpClient: HttpClientManager GET: https://www.thetvdb.com/api/GetSeries.php?seriesname=James+May%3A+The+Reassembler&language=en
2017-01-17 20:28:20.9105 Debug App: Running MovieDbSeriesProvider for \\Cyber-Planner\Media\TV Shows\James May: The Reassembler (2016)
2017-01-17 20:28:20.9742 Debug App: Throttling Tmdb by 236 ms
2017-01-17 20:28:21.0170 Debug Dlna: Search Request Received From 192.168.0.140:9667, Target = upnp:rootdevice
2017-01-17 20:28:21.0170 Debug Dlna: Search Request Received From 192.168.0.140:9667, Target = upnp:rootdevice
2017-01-17 20:28:21.2915 Error HttpServer: Error processing request
*** Error Report ***
Version: 3.1.2.0
Command line: C:\Users\James\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
Processor count: 8
Program data path: C:\Users\James\AppData\Roaming\Emby-Server
Application directory: C:\Users\James\AppData\Roaming\Emby-Server\System
System.AggregateException: One or more errors occurred. ---> System.Exception: The given path's format is not supported.
  at Emby.Server.Implementations.FileOrganization.FileOrganizationService.<PerformEpisodeOrganization>d__31.MoveNext()
  --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
  at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
  at MediaBrowser.Api.Library.FileOrganizationService.Post(OrganizeEpisode request)
  at ServiceStack.Host.ServiceExecGeneral.<>c__DisplayClass4_0.<CreateExecFn>b__0(Object service, Object request)
  at ServiceStack.Host.ServiceExecGeneral.<Execute>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 ServiceStack.Host.ServiceController.<Execute>d__15.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 ServiceStack.Host.RestHandler.<ProcessRequestAsync>d__19.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 Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__61.MoveNext()
---> (Inner Exception #0) System.Exception: The given path's format is not supported.
  at Emby.Server.Implementations.FileOrganization.FileOrganizationService.<PerformEpisodeOrganization>d__31.MoveNext()<---
 
System.AggregateException
  at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
  at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
  at MediaBrowser.Api.Library.FileOrganizationService.Post(OrganizeEpisode request)
  at ServiceStack.Host.ServiceExecGeneral.<>c__DisplayClass4_0.<CreateExecFn>b__0(Object service, Object request)
  at ServiceStack.Host.ServiceExecGeneral.<Execute>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 ServiceStack.Host.ServiceController.<Execute>d__15.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 ServiceStack.Host.RestHandler.<ProcessRequestAsync>d__19.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 Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__61.MoveNext()
InnerException: System.Exception
System.Exception: The given path's format is not supported.
  at Emby.Server.Implementations.FileOrganization.FileOrganizationService.<PerformEpisodeOrganization>d__31.MoveNext()
  at Emby.Server.Implementations.FileOrganization.FileOrganizationService.<PerformEpisodeOrganization>d__31.MoveNext()
 
2017-01-17 20:28:21.2915 Info HttpServer: HTTP Response 500 to 192.168.0.1. Time: 432ms. http://192.168.0.10:8096/emby/Library/FileOrganizations/8cae1eb8184fd997633f46defc1e6fbd/Episode/Organize
2017-01-17 20:28:21.5562 Debug Dlna: Search Request Received From 192.168.0.126:50347, Target = urn:dial-multiscreen-org:service:dial:1

 

Posted

hi @@beatter, thanks for the report. can you please attach the complete log file from that time frame? thanks !

Posted

@@beatter You have a NAS device or some other box with storage i assume?

\\Cyber-Planner\Media\TV Shows\James May: The Reassembler (2016)

Notice the colon in the path. Your storage box might support that but Windows does not. There's nothing Emby Server on Windows can do. You're going to have to rename that folder and remove the colon.

Posted

@@Luke

My storage share is on a Windows box, and that folder does not exist. When I was attempting to add the TV show through the Auto-Organize interface, Emby tried to create that folder with the colon. Then, I got the error code: null 

I ended up creating the folder myself as "James May- The Reassembler" which you can see starting at line 37,780

Posted

Ok, my mistake. Yes you're right.

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