Jump to content

OpenSubtitles no longer works.


ryanzb111

Recommended Posts

ryanzb111

It used to work, now it doesn't.
I've done countless attempts logging in, re-logging in, testing with OpenSubtitles dot org and dot com.

Tried beta and regular releases, none work.
VLC subtitle downloading works. I bought Emby Lifetime Premiere last year.

2024-01-26 09:13:11.709 Error App: Error getting subtitles
*** Error Report ***
Version: 4.8.0.72
Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll -noautorunwebapp
Operating system: Darwin 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 2023; root:xnu-10002.61.3~2/RELEASE_X86_64
Framework: .NET 6.0.21
OS/Process: x64/x64
Runtime: Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll
Processor count: 8
Application path: /Applications/EmbyServer.app/Contents/MacOS
System.Threading.Tasks.TaskCanceledException: System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Emby.ProcessRun.CoreProcess.CoreProcessLocal.WaitForExitAsync(CancellationToken cancellationToken)
at Emby.ProcessRun.Runners.ProcessRunnerBase.WaitForExitAsync(Int32 timeoutMs, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitleInternal(String inputPath, Boolean isAudio, String inputSubtitleCodec, MediaStream subtitleStream, SubtitleMediaTypes outputCodec, String outputPath, Nullable`1 startTime, Nullable`1 endTime, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitle(ReadOnlyMemory`1 inputPath, Boolean isAudio, String inputSubtitleCodec, MediaProtocol protocol, MediaStream subtitleStream, SubtitleMediaTypes outputCodec, String outputPath, Nullable`1 startTime, Nullable`1 endTime, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, MediaProtocol mediaSourceProtocol, Boolean isAudio, IDictionary`2 requestHeaders, MediaStream subtitleStream, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, EncodingContext encodingContext, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(String inputPath, MediaProtocol inputProtocol, Boolean isAudio, IDictionary`2 requestHeaders, MediaStream subtitleStream, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, EncodingContext encodingContext, CancellationToken cancellationToken)
at Emby.Api.Subtitles.SubtitleService.GetSubtitles(GetSubtitle request, CancellationToken cancellationToken)
at Emby.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
Source: System.Private.CoreLib
TargetSite: Void ThrowForNonSuccess(System.Threading.Tasks.Task)
Edited by ryanzb111
Link to comment
Share on other sites

ryanzb111

I have seen that thread. It seems to be a mixed bag, it works for some, but not for others. Are you saying the dev team is still working on it? I inspected my 'Save' button and it correctly points to OpenSubtitles dot com not org.

 

Screenshot 2024-01-26 at 10.47.11 AM.png

Edited by ryanzb111
Link to comment
Share on other sites

It works just fine. And yes, only supports opensubtitles.com, not .org. 

By the way your log is an extraction attempt of embedded subtitles in your video file and has nothing to do with open subtitles. As always, please make sure to follow 

Which means please describe your issue in as much detail as possible and provide complete log files rather than snippets.

Link to comment
Share on other sites

6 minutes ago, ryanzb111 said:

Emby Version 4.8.0.72 beta

Open Subtitles 1.0.48.0

please describe your issue in as much detail as possible and provide complete log files rather than snippets. Thanks,

Link to comment
Share on other sites

ryanzb111

Ah, you're saying it's the MKV file's fault? Interesting.
Here is the error log when attempting to download subtitles for an MP4 file:

2024-01-26 10:55:37.698 Info HttpClient: POST https://api.opensubtitles.com/api/v1/login
2024-01-26 10:55:37.906 Error SubtitleManager: Error searching for subtitles on Open Subtitles
*** Error Report ***
Version: 4.8.0.72
Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll -noautorunwebapp
Operating system: Darwin 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 2023; root:xnu-10002.61.3~2/RELEASE_X86_64
Framework: .NET 6.0.21
OS/Process: x64/x64
Runtime: Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll
Processor count: 8
Application path: /Applications/EmbyServer.app/Contents/MacOS
MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: TooManyRequests
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
at OpenSubtitles.OpenSubtitleComDownloader.Login(OpenSubtitleOptions options, CancellationToken cancellationToken)
at OpenSubtitles.OpenSubtitleComDownloader.Search(SubtitleSearchRequest request, OpenSubtitleOptions options, CancellationToken cancellationToken)
at Emby.Providers.Subtitles.SubtitleManager.SearchSubtitles(SubtitleSearchRequest request, CancellationToken cancellationToken)
Source: Emby.Server.Implementations
TargetSite: Void MoveNext()

 

VLC works

 

Screenshot 2024-01-26 at 10.59.32 AM.png

Link to comment
Share on other sites

Can you please start by describing in your own words what issue you are having, in more detail than just "X not working", and then once again, please attach complete log files and not portions of them. Thanks.

Link to comment
Share on other sites

ryanzb111

Re-reading the topic title, "OpenSubtitles no longer works".
 

To be more specific, I click on the CC button, then "Search for Subtitles".
Then, the overlayed window displays an error message, "No results found. Have you configured subtitle downloading?"
Then the error snippets I've been posting appear in the server logs.

I don't know how much more detailed I can be besides this.

Here are a couple of screenshots:

 

Screenshot 2024-01-26 at 11.06.01 AM.png

Screenshot 2024-01-26 at 11.06.09 AM.png

Link to comment
Share on other sites

Great, now please attach the complete emby server log file from that. Thanks.

Link to comment
Share on other sites

Whichever embyserver log file was modified during the time in which the problem you described was experienced. Thanks.

Link to comment
Share on other sites

ryanzb111

That would be embyserver.txt. Attached it to this post.
I have enjoyed Emby so far, which is why I purchased Premiere. I just hope this essential function gets restored.

embyserver.txt

Link to comment
Share on other sites

roaku
19 minutes ago, ryanzb111 said:

That would be embyserver.txt. Attached it to this post.
I have enjoyed Emby so far, which is why I purchased Premiere. I just hope this essential function gets restored.

embyserver.txt 154.64 kB · 0 downloads

From your log:

2024-01-26 05:08:25.094 Info HttpClient: POST https://api.opensubtitles.com/api/v1/login
2024-01-26 05:08:25.430 Error SubtitleManager: Error searching for subtitles on Open Subtitles
	*** Error Report ***
	Version: 4.8.0.72
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll -noautorunwebapp
	Operating system: Darwin 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 2023; root:xnu-10002.61.3~2/RELEASE_X86_64
	Framework: .NET 6.0.21
	OS/Process: x64/x64
	Runtime: Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll
	Processor count: 8
	Data path: /Users/mod2/.config/emby-server
	Application path: /Applications/EmbyServer.app/Contents/MacOS
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at OpenSubtitles.OpenSubtitleComDownloader.Login(OpenSubtitleOptions options, CancellationToken cancellationToken)
	   at OpenSubtitles.OpenSubtitleComDownloader.Search(SubtitleSearchRequest request, OpenSubtitleOptions options, CancellationToken cancellationToken)
	   at Emby.Providers.Subtitles.SubtitleManager.SearchSubtitles(SubtitleSearchRequest request, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

 

The 'unauthorized' means your OpenSubtitles credentials are not being accepted by the OpenSubtitles api.

Are you sure you've created an opensubtitles.com account or migrated an opensubtitles.org account to opensubtitles.com?

If so, are you sure that you've updated your credentials in the opensubtitles plugin configuration screen to use your opensubtitles.com credentials *after* the plugin update from .org to .com?

If so, are you sure that you're using your opensubtitles.com username in the OpenSubtitles configuration screen? Your email address will not work with the opensubtitles.com api, even though you can use it to log in at opensubtitles.com.

Link to comment
Share on other sites

ryanzb111

Hi roaku,

Thanks for your input. Yes, I migrated my org account into the com account a while back.
I am able to login to OpenSubtitles.com and download subtitles. I have the same credentials stored into Emby.

Link to comment
Share on other sites

roaku
53 minutes ago, ryanzb111 said:

Hi roaku,

Thanks for your input. Yes, I migrated my org account into the com account a while back.
I am able to login to OpenSubtitles.com and download subtitles. I have the same credentials stored into Emby.

Can you verify the final question?

Quote

If so, are you sure that you're using your opensubtitles.com username in the OpenSubtitles configuration screen? Your email address will not work with the opensubtitles.com api, even though you can use it to log in at opensubtitles.com.

 

Link to comment
Share on other sites

1 hour ago, ryanzb111 said:

yes, only username is entered, no @ symbol or anything after

Maybe try reconfiguring it?

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