🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

gimdb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gimdb

bundlerRubygems
Version
0.1.0
Version published
Maintainers
1
Created
Source

= GIMDB

GTK graphical interface for the Internet Movie DataBase.

== Description

gimdb is a program that can browse the {Internet Movie DataBase}[http://www.imdb.com/] of Amazon. It is write in Ruby programming language and use the graphics library GTK[http://www.gtk.org/]. gimdb download the movies info that you request and save them in a local sqlite3[http://www.sqlite.org/] 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.

{Screenshot}[https://github.com/downloads/pioz/gimdb/screenshot-GIMDB.png]

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:

  • title
  • release_date
  • user_rating
  • num_votes
  • genres
  • sort
  • start

== 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[http://github.com/downloads/pioz/gimdb/gimdb_0.0.6_all.deb] and install it:

sudo dpkg -i gimdb_0.0.6_all.deb

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

  • Import repository public key

    gpg --recv-keys c90a3577 gpg --export --armor c90a3577 | sudo apt-key add -

  • Add repository in your /etc/apt/sources.list adding follow line

    deb http://www.pioz.it/repository debian main

  • Update repositories

    sudo apt-get update

  • Install gimdb

    sudo apt-get install gimdb

== Docs

http://rdoc.info/projects/Pioz/gimdb

== Support

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

== Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

== Copyright

Copyright (c) 2010 Enrico Pilotto. See LICENSE[http://github.com/pioz/gimdb/blob/master/LICENSE] for details.

FAQs

Package last updated on 25 Sep 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts