Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Rename tv show files using online databases

Project Description

TV Renamr is a utility to rename TV shows based upon filenames or user input.

Install it straight from the PyPI:

pipsi install tvrenamr

Run it from the command line:

$ tvr file

$ tvr folder

You want moar docs? Here you go.

Found an issue? Raise a bug!

Changelog

v4.4.0

  • Add option to copy files to destination thanks to @ata2001

v4.3.1

  • Fix debug logging thanks to @ymage

v4.3.0

  • Add symlink option support to the config thanks to @ata2001
  • Fix –[no-]organise & –the arg parsing support thanks to @ata2001

v4.2.1

  • Symlink bugfix for Windows thanks to @ata2001

v4.2.0

  • Symlink support fixes for Windows & Python 2 thanks to @ata2001

v4.1.0

  • Add symlink support thanks to @ata2001

v3.6.2

  • Fix incorrect usage of config.get left over from previous fixes

v3.6.1

  • Fix incorrect usage of get_config

v3.6.0

  • Vendor dependencies
  • Harden XML with defusedxml
  • Switch to py.test for testing
  • Rework frontend code for easier testing

v3.5.0

  • Remove requirement on config

v3.4.11

  • Fix bug when logging episode number that had been overridden

v3.4.10

  • Fix bug with organise directory when no config is present

v3.4.9

  • Fix 1080[p] and [Hh].264 breaking the season & episode searching regular expression

v3.4.8

  • Fix ignored file list option default

v3.4.7

  • Enable passing files and folders as paths to rename

v3.4.6

  • Append to main log file instead of overwriting it
  • Add some sane defaults for rotating the log file

v3.4.5

  • Handle unicode in episode names

v3.4.4

  • Fix specifying an episode on the command line

v3.4.3

  • Improve the code that checks if tvr has everything needed to rename a file
  • Handle seasons & episodes as numbers internally

v3.4.2

  • Fix renaming shows with 720[p] in the filename

v3.4.1

  • Fix partial regex support

v3.4.0

  • Fix python 3 support in the tests
  • Show IDs are now cached, cutting web requests by 50% for the majority of renames
  • Tentative multiple episode file support. Hope to improve this over time
  • Fix custom output format so it can use custom regex syntax

v3.3.3

  • Add python 3 support!
  • Fix python 2.6 support

v3.3.2

  • Return destination filepath from a rename (useful for libs)

v3.3.1

  • Tidy up so it can be used as a library too

v3.2.0

  • Remove lxml and thus it’s C building dependencies
  • Tidy up the tests
  • Clean up the library fallback logic and it’s error handling

v3.1.0

  • Show unhandled exceptions
  • Provide a default filenmae format to fall back to
  • Use Requests instead of urllib2
  • Thanks to sampsyo for his work on this release

v3.0.3

  • Add documentation and push to Read the Docs
  • Fix another silly typo. Regretting the state of the tests now…

v3.0.2

  • Fix a silly naming bug that broke everything and brown bagged the last release.

v3.0.1

  • Allow the use of apostrophes in the show name regular expression
  • Allow the use of hypen as a delimiter in the filename regular expression.
  • Clean up the interface to the episode object for use in the front end.
  • Use the correct variable name when retrieving the show name from an episode object.
  • Give more sensible output when the config’s defaults are missing.
  • Return the correct error code when exiting from an error.

v3.0.0

  • 720p episodes can now be renamed.
  • Fallback to the other library if the first one can’t find a tv show or episode. This feature also adds better support for new libraries.
  • Added a command line option to override the show name when output to the filename.
  • Can use foward slashes allowed in show names and episode titles.
  • Use lxml as the xml library and add an extra check for empty xml files being returned from the library.
  • Use an episode object to hold an episode’s information during the rename process.
Release History

Release History

This version
History Node

4.4.0

History Node

4.3.1

History Node

4.3.0

History Node

4.2.1

History Node

4.2.0

History Node

4.1.0

History Node

4.0.1

History Node

4.0.0

History Node

3.6.2

History Node

3.6.1

History Node

3.6.0

History Node

3.5.0

History Node

3.4.11

History Node

3.4.10

History Node

3.4.9

History Node

3.4.8

History Node

3.4.7

History Node

3.4.6

History Node

3.4.5

History Node

3.4.4

History Node

3.4.3

History Node

3.4.2

History Node

3.4.1

History Node

3.4.0

History Node

3.3.3

History Node

3.3.2

History Node

3.3.1

History Node

3.3

History Node

3.2.1

History Node

3.2.0

History Node

3.1.0

History Node

3.0.3

History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

2.2.7

History Node

2.2.6

History Node

2.2.5

History Node

2.2.4

History Node

2.2.3

History Node

2.2.2

History Node

2.2.1

History Node

2.2.0

History Node

2.1.4

History Node

2.1.3

History Node

2.1.2

History Node

2.1.1

History Node

2.1

History Node

2.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tvrenamr-4.4.0-py3-none-any.whl (386.8 kB) Copy SHA256 Checksum SHA256 py3 Wheel Apr 13, 2017
tvrenamr-4.4.0.tar.gz (17.0 kB) Copy SHA256 Checksum SHA256 Source Apr 13, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting