[GUI] Pulling individual tv episode ratings from OMDB

Support for Windows users
Post Reply
GoranCro
Posts: 1
Joined: 13 Oct 2015, 03:36

[GUI] Pulling individual tv episode ratings from OMDB

Post by GoranCro »

I'm trying to organize my TV Shows and I'm having a hard time pulling the rating for each individual episode. I have tried {rating} and {omdb.rating} but this only gives me the TV Series rating.

If we look at The Walking Dead - http://www.imdb.com/title/tt1520211/?ref_=tt_ov_inf. The series has a rating of 8.6.
Season 1 Episode 3 has a rating of 8.2 - http://www.imdb.com/title/tt1628065/?ref_=ttep_ep3

If I query this IMDBid on OMDB (http://www.omdbapi.com/?i=tt1628065&plot=short&r=json) it pulls the correct IMDBrating:

Code: Select all

{"Title":"Tell It to the Frogs","Year":"2010","Rated":"TV-14","Released":"14 Nov 2010","Season":"1","Episode":"3","Runtime":"44 min","Genre":"Drama, Horror","Director":"Gwyneth Horder-Payton","Writer":"Frank Darabont (developed by), Robert Kirkman (series of graphic novels), Tony Moore (series of graphic novels), Charlie Adlard (series of graphic novels), Charles H. Eglee (teleplay), Jack LoGiudice (teleplay), Frank Darabont (teleplay), Charles H. Eglee (story), Jack LoGiudice (story)","Actors":"Andrew Lincoln, Jon Bernthal, Sarah Wayne Callies, Laurie Holden","Plot":"Rick is reunited with Lori and Carl but soon decides - along with some of the other survivors - to return to the rooftop and rescue Merle. Meanwhile, tensions run high between the other survivors at the camp.","Language":"English, Spanish","Country":"USA","Awards":"N/A","Poster":"http://ia.media-imdb.com/images/M/MV5BNDI3OTYzMDYyNV5BMl5BanBnXkFtZTcwMTI1NzkwNA@@._V1_SX300.jpg","Metascore":"N/A","imdbRating":"8.2","imdbVotes":"5980","imdbID":"tt1628065","seriesID":"tt1520211","Type":"episode","Response":"True"}
How can I force it to use the episode rating instead of the series rating?

This is my episode format:
\\NASBOXX/TV Shows/{n.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").replaceAll(/:/, ' - ')} {genres}/{'Season '+s } ({y})/{n} - {s00e00} - {t} [{omdb.rating}] ({"$vf"} {", $source"})
Results look like:
\\NASBOXX/TV Shows/The Walking Dead [Action, Drama, Horror, Suspense]/Season 1 (2010)/The Walking Dead - S01E03 - Tell It to the Frogs [8.6] (360p , HDTV)
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [GUI] Pulling individual tv episode ratings from OMDB

Post by rednoah »

Episode ratings are not supported. The {rating} binding will always give you the TV Series rating.
:idea: Please read the FAQ and How to Request Help.
Post Reply