Skip to main content

A script for renaming movies using the IMDb database

Project description

Overview

IMDbName is a console script that allows users to rename movie files intelligently using information from the IMDb database.

Installation

The recommended way to install IMDbName is with easy_install, as shown here (in a UNIX-like environment):

# easy_install imdbname

If easy_install is not available, IMDbName can also be installed using the setup.py file included in the distribution. Simply download the source distribution below, unarchive it, and run the setup script as follows:

# python setup.py install

Both options install both the IMDbName package in your Python site-packages directory, as well as the executable script (imdbname) in the setuptools script directory. In *nix systems, this is usually /usr/bin/.

Usage

Assuming the directory setuptools puts console scripts is part of your PATH, IMDbName can be run as follows:

$ imdbname [options] FILE1 [FILE2 FILE3 ...]

Where every FILE is a movie file to be renamed. The –help option shows all command line options, also listed here:

--version

Prints the program’s version number and exits.

-h, --help

Prints the program’s usage, description, and command line options, then exits.

--license

Prints the program’s license information and exits.

--verbose

Prints extra helpful information during program execution.

-a, --assume-correct

If only one exact title match is found, assume it is the correct movie and don’t prompt the user to verify.

-f FORMATSTRING, --format=FORMATSTRING

Allows the user to specify the format for the output filenames of the program, using the FORMATSTRING argument. See below for valid format specifiers [default: “%t (%y)”].

Format Specifiers

Conversion

Meaning

%t

Title (with ‘A’ or ‘The’ moved to the end)

%T

Title (without any changes)

%y

Year

%i

Numerical IMDb id

Changelog

0.1 (2010-01-03)

  • Initial release [jetheis]

  • All code conforms to PEP 8 standards [jetheis]

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

IMDbName-0.1.tar.gz (21.4 kB view details)

Uploaded Source

File details

Details for the file IMDbName-0.1.tar.gz.

File metadata

  • Download URL: IMDbName-0.1.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for IMDbName-0.1.tar.gz
Algorithm Hash digest
SHA256 678e9dfdb440765b1424b12abd36ee711470cc6640095029315ed3d1916ac826
MD5 025a7ee82cba0081300e8e76bd90722c
BLAKE2b-256 70d20a895e442617344e186fab452680c2ac925d314a8216bf394aa1687e6af3

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