http://www.binarni.net/htdocs/images/belalogo.png

"Bela Lugosi" are sets of scripts that helps me organise my movie collection.

Thumbnail

Thumbnail is a Ruby script that creates thumbnails preview from your video files. It uses mplayer for processing and is pretty cool because you can use more then one video input file (if your video is split in couple of parts).

 thumbnail.rb [options] <input files>

 --output       <output file>
 --cols         <columns>
 --rows         <rows>
 --thumb-width  <width>
 --thumb-height <height>
 --hide-time
 --time-font    <font name>
 --time-color   <color>
 --time-size    <size>

Output example

http://www.binarni.net/htdocs/images/output.png

Dependencies

  • Ruby
  • RMagick
  • MPlayer

Drupal moviedb

These are two scripts what i use to populate my movie database in Drupal (with installed moviedb module). For some time i was tyring to find some good enough solution for my movie collection. At the end i started to use "moviedb" module in Drupal and i have to say i am satisfied. I use "fivestar" module to rate my movies and have changed a "moviedb" source and template a bit.

I wrote 2 scripts to help me populate my local database with data from imdb.com. Right now, i am just a bit lazy to find out how to (outside of drupal) create new nodes and etc (to populate director, actor and other fields)

synopsis.py

it fetches synopsis from the imdb.com site according to the entered imdb unique id

images.py

it grabs cover image for the movie, downloads it localy and sets the correct path in the moviedb database

Dependencies

  • Python
  • imdb module
  • mysql module
  • drupal + moviedb module

Source