Jump to content

Downloading subtitles report Error in Logs ( IO error )


Recommended Posts

Posted

Hello!
 
 
Just got emby, followed the instructions and set up the little server on my Windows based NAS (Windows Server 2012 R2 on a Intel I5k Quadcore with 8Gb ram)
 
Unfortunately, I have a few issues.
 
a ) Certain TV shows refuse to download posters and link to the correct IMDB or TVdb shows correctly, even when manually "fixing" them by searching and then selecting them.
It just simply goes back to empty (no show info, no images other than screenshots from the show). Even using Imdb codes does this.

b ) Downloading Subtitles will always return an error. Errors are logged on the Log files correctly.
 
 
We're mentioning B on this thread.
 
The error on the log is:

2016-04-02 21:05:23.0644 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Configuration/subtitles. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36
2016-04-02 21:05:23.1434 Info HttpServer: HTTP Response 200 to ::1. Time: 79ms. http://localhost:8096/emby/System/Configuration/subtitles
2016-04-02 21:05:23.1514 Info HttpServer: HTTP POST http://localhost:8096/emby/System/Configuration/subtitles. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36
2016-04-02 21:05:23.4626 Info HttpServer: HTTP Response 204 to ::1. Time: 311ms. http://localhost:8096/emby/System/Configuration/subtitles
2016-04-02 21:05:24.4809 Error SubtitleManager: Error downloading subtitles from Open Subtitles
	*** Error Report ***
	Version: 3.0.5911.0
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: True
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
	The process cannot access the file 'C:\Users\Administrator\AppData\Local\Temp\2\request.xml' because it is being used by another process.
	System.IO.IOException
	   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
	   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
	   at XmlRpcHandler.XmlRpcGenerator.Generate(XmlRpcMethodCall[] methods)
	   at OpenSubtitlesHandler.OpenSubtitles.<LogInAsync>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.Subtitles.OpenSubtitleDownloader.<Login>d__d.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.Subtitles.OpenSubtitleDownloader.<Search>d__2b.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.Subtitles.SubtitleManager.<SearchSubtitles>d__b.MoveNext()

Now unfortunately it says rate limit.

2016-04-03 14:23:41.8210 Info HttpClient: HttpClientManager POST: http://api.opensubtitles.org/xml-rpc
2016-04-03 14:23:42.2633 Error App: Error downloading subtitles
	*** Error Report ***
	Version: 3.0.5911.0
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe -service
	Operating system: Microsoft Windows NT 6.2.9200.0
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: True
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
	OpenSubtitles rate limit reached
	System.ApplicationException
	   at MediaBrowser.Providers.Subtitles.OpenSubtitleDownloader.<GetSubtitlesInternal>d__1.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.Subtitles.SubtitleManager.<DownloadSubtitles>d__18.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.Api.Subtitles.SubtitleService.<>c__DisplayClass14.<<Post>b__13>d__16.MoveNext()

This happens with ALL the files I try to download subtitles, same when doing the subtitle search task.

I correctly linked my Opensubs account as well.

 

Speaking of Opensubs, May I suggest that you guys also use an engine to search http://www.addic7ed.com/ as well? It has way more TV show based subs than opensubs imho.

 

 

Anyway.. to resume:

  1. Firewall is enabled on the NAS, but as far I know, the server service and app are authorized to send and receive.
  2. Tried both with IE enhanced security turned off (or partially off) and does not make any difference.
  3. Server can download and update metadata for TV and Movies with no issues. Download images and information as well.
  4. Searching the subtitle list and subtitle availability works. I can see the available subtitles on the Webapp.
  5. Only downloading subtitles causes the above error example.  It correctly reports when there is a "rate limit". But also fails to download when there is "space left" in opensubs to download subs with the IO error.
  6. Only one instance of Emby is running (Service mode on Windows Server 2012 RE2)

 

 

 

 

 

 

Posted

Also, question unrelated to the above problem.

Is there a way to prevent emby from downloading first from imdb?

I'm getting sick of imdb pretty much "erasing" the correct info of some movie that is on themoviedb but not on imdb.(example.. the 2007 TMNT movie appears correctly in the moviedb, but in imdb it only appears as a "meet the voice talents special" ).

 

This is not the first time I've seen this wrong behavior. Particularly bad when trying to find the correct specific show (Imdb always somehow features the voicetalents, or specials first before the movie real links. And if you search using the webmethadata, you cannot see the difference. All entries on imdb will say the correct name and info. Only when its finally downloaded and updated is when you noticed it got the WRONG info)

Posted

Hi there, I'm updating the OpenSubtitles downloader for the next release.

 

As for metadata provider order, you can adjust by exploring the metadata settings in the server dashboard under Metadata. We do not download from Imdb though. We use a combination of OpenMovieDatabase and MovieDb. Thanks.

Posted

Hi there, I'm updating the OpenSubtitles downloader for the next release.

 

As for metadata provider order, you can adjust by exploring the metadata settings in the server dashboard under Metadata. We do not download from Imdb though. We use a combination of OpenMovieDatabase and MovieDb. Thanks.

Thank you luke! I'm going to check that option you mentioned.

  • 4 years later...
vancrideout
Posted

Good job for the codes Agent Smith. B)

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