Freevo

- Index
- IMDBPlugin

# MoviePlugins/IMDBPlugin

## IMDB Plugin

This is a plugin to create movie fxd files (see Movie FXD files)

This plugin is currently broken because the imdb site had some changes. It will be fixed in freevo 1.5.3. this weekend. The fix is already in cvs. If you want to get the upcoming freevo 1.5.3 release from cvs :

    cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/freevo login
    cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/freevo co -r rel-1-5 freevo

To activate this plugin add this to your local_conf.py:

    plugin.activate('video.imdb')

There are some options for this plugin, you can change these in local_conf.py:

    # list of regexp to be ignored on a disc label
    IMDB_REMOVE_FROM_LABEL = ('season[\._ -][0-9]+', 'disc[\._ -][0-9]+',
                              'd[\._ -][0-9]+', 'german')

    # list of words to ignore when searching based on a filename
    IMDB_REMOVE_FROM_SEARCHSTRING = ('the', 'a')

    # When searching for a movie title in imdb, should the result be
    # autoaccepted if it is only one hit?
    # 0 = show menu even if it is only one hit (gives you an opportunity to cancel)
    # 1 = autoaccept
    IMDB_AUTOACCEPT_SINGLE_HIT = True

To use this plugin, select a movie press 'e' or 'enter' button on the remote and you will see an option to search info about this movie for the selected movie. A active internet conection is required of course.

You can also use imdb.py in the helpers directory.

How to use imdb.py is a bit non obvious. Firstly you need to look for your movie, lets say we want to get the data for 'Romancing the Stone'.

    %imdb.py -s romancing
    342943 Romancing Along (1937, Movie)
    0114293 Romancing Sara (1995, Movie)
    0088011 Romancing the Stone (1984, Movie)
    0093056 Fu xing jia qi (1987, Movie)
    0095404 Jing zhuong zhui nu zi zhi er (1988, Movie)
    0098217 Lang zhi yi zu (1989, Movie)

Now we can download the actual data into movies-data (you may need to add this directory)

    %imdb.py 0088011 movie-data/romance dvd

Use imdb.py --help to see more options

last edited 2005-01-10 20:18:51 by BHeremans
current version: http://freevo.sourceforge.net/cgi-bin/doc/MoviePlugins/IMDBPlugin