Plugin To Show Parental Guide For Movies

other-dev

#1

Hi,

Was wondering if it's possible to develop a plugin or a channel that would acquire parental guide information from say, IMDB and load it into each movie. So if I was to select a movie, either through Chrome, the Windows App, the Android App, or RasPlex, it would show up there too.

I know that the movie rating is shown, but that's not very definitive.

If someone could point me in the right direction, I'd much appreciate it.

Cheers


#2

Yes it is possible in theory to modify an existing agent to use an API from the metadata provider, and once the agent is configured on the server, the movie rating would show on ANY client....

I would have thought the movie rating that is shown on the dvd and bluray and decided in the US by the MPAA (http://www.mpaa.org/film-ratings/) would be definitive. So you trust that very rating coming from IMDB for all movies, despite there being only one association giving the movie ratings, therefore, it should be identical in any database, for the same region (since other regions do use other rating systems).

Can you tell use why the movie rating you see on the agent you didn't name is "not very definitive" ?
Can you prove or have any indication it is "very definitive" on IMDB ?

There is no official IMDb agent for Plex (because IMDb doesn't provide a free/open API and doesn't want their data to be used for scraping), but there is however an unofficial agent: http://forums.plexapp.com/index.php/topic/21894-unofficial-imdb-api/


#3

What I mean by "not very definitive" is, currently, all that shows is the
rating (R,PG-13, etc). What I wanted is for it to show me details, for
example, the IMDb parental guide tells you exactly why the 'R' or 'PG-13'
as in it tells you if there are explicit scenes etc. That is the
functionality I hope to implement.

On Mon, 22 Aug 2016, 5:18 p.m. ZeroQI, forums+d229301-s6025034@plex.tv
wrote:

Plex Forums https://forums.plex.tv/

ZeroQI answered your question: Plugin To Show Parental Guide For Movies

Yes it is possible in theory to modify an existing agent to use an API
from the metadata provider, and once the agent is configured on the server,
the movie rating would show on ANY client....

I would have thought the movie rating that is shown on the dvd and
bluray and decided in the US by the MPAA (
http://www.mpaa.org/film-ratings/) would be definitive. So you trust that
very rating coming from IMDB for all movies, despite there being only one
association giving the movie ratings, therefore, it should be identical in
any database, for the same region (since other regions do use other rating
systems).

Can you tell use why the movie rating you see on the agent you didn't
name is "not very definitive" ?

Can you prove it is "very definitive" on IMDB ?

There is no official IMDb agent for Plex (because IMDb doesn't provide a
free/open API and doesn't want their data to be used for scraping), but
there is however an unofficial agent:
http://forums.plexapp.com/index.php/topic/21894-unofficial-imdb-api/

--

Reply to this email directly or follow the link below to check it out:

https://forums.plex.tv/discussion/comment/1239255#Comment_1239255

Note: Your signature will be included when replying directly by email
unless you remove it first. Attachments will not be included when replying.

Check it out:
https://forums.plex.tv/discussion/comment/1239255#Comment_1239255

--

Regards,
Craig Pinto


#4

Thanks for the precise reply, it make perfect sense now, although an example with such letters would have helped tremendously....

"content_rating" string exists for series and movies.
https://github.com/ZeroQI/Hama.bundle/blob/master/Metadata.md (my re-writing) will show all metadata fields possible

I see what you mean, something rated like Dobermann:
. https://www.themoviedb.org/movie/10347-dobermann is not rated
. http://www.imdb.com/title/tt0118996/?ref_=fn_al_tt_1 is rated R

https://en.wikipedia.org/wiki/Television_content_rating_systems#United_States
Some thematic elements, according to the FCC, "may call for parental guidance and/or the program may contain one or more of the following" sub-ratings, designated with an alphabetic letter:

D - Suggestive dialogue ( TV-PG and TV-14 rated programs only, although certain networks may choose to rate their TV-MA programs with the descriptor)
L – Coarse language
S – Sexual content
V – Violence (used for TV-Y7 programs until the creation of the 'FV' descriptor in 1997)
FV – Fantasy violence (exclusive to TV-Y7)
E/I – Educational & Informative (usually used for children's programs - Exclusive to TV-Y and TV-Y7)

Up to four content descriptors can be applied alongside an applied rating, depending on the kind of suggestive content DLSV sub-ratings are only used with the TV-PG and TV-14 ratings.
As the rating increases pertaining to the age, the content matters generally get more intensive.

Using themoviedb agent and api (will use tmdb as guid):
https://api.themoviedb.org/3/movie/10347?api_key=7f4a0bd0bd3315bb832e17feda70b5cd

{"adult":false,"backdrop_path":"/httqctM1VRYRVfZuayxb0xaSyxN.jpg","belongs_to_collection":null,"budget":0,"genres":[{"id":28,"name":"Action"},{"id":80,"name":"Crime"}],"homepage":"","id":10347,"imdb_id":"tt0118996","original_language":"en","original_title":"Dobermann","overview":"The charismatic criminal Dobermann, who got his first gun when he was christened, leads a gang of brutal robbers. After a complex and brutal bank robbery, they are being hunted by the Paris police. The hunt is led by the sadistic cop Christini, who only has one goal: to catch Dobermann at any cost.","popularity":0.539289,"poster_path":"/zGjiLKmSRZQXYrUjoFFXbRjKmhA.jpg","production_companies":[{"name":"PolyGram Audiovisuel","id":6367},{"name":"Enigma Pictures","id":6368}],"production_countries":[{"iso_3166_1":"FR","name":"France"}],"release_date":"1997-06-18","revenue":0,"runtime":103,"spoken_languages":[{"iso_639_1":"en","name":"English"},{"iso_639_1":"fr","name":"Français"},{"iso_639_1":"de","name":"Deutsch"},{"iso_639_1":"ru","name":"Pусский"}],"status":"Released","tagline":"","title":"Dobermann","video":false,"vote_average":6.2,"vote_count":51}
"imdb_id":"tt0118996

now you can load imdb infos here http://www.omdbapi.com/?i=tt0118996&plot=full&tomatoes=true
answer from OMDB api is json or xml, json simpler below:

{"Title":"Dobermann","Year":"1997","Rated":"R","Released":"18 Jun 1997","Runtime":"103 min","Genre":"Action, Crime, Thriller","Director":"Jan Kounen","Writer":"Joël Houssin","Actors":"Vincent Cassel, Tchéky Karyo, Monica Bellucci, Antoine Basler","Plot":"The charismatic criminal Dobermann, who got his first gun when he was christened, leads a gang of brutal robbers. After a complex and brutal bank robbery, they are being hunted by the Paris...","Language":"French, English, Spanish","Country":"France","Awards":"N/A","Poster":"http://ia.media-imdb.com/images/M/MV5BMTUxNjA2MjM2NF5BMl5BanBnXkFtZTcwNjI0MzQyMQ@@._V1_SX300.jpg","Metascore":"N/A","imdbRating":"6.7","imdbVotes":"14,233","imdbID":"tt0118996","Type":"movie","tomatoMeter":"N/A","tomatoImage":"N/A","tomatoRating":"N/A","tomatoReviews":"N/A","tomatoFresh":"N/A","tomatoRotten":"N/A","tomatoConsensus":"N/A","tomatoUserMeter":"80","tomatoUserRating":"3.7","tomatoUserReviews":"5578","tomatoURL":"http://www.rottentomatoes.com/m/dobermann/","DVD":"N/A","BoxOffice":"N/A","Production":"PolyGram","Website":"N/A","Response":"True"}

"Rared": "R"

Please get your own api keys.


#5

My god man! You are brilliant!

I'm a bit naive where agents are concerned. How exactly do I load an
external metadata agent into Plex?

On Mon, 22 Aug 2016, 10:58 p.m. ZeroQI, forums+d229301-s6025034@plex.tv
wrote:

Plex Forums https://forums.plex.tv/

ZeroQI answered your question: Plugin To Show Parental Guide For Movies

Thanks for the precise reply, it make perfect sense now, although an
example with such letters would have helped tremendously....

"content_rating" string exists for series and movies.

https://github.com/ZeroQI/Hama.bundle/blob/master/Metadata.md (my
re-writing) will show all metadata fields possible

I see what you mean, something rated like Dobermann:

. https://www.themoviedb.org/movie/10347-dobermann is not rated

. http://www.imdb.com/title/tt0118996/?ref_=fn_al_tt_1 is rated R

https://en.wikipedia.org/wiki/Television_content_rating_systems#United_States

Some thematic elements, according to the FCC, "may call for parental
guidance and/or the program may contain one or more of the following"
sub-ratings, designated with an alphabetic letter:

D - Suggestive dialogue ( TV-PG and TV-14 rated programs only, although
certain networks may choose to rate their TV-MA programs with the
descriptor)

L – Coarse language

S – Sexual content

V – Violence (used for TV-Y7 programs until the creation of the 'FV'
descriptor in 1997)

FV – Fantasy violence (exclusive to TV-Y7)

E/I – Educational & Informative (usually used for children's programs -
Exclusive to TV-Y and TV-Y7)

Up to four content descriptors can be applied alongside an applied
rating, depending on the kind of suggestive content DLSV sub-ratings are
only used with the TV-PG and TV-14 ratings.

As the rating increases pertaining to the age, the content matters
generally get more intensive.

Using themoviedb agent and api (will use tmdb as guid):

https://api.themoviedb.org/3/movie/10347?api_key=7f4a0bd0bd3315bb832e17feda70b5cd

{"adult":false,"backdrop_path":"/httqctM1VRYRVfZuayxb0xaSyxN.jpg","belongs_to_collection":null,"budget":0,"genres":[{"id":28,"name":"Action"},{"id":80,"name":"Crime"}],"homepage":"","id":10347,"imdb_id":"tt0118996","original_language":"en","original_title":"Dobermann","overview":"The
charismatic criminal Dobermann, who got his first gun when he was
christened, leads a gang of brutal robbers. After a complex and brutal bank
robbery, they are being hunted by the Paris police. The hunt is led by the
sadistic cop Christini, who only has one goal: to catch Dobermann at any
cost.","popularity":0.539289,"poster_path":"/zGjiLKmSRZQXYrUjoFFXbRjKmhA.jpg","production_companies":[{"name":"PolyGram
Audiovisuel","id":6367},{"name":"Enigma
Pictures","id":6368}],"production_countries":[{"iso_3166_1":"FR","name":"France"}],"release_date":"1997-06-18","revenue":0,"runtime":103,"spoken_languages":[{"iso_639_1":"en","name":"English"},{"iso_639_1":"fr","name":"Français"},{"iso_639_1":"de","name":"Deutsch"},{"iso_639_1":"ru","name":"Pусский"}],"status":"Released","tagline":"","title":"Dobermann","video":false,"vote_average":6.2,"vote_count":51}

"imdb_id":"tt0118996

now you can load imdb infos here
http://www.omdbapi.com/?i=tt0118996&plot=full&tomatoes=true

answer from OMDB api is json or xml, json simpler below:

{"Title":"Dobermann","Year":"1997","Rated":"R","Released":"18 Jun
1997","Runtime":"103 min","Genre":"Action, Crime, Thriller","Director":"Jan
Kounen","Writer":"Joël Houssin","Actors":"Vincent Cassel, Tchéky Karyo,
Monica Bellucci, Antoine Basler","Plot":"The charismatic criminal
Dobermann, who got his first gun when he was christened, leads a gang of
brutal robbers. After a complex and brutal bank robbery, they are being
hunted by the Paris...","Language":"French, English,
Spanish","Country":"France","Awards":"N/A","Poster":"
http://ia.media-imdb.com/images/M/MV5BMTUxNjA2MjM2NF5BMl5BanBnXkFtZTcwNjI0MzQyMQ@@._V1_SX300.jpg
","Metascore":"N/A","imdbRating":"6.7","imdbVotes":"14,233","imdbID":"tt0118996","Type":"movie","tomatoMeter":"N/A","tomatoImage":"N/A","tomatoRating":"N/A","tomatoReviews":"N/A","tomatoFresh":"N/A","tomatoRotten":"N/A","tomatoConsensus":"N/A","tomatoUserMeter":"80","tomatoUserRating":"3.7","tomatoUserReviews":"5578","tomatoURL":"
http://www.rottentomatoes.com/m/dobermann/
","DVD":"N/A","BoxOffice":"N/A","Production":"PolyGram","Website":"N/A","Response":"True"}

"Rared": "R"

Please get your own api keys.

--

Reply to this email directly or follow the link below to check it out:

https://forums.plex.tv/discussion/comment/1239421#Comment_1239421

Note: Your signature will be included when replying directly by email
unless you remove it first. Attachments will not be included when replying.

Check it out:
https://forums.plex.tv/discussion/comment/1239421#Comment_1239421

--

Regards,
Craig Pinto


#6

https://support.plex.tv/hc/en-us/articles/201106098-How-do-I-find-the-Plug-Ins-folder-
Copy the .bundle folder there


#7

Is this available anymore?