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

Title query only returns one record #324

Open
stefanis opened this issue Sep 12, 2024 · 0 comments
Open

Title query only returns one record #324

stefanis opened this issue Sep 12, 2024 · 0 comments

Comments

@stefanis
Copy link

If titles were unique, then it would be proper to return just one record. But titles are not guaranteed unique.

For example: "t=Mean Girls"
Returns
{
"Title": "Mean Girls",
"Year": "2004",
"Rated": "PG-13",
"Released": "30 Apr 2004",
...
}

but there is also a 2014 short from the Netherlands
{
"Title": "Mean Girls",
"Year": "2014",
"Rated": "N/A",
"Released": "30 Jun 2014",
"Runtime": "11 min",
...
}

and a 2024 remake of the original movie
{
"Title": "Mean Girls",
"Year": "2024",
"Rated": "PG-13",
"Released": "12 Jan 2024",
...
}

A title query should return all of these (or more if there are other exact title matches). Sure I could do a search, but if I "s=mean girls" it finds 22 records including "Boys Are Stupid, Girls Are Mean" and many other entries that I have to page through, 10 incomplete entries at a time, and then i= query to get the more specific information I want. Which then goes against my query limit. 1 for each specific title and 1 for each page in the s= search.

I feel that an i= or t= query should return all records that match the query parameters, not a limit 1, which isn't even necessarily the newest record. The 2004 original movie was returned with the simplest of t= queries, I had to know that I wanted the 2024 remake to find it specifically.

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

1 participant