Skip to main content

Generate your own personal movie collection book

Project description

What is mymoviebook

It’s a script to generate your personal movie collection book.

This book is interactive and lets you find your movies quickly in a book with your prefered movie images.

This is a page of automatically generated movie collection:

[![Demo](https://raw.githubusercontent.com/Turulomio/mymoviebook/master/doc/demo.jpg)](https://raw.githubusercontent.com/Turulomio/mymoviebook/master/doc/demo.pdf)

Linux installation

If you use Gentoo, you can find the ebuild in https://github.com/turulomio/myportage/tree/master/media-video/mymoviebook

Or you can install with pypi, writing:

pip install mymoviebook

Or you can install from sources:

python3 setup.py install

You also need to install Latex in your distribution

Usage

MyMovieBook uses PostgreSQL database as its backend, so we must create a new database and load the schema needed. To do it we just have to input the next command:

mymoviebook –createdb

By default it uses mymoviebook database, but we can change database connection parameters with: * –user USER Postgresql user * –port PORT Postgresql server port * –server SERVER Postgresql server address * –db DB Postgresql database

MyMovieBook it’s prepared to create big books with thousands of films. So, in order to do this managemente easy, It’s very important that movies are placed in numbered directories with 6 movies and its 6 covers. Although it’s optional, I recommend to apped the year of the film to the end of the title.

For example, this is the content of a directory named /Films/7/

-rw-r–r– 1 user user 3096243290 ene 2 18:37 ‘Descalzos por el parque. 1967.avi’ -rw-r–r– 1 user user 98977 ene 2 09:08 ‘Descalzos por el parque. 1967.jpg’ -rw-r–r– 1 user user 101423 ene 2 09:07 ‘El diablo dijo no. 1943.jpg’ -rw-r–r– 1 user user 2066396474 ene 2 19:28 ‘El diablo dijo no. 1943.mkv’ -rw-r–r– 1 user user 136564 ene 2 10:43 ‘El disputado voto del señor Cayo. 1985.jpg’ -rw-r–r– 1 user user 1777303444 ene 2 19:32 ‘El disputado voto del señor Cayo. 1985.mkv’ -rw-r–r– 1 user user 1856114688 ene 2 20:00 ‘El estado de la unión. 1948.avi’ -rw-r–r– 1 user user 80461 ene 2 09:39 ‘El estado de la unión. 1948.jpg’ -rw-r–r– 1 user user 68861 ene 2 08:54 ‘El manantial. 1949.jpg’ -rw-r–r– 1 user user 2460711108 ene 2 18:29 ‘El manantial. 1949.mkv’ -rw-r–r– 1 user user 2026502144 ene 2 19:35 ‘En un lugar solitario. 1950.avi’ -rw-r–r– 1 user user 97493 ene 2 09:26 ‘En un lugar solitario. 1950.jpg’

We enter in the directory with

cd /Films/7

We add the directory movie information to the database automatically, with the following command

mymoviebook –insert

If we need other parameters to connect to our database we can use them too.

We can add as many directories as we want.

If our latex is working (pdflatex command is needed), after executing

mymoviebook –generate –output /home/user/mymoviebook.pdf

we get our movie collection book. This is the ![demo movie book](https://raw.githubusercontent.com/Turulomio/mymoviebook/master/doc/demo.pdf).

Dependencies

Changelog

1.4.0

  • Captured error pressing CTRL+C

  • Improved documentation and spanish translation

1.3.0

  • Added the number of films in report for each year. Fixes #12.

  • Now fimaffinity url is correctly encoded from name. Fixes #14.

  • Printing film title shows the year too

  • Added –createdb parameter to create a new database and load schema. Fixes #8.

1.2.1

  • Added png to MANIFEST

1.2.0

  • Spanish translation finished

  • Removed table of contents from book

  • Added filmaffinity querys clicking in covers

1.1.0

  • Add cover to the generated book

  • Removing large objects from database. Covers are now in a bytes field.

  • Added database update system

  • Changed project icons

  • Improved gettext translations

  • Basic ODT format support

1.0.0

  • Created a python package from my pdffilms.py script

0.10.0

  • Added the number of films in the list.

0.9.0

  • Fixed alphabetical sorting

  • Added refs to DVD from individual films

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mymoviebook-1.4.0.tar.gz (13.9 MB view details)

Uploaded Source

File details

Details for the file mymoviebook-1.4.0.tar.gz.

File metadata

  • Download URL: mymoviebook-1.4.0.tar.gz
  • Upload date:
  • Size: 13.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for mymoviebook-1.4.0.tar.gz
Algorithm Hash digest
SHA256 baa7f578ca44bfb1afd5eb19a1618b13546380178b1754ec1e3f2843d829b39b
MD5 4d0e9a6726e95b911f16e70dbe9b067e
BLAKE2b-256 acd774873adb55a8cc7e02b8690bba614847c435b4faaaf34293e06cf0b789a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page