Kodi Community Forum
Solved rate limit issue? - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204)
---- Thread: Solved rate limit issue? (/showthread.php?tid=356722)



rate limit issue? - tars - 2020-08-28

If you select lots of movies and run "Automatically download subtitles" command, it works for a while and then starts showing the following errors for each of the selected movies.
Perhaps exceeded the rate limit of the API?
Code:
ERROR [tmmpool-searchAndDownloadSubtitles-T1] o.t.c.m.t.MovieSubtitleSearchAndDownloadTask:148 - getSubtitles
org.tinymediamanager.scraper.exceptions.ScrapeException: org.tinymediamanager.scraper.opensubtitles.TmmXmlRpcException
    at org.tinymediamanager.scraper.opensubtitles.OpensubtitlesMetadataProvider.search(OpensubtitlesMetadataProvider.java:154)
    at org.tinymediamanager.core.movie.tasks.MovieSubtitleSearchAndDownloadTask$Worker.run(MovieSubtitleSearchAndDownloadTask.java:126)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.tinymediamanager.scraper.opensubtitles.TmmXmlRpcException: null
    at org.tinymediamanager.scraper.opensubtitles.TmmXmlRpcClient$Caller.call(TmmXmlRpcClient.java:136)
    at org.tinymediamanager.scraper.opensubtitles.TmmXmlRpcClient.call(TmmXmlRpcClient.java:83)
    at org.tinymediamanager.scraper.opensubtitles.OpensubtitlesMetadataProvider.methodCall(OpensubtitlesMetadataProvider.java:291)
    at org.tinymediamanager.scraper.opensubtitles.OpensubtitlesMetadataProvider.search(OpensubtitlesMetadataProvider.java:124)
    ... 8 common frames omitted



RE: rate limit issue? - tars - 2020-09-25

Thanks for the fix! No longer getting the error.


This forum uses Lukasz Tkacz MyBB addons.