Jump to content

TMDB Throttling


Go to solution Solved by Luke,

Recommended Posts

adminExitium
Posted (edited)

I am just looking for info about how the throttle interval for the TMDB API is calculated, when the provider is enabled & used.

Specifically, for lines like:

2024-06-19 19:07:30.939 Debug TheMovieDb: Throttling Tmdb by 152 ms

From what I can figure out from the TMDB API Docs, they don't have any kind of rate limiting or throttling mechanism on the server side, so this seems like something implemented on the Emby side?

API Docs: https://developer.themoviedb.org/docs/rate-limiting

The TMDB rate limiting was removed in 2019: https://www.themoviedb.org/talk/5df7d28326dac100145530f2

Based on some rough calculations (estimating the avg. ffprobe time at ~125 ms per file), it looks like Emby is still sticking to the original 40 requests per 10 second limit whereas the current recommendation is 50 requests per second, which is almost a 10x difference.

Edited by adminExitium
  • Solution
Posted

Hi, yes I guess it is, and that can probably be adjusted. But in terms of overall time with your library scan it's unlikely to matter unless you enable MovieDb for episodes.

adminExitium
Posted (edited)
1 hour ago, Luke said:

enable MovieDb for episodes.

I generally do, because I thought that was required to use the images from TMDB, which are generally higher quality than those from TVDB.

Edited by adminExitium
  • Thanks 1
adminExitium
Posted

Thanks for the fast turnaround. Scan is going a lot faster now, even for Movies, since I only use TMDB there.

  • Thanks 1

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