[REL] Open Movie Database


#1

Metadata Agent for Open Movie Database

This is a Metadata Agent for the Open Movie Database. It uses the existing Freebase Agent to lookup the IMDb id, then retrieves movie info from Open Movie Database. The Agent will get the following information (English only!): title, year, MPAA rating, release date, genres, directors, writers, actors, plot, rating (IMDb and/or Tomatometer), duration and poster.


 


Since people keep asking the same questions over and over again, please note:


  1. This is NOT an IMDb Agent, the data is not coming from IMDb (not directly at least).

  2. Ratings may be different from what you see on the IMDb website, because [see #1].

  3. Ratings are expressed as a number between 0 and 10, but most Plex clients display 0 to 5 stars (3 stars = 6, 3.5 stars = 7, etc.). This Agent just retrieves the values, it can't do anything about how this is displayed.

  4. This Agent works with the Plex Media Server, it is of no use to you if you have just access to a shared library.

Download: https://github.com/haeY/OpenMovieDatabase.bundle/archive/master.zip

Source: https://github.com/haeY/OpenMovieDatabase.bundle

Installation


  • Unzip the downloaded ZIP file, this gives you a file/folder with the name OpenMovieDatabase.bundle-master. Rename the folder to OpenMovieDatabase.bundle

  •  
    • Mac
      • Move OpenMovieDatabase.bundle to ~/Library/Application Support/Plex Media Server/Plug-ins. The easiest way to find this folder is to use the Go to folder... option in the Go menu of the Finder.
        48377923.png
        ~ is your home folder. If you can't find your Library folder, have a look at OS X Lion: Where did my Library go?


    • Windows
      • Move OpenMovieDatabase.bundle to the Plug-ins folder: right-click the Plex Media Server icon in the system tray and open the Plug-ins folder
        screenshot20121221at161.jpg


    • Linux (Ubuntu)
      • Move OpenMovieDatabase.bundle to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins

      • cd "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins"

      • sudo chown -R plex:plex OpenMovieDatabase.bundle



  • Restart Plex Media Server

    On Mac and Windows: just quit and start again

    On Linux (Ubuntu): sudo service plexmediaserver restart

  • Open Plex/Web and go to Settings. Go to Agents, select Movies, then Freebase. You can change the order of Agents by dragging the items in the list to another position.

xyz.png


#2

great first post. hope the second rocks too. Don't forget to Shift-Refresh.


#3

Forgive my ignorance, but does this mean we can get IMDB info using this?



Also can you tell me how to install it please, I am a bit of a donkey when it comes to these things.



Cheers


#4

[quote name='Pioneer' timestamp='1293681122' post='134696']


Forgive my ignorance, but does this mean we can get IMDB info using this?



Also can you tell me how to install it please, I am a bit of a donkey when it comes to these things.



Cheers

[/quote]




Just doubleclick the plexapp file to install.


#5

So how does this compare to Rotten tomatoes?


#6

Wow, thank you very much! Will we still get taglines and studios if this is at the top?


#7

Looks like imdbapi.com is down.. Wonder if we're the culprits? heh


#8

[quote name='squirrellydw' timestamp='1293823274' post='135122']


So how does this compare to Rotten tomatoes?

[/quote]


The Rotten Tomatoes agent gets info on rating, summary and genres from the Rotten Tomatoes website. See the updated start post for what info my agent retrieves.


#9

[quote name='Russ' timestamp='1293825865' post='135127']


Wow, thank you very much! Will we still get taglines and studios if this is at the top?

[/quote]


Yes, you will. All the information my agent skips can be filled in by other agents that are lower on the list.


#10

Updated version in first post:

- checks if there is a response (Response == "True" in the returned json)

- added a couple of seconds sleep time for each lookup (to lower the load on the website)


#11

Just tested out on a few movies, and it worked beautifully! Thank you again. I'm sure this will make a lot of users very happy :)


#12

Thanks for the agent! It works good. A little feedback:



I tried it for the movie El Aura. I noticed that the tagline is inserted in the summary field instead of the tagline field. That also would leave room to insert the 'storyline' field of IMDB into Plex' 'summary' field.



The director/writer of the film is Fabián Bielinsky. In the 'writer' field everything goes right. In the 'director' field there is some trouble with the á of Fabián.



For the rest: thanks very much!


#13

yea i also noticed it has problems with movies that have "unusual" letters such as éàè etc.


#14

New version again, this one also takes the poster from IMDb thanks to the IMDb API developer who added this feature today!


#15

[quote name='gassie' timestamp='1293988580' post='135426']


Thanks for the agent! It works good. A little feedback:



I tried it for the movie El Aura. I noticed that the tagline is inserted in the summary field instead of the tagline field. That also would leave room to insert the 'storyline' field of IMDB into Plex' 'summary' field.



The director/writer of the film is Fabián Bielinsky. In the 'writer' field everything goes right. In the 'director' field there is some trouble with the á of Fabián.



For the rest: thanks very much!

[/quote]


Hi! What you thought was the tagline is probably just a very short summary ("A deluded taxidermist plans the perfect crime."). My agent doesn't do taglines (the info is not available in the API).

The character problem is something I can't do much about. I wrote the API author, so we have to wait for a bit to see if it gets fixed. Info about writers doesn't come from the API, so the info you're seeing there is retrieved by another agent.


#16

[quote name='Yeah' timestamp='1294024569' post='135581']


Hi! What you thought was the tagline is probably just a very short summary ("A deluded taxidermist plans the perfect crime."). My agent doesn't do taglines (the info is not available in the API).

The character problem is something I can't do much about. I wrote the API author, so we have to wait for a bit to see if it gets fixed. Info about writers doesn't come from the API, so the info you're seeing there is retrieved by another agent.

[/quote]




Hi, thanks for you reply. I did a check and found out that there is a difference between the 'plot' and the 'full summary'. The Plot at IMDB is always 1 sentence and the full summary is usually one or two paragraphs of text.



The plot can be found here. (look for the sentence behind 'plot')

http://www.imdb.com/title/tt0420509/combined



The full summary here.

http://www.imdb.com/title/tt0420509/plotsummary



If you look at the main page (http://www.imdb.com/title/tt0420509/), the plot-sentence comes back in the head of the content section and the full summary can be found in the 'storyline' section. Why they call that section Storyline on the main page and Full Summary on the deeper page is unclear to me, but for sure there is a difference between the single-sentence plot and the summary.



Don't you agree that the single-sentence plot is more in place at Plex' tagline and the full summary more at Plex' summary field?



By the way I did a check on some random other movies and it goes for them also.

Memento: http://www.imdb.com/title/tt0209144/

Pulp Fiction: http://www.imdb.com/title/tt0110912/

The Sting: http://www.imdb.com/title/tt0070735/



Cheers,

Gassie


#17

Download link in first post doesn't work for me?


#18

Ah, I checked out the imdbapi.com site and found out that it parses only only the 'plot' and not the 'full summary' yet.


#19

Hi, this looks like the holy grail of agents, but unfortunately, it doesn't work at all for me. I put it on top of all other agents, but it is not pulling any info from IMDB. At least the movie plot is still coming from elsewhere, and I think so are the ratings.



Any ideas?


#20

[quote name='Yeah' timestamp='1294024569' post='135581']


Hi! What you thought was the tagline is probably just a very short summary ("A deluded taxidermist plans the perfect crime."). My agent doesn't do taglines (the info is not available in the API).

The character problem is something I can't do much about. I wrote the API author, so we have to wait for a bit to see if it gets fixed. Info about writers doesn't come from the API, so the info you're seeing there is retrieved by another agent.

[/quote]




It looks like because of the character problem the response is not right:

See http://www.imdbapi.com/?i=tt1245112

The director has a weird character in the name, and this seems to make the answer incomplete.



I have also put this link on his forum:

http://theimdbapi.betaeasy.com/thread/3485