Skip to main content

Rename tv show files using online databases

Project description

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

https://travis-ci.org/ghickman/tvrenamr.png

Install it straight from the PyPI:

pip 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

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.

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

tvrenamr-3.4.6.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

tvrenamr-3.4.6-py2.py3-none-any.whl (21.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tvrenamr-3.4.6.tar.gz.

File metadata

  • Download URL: tvrenamr-3.4.6.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tvrenamr-3.4.6.tar.gz
Algorithm Hash digest
SHA256 3c40d5901257e4ba74b15abb756a1b401d6825d1416afcb7b580c05845a5572a
MD5 2abff4be49caac943dbf3d551144095b
BLAKE2b-256 9fd099e664b044e368d6a4b3bbdf4c007512191b7cf6fbe02842b67de6a1e36f

See more details on using hashes here.

File details

Details for the file tvrenamr-3.4.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tvrenamr-3.4.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 55348d78ba4cf98fa96bd86b78032b7c117d1790ca41eb6e311a38c3946539ec
MD5 8e611d2e681498f978ce0f6f139b6b99
BLAKE2b-256 65b1c5a70d08c6871cfac04a9ea9f1a0aefc1b1b42a319a46a879aac062a406b

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