jellyfin-plugin-opensubtitles icon indicating copy to clipboard operation
jellyfin-plugin-opensubtitles copied to clipboard

Error downloading subtitles

Open diegodlh opened this issue 5 years ago • 7 comments

I am using version 6 of the Open Subtitles plugin and I am getting the same error message that was reported on (closed) bug #1424 of the jellyfin repository:

[2019-10-25 18:38:12.594 -03:00] [ERR] Error downloading subtitles from "Open Subtitles" System.NullReferenceException: Object reference not set to an instance of an object. at Jellyfin.Plugin.OpenSubtitles.OpenSubtitleDownloader.Login(CancellationToken cancellationToken) at Jellyfin.Plugin.OpenSubtitles.OpenSubtitleDownloader.Search(SubtitleSearchRequest request, CancellationToken cancellationToken) at MediaBrowser.Providers.Subtitles.SubtitleManager.<>c__DisplayClass11_0.<<SearchSubtitles>b__3>d.MoveNext() This error message is triggered both when (i) I run the scheduled task to download subtitles, or (ii) I search for subtitles in a particular movie. I tried with version 5 as well, and same error appears (after restarting the server). I also tried with and without username and password (it is hard to tell if my user and pass are being saved, because the fields are reset to blank after clicking "save" in the plugin settings). The error appears if I request subtitle download both from Firefox browser, and from the Android app.

diegodlh avatar Oct 25 '19 21:10 diegodlh

@diegodlh Have you tried with version 7 on the latest 10.4.2?

anthonylavado avatar Nov 27 '19 06:11 anthonylavado

I have a very similar problem for the version 7 on 10.4.3 This is the error message i get while trying the download

 [ERR] Error downloading subtitles
   at MediaBrowser.Providers.Subtitles.SubtitleManager.DownloadSubtitles(Video video, LibraryOptions libraryOptions, String subtitleId, CancellationToken cancellationToken)

gabri94 avatar Dec 28 '19 13:12 gabri94

I enabled the logging and this is the full error trace:

MediaBrowser.Common.Extensions.RateLimitExceededException: OpenSubtitles rate limit reached
   at Jellyfin.Plugin.OpenSubtitles.OpenSubtitleDownloader.GetSubtitlesInternal(String id, PluginConfiguration options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Subtitles.SubtitleManager.DownloadSubtitles(Video video, LibraryOptions libraryOptions, String subtitleId, CancellationToken cancellationToken)
   at MediaBrowser.Api.Subtitles.SubtitleService.<>c__DisplayClass14_0.<<Post>b__0>d.MoveNext()

Since I haven't downloaded any subtitles today i created a new account to have an additional confirmation and i got the same error with the new account.

gabri94 avatar Dec 28 '19 14:12 gabri94

@gabri94 Just had a chance to look at this. OpenSubtitles limits by IP address, not by account, so changing accounts won’t get past it.

anthonylavado avatar Jan 14 '20 13:01 anthonylavado

We’ll try to look at enabling better throttling protection in the plug-in, but ultimately the error is outside of our control.

anthonylavado avatar Feb 20 '20 05:02 anthonylavado

Is this a duplicate of #63 and fixed by #83?

pmorch avatar Mar 27 '23 10:03 pmorch

I don't think it is a duplicate but I believe its safe to assume that the issue was fixed because the plugin was switched to the new REST API in the meantime

MBR-0001 avatar Mar 27 '23 16:03 MBR-0001