Skip to content
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

TheMovieDB Limit reached - When it hasn't #791

Open
dly2424 opened this issue May 9, 2019 · 1 comment
Open

TheMovieDB Limit reached - When it hasn't #791

dly2424 opened this issue May 9, 2019 · 1 comment
Milestone

Comments

@dly2424
Copy link

dly2424 commented May 9, 2019

Issue description

When using 'bulk create from files' (in manage content, TV Shows) and attempting to import existing shows, i get a match on the first video file, and after that i receive only 'TheMoveDB Limit Reached'.

Note: All exceptions are set to raise the error 'API limit reached' see below:

catch (Exception ex) {
      log.error("Error occured while trying to retrieve data from TheMovieDB. Please check your API-Key.")
      fileResult.status = MATCHER_STATUS.LIMIT_REACHED
      fileResult.title = name
    }

Steps to Reproduce

  1. Fresh install, using 'sudo java -jar streama-x.x.x-xxx.jar (tried versions 'v1.7.0-RC3' and 'v1.6.7')
  2. Go to http://xxx.xxx.x.xxx:8080 (8080 is the port i am using)
  3. Manage Content
  4. Bulk-Create from files
  5. Select folder (issue here as well, odd behavior seen here: https://ibb.co/DMZkvHs (gif))
  6. 'Run Matcher'
  7. Issue is reproduced - See for gif of whole issue: https://ibb.co/r6fT0Fs

Expected Behaviour

It is expected to match for all files selected.

Actual Behaviour

It does not match for all files selected, only the first one is successful.

Environment Information

  • Operating System: Ubuntu mate - linux
  • Streama version: 'v1.7.0-RC3' and 'v1.6.7'
  • Custom streama build, describe customizations or provide link to fork (If Applicable): Not applicable
  • Container Version (If Applicable): Not applicable
@dularion dularion added this to the 1.7 milestone May 9, 2019
@varac
Copy link

varac commented May 18, 2019

I also get frequent erros like this:

ERROR grails.app.services.streama.TheMovieDbService - Server returned HTTP response code: 429 for URL: https://api.themoviedb.org/3/movie/1587/videos?api_key=...&language=en                                                                                                  
ERROR grails.app.services.streama.TheMovieDbService - Server returned HTTP response code: 429 for URL: https://api.themoviedb.org/3/movie/242224/videos?api_key=...&language=en 

[http response code 429]https://httpstatuses.com/429() is:

TOO MANY REQUESTS
The user has sent too many requests in a given amount of time ("rate limiting").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants