GIMDB

GTK graphical interface for the Internet Movie DataBase.

Description

gimdb is a program that can browse the Internet Movie DataBase of Amazon. It is write in Ruby programming language and use the graphics library GTK. gimdb download the movies info that you request and save them in a local sqlite3 database.

You can create users and save for each of them the movies to see, movies seen and favourites movies. gimdb can also work in offline mode searching movies in the local database.

gimdb may be useful if you don't know what movie see.

imdb.rb

For your purposes, you can use the IMDB class.

require 'rubygems'
require 'imdb'
require 'pp'

# Get a IMDB object to perform queries
searcher = IMDB.new

# Query the database
results = searcher.get_list()

# Query the database with options
results = searcher.get_list(:release_date => '2007,2010', :user_rating => '7,10')

# Print the results
pp results

# Get more movies with same query
results = searcher.next

Avaiable options are:

Requirements

Install

sudo apt-get install ruby1.8-dev
sudo apt-get install libxml2-dev
sudo apt-get install libxslt1-dev
sudo apt-get install libsqlite3-dev
sudo apt-get install rubygems
sudo gem install gimdb

remember also to add rubygems bin path to your PATH env variable. Edit ~/.bashrc and add the follow line:

PATH=$PATH:/var/lib/gems/1.8/bin

or download debian package here and install it:

sudo dpkg -i gimdb_0.0.6_all.deb

or add gimdb's repository in your apt sources list file

Docs

rdoc.info/projects/Pioz/gimdb

Support

You can use this email address for any questions or help: enrico@megiston.it.

Note on Patches/Pull Requests

Copyright

Copyright © 2010 Enrico Pilotto. See LICENSE for details.