Git Product home page Git Product logo

movietime's Introduction

Movietime

Movietime is a simple personal movie database, written in Ruby on Rails. You can specify local directories that will be checked for movies and matched with metadata and a poster images from IMDB.

Visit the project page here: Movietime project page

Screenshots

Main Screen Post lightbox

Features

  • different movie folders (Sources) to scan for new movies with a rake task can be defined
  • movie metadata and poster image can be fetched from IMDB
  • you can search for directors, cast members, sources, genres and other text in your database
  • you can specify the end time when filtering your movies, for example when you want to go to bed :)
  • IMDB page and trailers on YouTube are linked
  • movies are taged with IMDB tags
  • you can sort your search results by name, rating, movie length, year and creation date in your database

Installation

You can either download the latest source here: Movietime Source on GitHub as ZIP

Or you can checkout the code directly from the git repository:

git clone https://github.com/pbek/movietime.git -b develop

You will need ruby 1.9.3. So you can either visit the ruby webpage or use railsinstaller.

If you haven't installed the gem bundle do so:

cd movietime
sudo gem install bundle

then install all other gems with:

bundle install

If you are running into troubles with different ruby versions take a look at rvm. Install it and then do for example a:

rvm install ruby-1.9.3-p551

It should tell you to execute a line like this afterwards to use rvm, so don't forget to do that:

source ~/.rvm/scripts/rvm

Then run bundle install again to install all gems.

Now create the sqlite database with its tables and some data:

rake db:migrate
rake db:seed

Finally you can start your rails server:

rails s

It should tell you to open a webpage like this: http://0.0.0.0:3000/

Now click on Sources on the top and specify at least one directory where you store your movies (for example /home/patbek/Videos in my case). In this directory each movie has to have it's own directory.

Scanning for new movies in your movie folders

To add your latest movies to the database you can run this script:

rake movies:update_database[auto]

It will scan your movie folders (Sources) and look up the movies on IMDB for you.

Don't forget, every movie has to have it's own directory, so that the scanner can search for it properly, for example like this:

Videos/
├── Big Buck Bunny
│   └── BigBuckBunny_320x180.mp4
├── Elephants Dream
│   └── ED_1024.avi
└── Sintel
    └── sintel-1024-stereo.mp4

You can specify some search & replace patterns for your folder names in the section Directory Name Cleanup Patterns on the top.

Disclaimer

This SOFTWARE PRODUCT is provided by THE PROVIDER "as is" and "with all faults." THE PROVIDER makes no representations or warranties of any kind concerning the safety, suitability, lack of viruses, inaccuracies, typographical errors, or other harmful components of this SOFTWARE PRODUCT.

There are inherent dangers in the use of any software, and you are solely responsible for determining whether this SOFTWARE PRODUCT is compatible with your equipment and other software installed on your equipment. You are also solely responsible for the protection of your equipment and backup of your data, and THE PROVIDER will not be liable for any damages you may suffer in connection with using, modifying, or distributing this SOFTWARE PRODUCT.

movietime's People

Contributors

pbek avatar

Watchers

James Cloos avatar Kaatem Mohamed avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.