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

Fix auto-handling for watch/delete for multiple movies with the same name #149

Open
torbencarstens opened this issue Feb 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@torbencarstens
Copy link
Member

elif len(movie_choices) == 1 or movie_choices[0].imdb.title.lower() == title.lower():

If we get more than one result with the same name the bot auto-chooses the first one which might not be correct.

Either

  • check whether the second (and so on) result (if it exists) has a lower rating
  • only auto-choose when we have one result with the exact title
@torbencarstens torbencarstens added the bug Something isn't working label Feb 25, 2024
@torbencarstens torbencarstens self-assigned this Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant