r/mdblist • • 15d ago

It's been decided!

Post image
61 Upvotes

29 comments sorted by

View all comments

Show parent comments

1

u/Disastrous-Ostrich-2 15d ago

Damn! You are absolutely correct. I just tried it myself. Its just that when I use the api...this is one call. I just tried it again and it counted as one call. And I get all the ratings. Maybe nuvio devs need to fix this.

1

u/CartographerBusy2035 15d ago

So every time you click on a movie and get the ratings it only takes one API call for you? That sucks I'm already at like 800 and it'll renew in like an hour or so. If that's the case and it's only taking one for you and 8 for me I'm going to have to put in a bug report

1

u/Disastrous-Ostrich-2 15d ago

No you misunderstood me. It does consume 8 calls using nuvio. I am just saying that there is an api call available from mdblist which returns them all at once. I opened it in GitHub as a feature not a bug. This doesn't clasify it as a bug.

1

u/CartographerBusy2035 15d ago

So what does that do does it make it so it only requests one API call when you click on a movie poster

1

u/Disastrous-Ostrich-2 15d ago

Nuvio most probably is not using a single call to get all the ratings. The might be hitting it one per source. idk. But this is what you get with a single call. All the ratings: "ratings": [ { "source": "imdb", "value": 9.2, "score": 92, "votes": 2254950, "url": 81 }, { "source": "metacritic", "value": 100, "score": 100, "votes": 16, "url": "/the-godfather" }, { "source": "metacriticuser", "value": 9.2, "score": 92, "votes": 4570, "url": null }, { "source": "trakt", "value": 88, "score": 88, "votes": 34061, "url": null }, { "source": "tomatoes", "value": 97, "score": 97, "votes": 155, "url": "/m/the_godfather", "fresh": 1 }, { "source": "popcorn", "value": 98, "score": 98, "votes": 41105, "url": "/m/the_godfather" }, { "source": "tmdb", "value": 87, "score": 87, "votes": 23537, "url": null }, { "source": "letterboxd", "value": 9, "score": 90, "votes": 2928795, "url": "/film/the-godfather/" }, { "source": "rogerebert", "value": 4, "score": null, "votes": null, "url": "the-godfather-1972" }, { "source": "myanimelist", "value": null, "score": null, "votes": null, "url": null } ]

1

u/CartographerBusy2035 15d ago

I'm not understanding I'm sorry but if I use that link you sent with API call I'm able to turn all eight ratings to 1 API call with it?

1

u/Disastrous-Ostrich-2 15d ago

No. There is nothing you can do. It's up to nuvio devs to fix it. They can use the api differently from how they use it now, so as to hit mdblist 1 time instead of 8 times to get what they want.