Jump to content

Subtitle downloading is not working


Amrmashriqi
 Share

Recommended Posts

Amrmashriqi

Hi,

I tried downloading subs for shows and it's not working. I tried fixing my credentials, deleting the plugin erasing the .dll files and reinstalling them, and checking if the subs exist on the plugin websites (they do) and trying multiple shows.

I've attached my logs below. Thanks in advance!

Emby log.zip

Link to comment
Share on other sites

Q-Droid

It looks like you're getting rate limited on OpenSubtitles and timing out on Addic7ed.

MediaBrowser.Common.Extensions.RateLimitExceededException: MediaBrowser.Common.Extensions.RateLimitExceededException: OpenSubtitles rate limit reached
           at OpenSubtitles.OpenSubtitleDownloader.SendRequestAsync(ReadOnlyMemory`1 request, CancellationToken cancellationToken)
           at OpenSubtitles.OpenSubtitleDownloader.Login(CancellationToken cancellationToken)
           at OpenSubtitles.OpenSubtitleDownloader.Search(SubtitleSearchRequest request, CancellationToken cancellationToken)
        Source: OpenSubtitles
 

2021-05-21 04:24:13.129 Error SubtitleManager: Error downloading subtitles from Addic7ed
        MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Cancelling connection to https://www.addic7ed.com/ due to a previous timeout.
           at Addic7ed.Addic7edDownloader.GetShows(CancellationToken cancellationToken)
           at Addic7ed.Addic7edDownloader.GetShow(String name, CancellationToken cancellationToken)
           at Addic7ed.Addic7edDownloader.SearchEpisode(SubtitleSearchRequest request, CancellationToken cancellationToken)
           at Addic7ed.Addic7edDownloader.Search(SubtitleSearchRequest request, CancellationToken cancellationToken)
 

Link to comment
Share on other sites

Amrmashriqi
1 hour ago, Luke said:

Hi there, can you please go over an example? Thanks.

Ok so if i look up a subtitles for a show I sometimes get results and sometimes I don't (for the same episode of the same show) but when I do I get an error

Link to comment
Share on other sites

12 minutes ago, Amrmashriqi said:

Ok so if i look up a subtitles for a show I sometimes get results and sometimes I don't (for the same episode of the same show) but when I do I get an error

I think the user above just answered it for you. You're hitting your daily request limit with OpenSubtitles.

Link to comment
Share on other sites

Amrmashriqi
20 minutes ago, Luke said:

I think the user above just answered it for you. You're hitting your daily request limit with OpenSubtitles.

Literally 0 requests go through though

Link to comment
Share on other sites

  • 2 months later...
neves000

Is is possible to handle this daily request limit into the plugin? Something like If we have 10 consecutives timeouts when calling addic7ed.com, then the plugin stops to try to download subtitles for the entire collection, and an error is thrown?

Actually, every day my Emby tries to download subtitles, succeeds for a few at first (I guess? I hope it's not every day the same subtitles), then fails, and as it continues to attempt HTTP requests, the task takes a long time to complete (~1h30, with ~8500 useless requets to addic7ed.com, which timeout, and I have a 20mb logfile everyday)

2021-08-02 08:54:29.733 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:30.576 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:31.494 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:31.583 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:32.102 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:32.203 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:32.650 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:32.852 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:33.348 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:33.424 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:33.909 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:33.995 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:34.529 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:34.631 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:35.120 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:35.194 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:35.706 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:35.780 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:36.255 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:36.334 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:37.046 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:37.123 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:37.691 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 08:54:37.776 Info HttpClient: GET https://www.addic7ed.com/
2021-08-02 08:54:57.812 Error HttpClient: Connection to https://www.addic7ed.com/ timed out
2021-08-02 08:54:57.865 Error SubtitleManager: Error downloading subtitles from Addic7ed

[...]

2021-08-02 10:25:57.672 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc
2021-08-02 10:25:57.766 Error SubtitleManager: Error downloading subtitles from Addic7ed

 

I don't know if it is related, but the plugin buttons are missing from the plugin interface:

addic7ed_buttons.png.4204b900ed82ec29385fabd1dec0ffc9.png

 

Thank you!


Emby 4.6.4.0, Addic7ed plugin 1.0.8.0.

 

Edit: Also, it may be interesting to write to the logs the requested subtitle.

Edited by neves000
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
 Share

×
×
  • Create New...