limit number of tmdb requests per second

This commit is contained in:
Luke Pulverenti
2013-05-19 14:42:58 -04:00
parent 13d997a97a
commit 25314e1fc9
7 changed files with 87 additions and 67 deletions
@@ -21,6 +21,8 @@ namespace MediaBrowser.Controller.Providers
/// <exception cref="System.ArgumentNullException">item</exception>
Task<string> DownloadAndSaveImage(BaseItem item, string source, string targetName, bool saveLocally, SemaphoreSlim resourcePool, CancellationToken cancellationToken);
Task<string> SaveImage(BaseItem item, Stream source, string targetName, bool saveLocally, CancellationToken cancellationToken);
/// <summary>
/// Saves to library filesystem.
/// </summary>