Sprijin Bază de date filme (The Movie Database)

hi, endpoint trending/all/day, should return all category including movies, but now only tvshow

endpoint /3/trending/all/day?api_key=apikey&language=en-US&page=1

expectation: should return list of trending movies and tvshow

[
 {
    // ...
    "media_type":"tv"
 },
 {
    // ...
    "media_type":"movie"
 },
    // ...
]

observation:

[
 {
    // ...
    "media_type":"tv"
 },
 {
    // ...
    "media_type":"tv"
 },
    // ...
]

how to reproduce:

  1. go to the endpoint with api key(or access token): https://api.themoviedb.org/3/trending/all/day?api_key=apikey&language=en-US
  2. observe there's no movies(media_type:movie) included in the list

this only happen since 2 days ago, before that it works fine. you can also test it out in reference page: https://developer.themoviedb.org/reference/trending-all

side note:

  • this only effect on trending/all/day, for endpoint trending/movie/day and trending/all/week works fine
  • this also effect tmdb homepage: https://www.themoviedb.org/
  • in case you wondering, this is not because only all trending on that day is only tvshow, because i tested &page=2 until &page=10, still no movie.
  • this will be obvious on GUI if your GUI color label the media type

10 răspunsuri (pe pagina 1 din 1)

Jump to last post

Yup, I suspect somebody is gaming the system.

I’ll be spending some time looking into this tomorrow.

@travisbell said:

Yup, I suspect somebody is gaming the system.

I’ll be spending some time looking into this tomorrow.

have you/someone made some changes? because now API trending/all/day return only media_type:person on page 1 until page 4, from page 5 until page 10 it only display media_type: tv, before this it works fine, only display trending tv show and movie.

I tweaked the algorithm for trending and deployed these changes to the website last night. This is why the website is showing different data than what you see on the API.

I'll be looking at pushing these changes to the API later today.

@travisbell said:

I tweaked the algorithm for trending and deployed these changes to the website last night. This is why the website is showing different data than what you see on the API.

I'll be looking at pushing these changes to the API later today.

Is there any news? it affect our system as well

Any news? Our site is affected by this bug!!

it return person now

Trending for Movies, Series, and Actors returning completely generic movies, series, and actors. What happened to the API? For instance, Trending Movies now it's returning this weird list:

{
  "page": 1,
  "results": [
    {
      "backdrop_path": "/eHUvAuEgs0nas0JrFXcYaXfpedw.jpg",
      "id": 1373970,
      "title": "Opération Trump : Les espions russes à la conquête de l'Amérique",
      "original_title": "Opération Trump : Les espions russes à la conquête de l'Amérique",
      "overview": "",
      "poster_path": "/nNJiDZ0MmiO6Lc01G681ffTLa5A.jpg",
      "media_type": "movie",
      "adult": false,
      "original_language": "fr",
      "genre_ids": [
        99
      ],
      "popularity": 0,
      "release_date": "2024-10-20",
      "video": false,
      "vote_average": 8,
      "vote_count": 2
    },
    {
      "backdrop_path": null,
      "id": 1373957,
      "title": "Rise of the Ghoul Log",
      "original_title": "Rise of the Ghoul Log",
      "overview": "The team behind Horror's Greatest resurrects everyone's favorite jack-o-lantern just in time for spooky season.",
      "poster_path": "/sTxycXMAzhPGBpUWBlwm7tnMOZj.jpg",
      "media_type": "movie",
      "adult": false,
      "original_language": "en",
      "genre_ids": [
        27
      ],
      "popularity": 0,
      "release_date": "2024-10-20",
      "video": false,
      "vote_average": 0,
      "vote_count": 0
    },
    ...
  ],
  "total_pages": 1000,
  "total_results": 20000
}

Yes its returning Person media_type for Trending all just this endpoint

It fixed now

I just deployed the updates to the API. Within the next few minutes all of the cached trending responses will have been purged from cache and you will see the data look correct again.

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare