Rotten Tomatoes Agent [request filled]

Really, it’s as easy as download and double-click to install. (Or it should be.)



However, it looks like the installer won’t replace an existing file, so if you installed Plex/Nine back when it was first released, you’ll need to remove the old broken one. Go to ~/Library/Application Support/Plex Media Server/Plug-ins, where the ~ represents your user home folder, and make sure that there’s no RottenTomatoes.bundle there already. If there is, just throw it away.



Then, in the media manager, click on the gear icon to get to the metadata agent settings. Here is where you enable RottenTomatoes and drag to reorder so that it is at the top (that means its information will take priority over the others.) Then shift-click the update button (that circling arrow at the bottom right) to force a refresh of all your movies.




Many Thanks for this and the agent much appreciated - works a treat!

The agent is also available on Plex Online and will get updated automatically when updates become available.



Yeah, but their genres suck big time!

Is there a way I can override the RT genres (and only those) with the genres of another agent?

Also, there seems to be a bug with the parsing of genre information. For example:



Movie: Blood Diamond

Genres on RT: Drama, Action & Adventure, Mystery & Suspense

Genres in Plex (with RT agent): Drama, Action & Adventure



So it’s missing the Mystery & Suspense.


It's probably just not visible. Can you check it in PMM (you may need to scroll in the genre field there if the list with genres is long). You can also check in Plex by using browse by genre and then choose "Mystery & Suspense" and see if Blood Diamond is listed.

so far, plex only displays the first two genres (where Action & Adventure is seen as a single genre).

I would not mind plex displaying more than just the first two.

However, in the Genre menu, you will find Blood Diamond under “Mystery & Suspense” too then. Just not in the Movie Information.



You can prevent it from pulling them. Right-click on the RottenTomatoes.bundle, select "Show Contents" and go to Contents/Code/__init__.py. Open that file in any text editor, and delete the lines

		metadata.genres.clear()<br />
		for genre_elem in movie_page.xpath('//span[@property="v:genre"]'):<br />
			metadata.genres.add(genre_elem.text)




It's interesting how different people have such differing opinions about what constitutes a good set of genres.


Yes, you and sander1 are right. I can confirm that all genres are in fact there (PMM), just not visible in Plex.

Sorry for the confusion.


Thanks Raindancing, I will try that.

As for different opinions on what constitutes a good set of genres: I can only say that after re-scanning my whole library (roughly 600 movies) with RT being the primary agent, a very large amount of those movies that were previously in genres like Thriller, Crime or Mystery are now basically all in Drama. Not sure what's good about that. If I want to watch a thriller or crime movie and browse "by genre" in Plex, I get 2-3 movies, while most thrillers are now being listed as drama. Makes searching for a good thriller kind of hard :)

They tend to be under “Mystery & Suspense” for me. But then, mine tend to be of the Hitchcock variety. Different movie collections probably fall different ways.



I agree that Drama and Comedy both tend to have too much in them to make them useful for filtering.



Well here is a bummer. Lord of the Rings is clearly a Fantasy movie. Who would want to argue about that? Well guess what, if I browse the Fantasy genre on Plex, LOTR does not show up there.

Since the Rotten Tomatoes agent is available on Plex Online, making your own changes to the code will not work. PMS will update the bundle with the store version when it detects changes.



Ok, so I don't need to bother trying to turn off the genres in the bundle.

Question: In PMM's agent configuration, there is a "Preferences" button for each subagent/source. But they are all greyed out. Is it possible to activate that for the RT agent and then let me choose what info I want to pull from RT?

I forgot about the agent making it into Plex Online.



I’ll figure out how to add preferences. I was already planning on making on option to choose between average rating and tomatometer



In the meantime, if it really bothers you, you can get around this by moving the bundle outside the plugins folder, and creating a symlink. It’s a simple terminal command:


ln -s ~/Documents/RottenTomatoes.bundle/ ~/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/RottenTomatoes.bundle<br />


(That assumes your keeping the real bundle in your user Documents folder. You can change the first part to reflect wherever you decide to keep it.)



Where in Plex Online is this available? I'm not seeing it anywhere.

Thanks!

Does anyone know how to fix an incorrect match? I am trying to match the movie ‘Carlos (2010)’, but it seems as though the IMBD id points to the wrong listing on RT.



The correct info on the IMDB is here: http://www.imdb.com/title/tt1321865/



If we use the IMDB id as per the way the agent works, it takes us to this page on RT: http://www.rottentomatoes.com/alias?type=imdbid&s=1321865



The problem is that is the incorrect listing, and only for part one of the film.



The correct listing on RT is here: http://www.rottentomatoes.com/m/carlos_2010/



Any ideas on how to match and pull the correct rating, metadata, etc.?



Hi Raindancing, enabling the preferences option for agents seems to be possible. They did it with the moviepilot agent. Check this screenshot:

I already did that last week, I sent Sander a pull request, but forgot to send a pm or email letting him know about it (I don't think github does any automatic notifying if you don't log in to the website).

If you don't have automatic updates enabled you can download it [from here](https://github.com/plexinc-agents/RottenTomatoes.bundle).


I already did that last week, I sent Sander a pull request, but forgot to send a pm or email letting him know about it (I don't think github does any automatic notifying if you don't log in to the website).

If you don't have automatic updates enabled you can download it [from here](https://github.com/plexinc-agents/RottenTomatoes.bundle).


Thanks. I have automatic updates on, but apparently they stopped working a week or so ago. Getting tons of errors in my logs when Plex tries to update. Anyways, I will just grab the bundle from your link. Thanks a lot!