The Movie Database Support

I do not know if it really is a bug or if this was planned, I'm getting equated values in popularity field people.

http://api.themoviedb.org/3/person/78804?api_key=#######

7 replies (on page 1 of 1)

Jump to last post

Hi James,

I'm not sure if I follow. Popularity is a daily calculated score representing the popularity of an item. It's represented as a float.

What's the problem?

Hi Travis,

I get to most decimal results, but for this I get the value "1.4e-05" which seems to be an exponential function.

Hi James,

We had a bug last week where the floats were being returned as really long values but the fix was deployed ~7 days ago and all of the items would have been purged from cache within 24 hours of that deploy (~6 days ago).

I am not aware of any items returning a value like this since last week. Could it be that you're looking at some cached data from last week or before?

My data is current and without cache, I have about 120-150 people with this bug.

Below is some id for testing.

person id: 19207 64457 43202 79082 107491 78216

Hi James,

I am not seeing this:

travisbell$ curl -v  "http://api.themoviedb.org/3/person/19207?api_key=###"
* Hostname was NOT found in DNS cache
*   Trying 54.243.227.76...
* Connected to api.themoviedb.org (54.243.227.76) port 80 (#0)
> GET /3/person/19207?api_key=### HTTP/1.1
> User-Agent: curl/7.37.1
> Host: api.themoviedb.org
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Cache-Control: public, max-age=21600
< Content-Type: application/json;charset=utf-8
< Date: Tue, 19 May 2015 22:26:56 GMT
< ETag: "0e67af82e8384c672ddef5bf380afaab"
* Server nginx is not blacklisted
< Server: nginx
< Status: 200 OK
< X-Memc: HIT
< X-Memc-Age: 11352
< X-Memc-Expires: 10248
< X-Memc-Key: 2edb54d0147a14ed4b3f67dac7727556
< Content-Length: 529
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact

Response:

{
  "adult": false,
  "also_known_as": [],
  "biography": "From Wikipedia, the free encyclopedia.\n\nTimothy James Bottoms (born August 30, 1951) is an American actor and film producer.\n\nDescription above from the Wikipedia article Timothy Bottoms, licensed under CC-BY-SA, full list of contributors on Wikipedia.",
  "birthday": "1951-08-30",
  "deathday": "",
  "homepage": "",
  "id": 19207,
  "imdb_id": "nm0000961",
  "name": "Timothy Bottoms",
  "place_of_birth": "Santa Barbara, California",
  "popularity": 0.000005,
  "profile_path": "/pTw7LySB4jJv9PfJfx3Hjj9GKQw.jpg"
}

How strange, because I received another value.

I tested on 4 servers with different locations and all gave the same result.

     {  
   "adult":false,
   "also_known_as":[ ],
   "biography":"From Wikipedia, the free encyclopedia.\n\nTimothy James Bottoms (born August 30, 1951) is an American actor and film producer.\n\nDescription above from the Wikipedia article Timothy Bottoms, licensed under CC-BY-SA, full list of          contributors on Wikipedia.",
   "birthday":"1951-08-30",
   "deathday":"",
   "homepage":"",
   "id":19207,
   "imdb_id":"nm0000961",
   "name":"Timothy Bottoms",
   "place_of_birth":"Santa Barbara, California",
   "popularity":5e-06,
   "profile_path":"/pTw7LySB4jJv9PfJfx3Hjj9GKQw.jpg"
 }

Hi James,

Are you still seeing this? I have been unable to replicate this. Interestingly enough, since May 19, the majority of our popularity system has been re-written so I really, really really think this is solved now... but I'm just double checking ;)

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login