-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Failed to download subtitles from assrt due to rate limit. #4671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
#4672 is not the perfect solution but it works well, because it would take seconds to download all subtitles. Maybe we could provide a window selector for users to pick files they want to download. |
Hello from a junior IINA developer. Thank you for reporting this and especially for posting a pull request with a fix. On this:
That is what In any case at this time a more important consideration is this code: iina/iina/OnlineSubtitle.swift Lines 102 to 105 in aa5a415
The built-in online subtitle provider code is now considered legacy code. This is because the plan is to switch to plug-ins for such implementation. The plug-in system is included in the current release of IINA, but is disabled as it is not quite ready to be officially released. The plan is to enable it in the upcoming feature release. Given that, enhancements such as adding a window selector probably should be done as a part of the plug-in conversion. Open Subtitles is shutting down their XMLRPC API at the end of 2023. I am currently finishing changing the current Open Subtitles legacy code to switch to their new REST API. This is a temporary stopgap solution that may end up going straight into the trash if a plugin implementation can be created in time to meet the deadline. I'm thinking IINA should not rush the feature release. Given the limited time left in the year I plan on proposing that IINA release a maintenance release before starting to work on the feature release. I will add PR #4672 to the fixes that should be included in this release. Of course it will be up to the senior developers as to what plans are appropriate to adopt. |
@lhc70000 has merged a tweaked version of the proposed fix into the |
This has been fixed in IINA 1.3.4. Thanks @jjaychen1e for the fix! |
System and IINA version:
Steps to reproduce:
filelist
, usually this happens when the resource contains subtitles for the whole season, rather than one episode)Cause analysis:
After validating the API and server ability of assrt, this issue is in the IINA side. When use proxy tools such as Proxyman, it's easy to guess the assrt server limits the concurrency requests.
How often does this happen?
Quite often
The text was updated successfully, but these errors were encountered: