nor 2 Posted October 12, 2019 Posted October 12, 2019 Running into an issue with playback from some files synced to my Google Drive account. Playback will direct stream for several minutes before it just stops. When attempting to play media again there is an error. In the log file the following entry is generated: 2019-10-12 00:15:34.773 Error MediaSourceManager: Error getting media sources *** Error Report *** Version: 4.2.1.0 Command line: C:\Users\Hometheater\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///C:/Users/Hometheater/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 8 Program data path: C:\Users\Hometheater\AppData\Roaming\Emby-Server Application directory: C:\Users\Hometheater\AppData\Roaming\Emby-Server\system Google.GoogleApiException: The service drive has thrown an exception: Google.GoogleApiException: Google.Apis.Requests.RequestError User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=1070739416150 [403] Errors [ Message[user Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=1070739416150]Location[ - ] Reason[userRateLimitExceeded] Domain[usageLimits] ] at Google.Apis.Requests.ClientServiceRequest`1.ParseResponse(HttpResponseMessage response) at Google.Apis.Requests.ClientServiceRequest`1.ExecuteAsync(CancellationToken cancellationToken) at MediaBrowser.Plugins.GoogleDrive.GoogleDriveService.GetFilesPage(ListRequest request, CancellationToken cancellationToken) at MediaBrowser.Plugins.GoogleDrive.GoogleDriveService.GetAllFiles(ListRequest request, CancellationToken cancellationToken) at MediaBrowser.Plugins.GoogleDrive.GoogleDriveService.GetFiles(String query, DriveService driveService, CancellationToken cancellationToken) at MediaBrowser.Plugins.GoogleDrive.GoogleDriveService.GetFilesInFolder(String folderId, GoogleCredentials googleCredentials, DriveService driveService, CancellationToken cancellationToken) at MediaBrowser.Plugins.GoogleDrive.GoogleDriveService.GetFiles(String[] pathParts, String rootFolderId, GoogleCredentials googleCredentials, CancellationToken cancellationToken) at MediaBrowser.Plugins.GoogleDrive.GoogleDriveServerSyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken) at Emby.Server.Sync.SyncedMediaSourceProvider.GetMediaSources(BaseItem item, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.GetDynamicMediaSources(BaseItem item, IMediaSourceProvider provider, CancellationToken cancellationToken) Source: GoogleDrive TargetSite: Void MoveNext() 2019-10-12 00:15:34.773 Info App: Returning error code NoCompatibleStream
Luke 42086 Posted October 12, 2019 Posted October 12, 2019 Hi, looks like google drive is raising an error because your google api request limit has been exceeded.
nor 2 Posted October 12, 2019 Author Posted October 12, 2019 Is the API request limit on a per file basis? Some movies will play while others do not.
Luke 42086 Posted October 18, 2019 Posted October 18, 2019 No it's based on your google account. I think what's happening is the way we've done it can be a little chatty with google drive. It's something we can improve and reduce the number of requests that we send. Thanks.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now