TMDB image rating broken
Posted: 20 Mar 2018, 00:23
test:
output:
also if could add "vote_average", "vote_count" and maybe "aspect_ratio"
thx
Why ?
e.g. so I/we can choice higher/custom res. + rating over rating only.
btw:
as you can see here the Website/API(movie id) and API(images), do not show the same result (seen this many times, even if long time after uploads/API update), why because "Primary" = #1 on website (something only DEV/MODS can do) but NOT on API (API really needs a "Primary" key).
(This is a problem because it keeps people from voting image up/down...
yes, I know it's a TMDB problem, but they don't seem to want to do something about this...)
Website/API(movie id):
https://www.themoviedb.org/movie/19995- ... es/posters
https://api.themoviedb.org/3/movie/1999 ... uage=en-US
API(images):
https://api.themoviedb.org/3/movie/1999 ... key=APIKEY
Code: Select all
{def artwork = net.filebot.WebServices.TheMovieDB.getArtwork(19995, 'posters', Locale.US);
println "artwork: ${artwork.rating}";}
pls fix/add ratingartwork: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
also if could add "vote_average", "vote_count" and maybe "aspect_ratio"
thx
Why ?
e.g. so I/we can choice higher/custom res. + rating over rating only.
btw:
as you can see here the Website/API(movie id) and API(images), do not show the same result (seen this many times, even if long time after uploads/API update), why because "Primary" = #1 on website (something only DEV/MODS can do) but NOT on API (API really needs a "Primary" key).
(This is a problem because it keeps people from voting image up/down...
yes, I know it's a TMDB problem, but they don't seem to want to do something about this...)
Website/API(movie id):
https://www.themoviedb.org/movie/19995- ... es/posters
https://api.themoviedb.org/3/movie/1999 ... uage=en-US
API(images):
https://api.themoviedb.org/3/movie/1999 ... key=APIKEY
poster_path "/kmcqlZGaSh20zpTbuoF0Cdn07dT.jpg"
0
aspect_ratio 0.6666666666666666
file_path "/tcqb9NHdw9SWs2a88KCDD4V8sVR.jpg"
height 1500
iso_639_1 "en"
vote_average 6.354
vote_count 250
width 1000
1
aspect_ratio 0.6666666666666666
file_path "/8Ic8rRVoVrDJJlXzVzGxAesufUV.jpg"
height 1500
iso_639_1 "en"
vote_average 6.342
vote_count 302
width 1000
2
aspect_ratio 0.6666666666666666
file_path "/b7nR3eKeTOwHPKmDLUWunIGasKo.jpg"
height 1500
iso_639_1 "en"
vote_average 5.648
vote_count 8
width 1000
3
aspect_ratio 0.6666666666666666
file_path "/vFOnUUCWGWpbCmGvCpCkPxB2KJd.jpg"
height 1500
iso_639_1 "de"
vote_average 5.454
vote_count 3
width 1000
4
aspect_ratio 0.6666666666666666
file_path "/kmcqlZGaSh20zpTbuoF0Cdn07dT.jpg"
height 1500
iso_639_1 "en"
vote_average 5.404
vote_count 20
width 1000