Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Kodi Rename

Latest Release pipeline status coverage report GitLab License Ruff Python Version from PEP 621 TOML

Utility for renaming video files from a kodi library.

Over the years of ripping my DVD collection into Kodi, I have not had the best practices with the naming of the files. Leading to a mess of naming schemes having files that will not parse and have had to manually update the information in Kodi.

Now with looking to update my home media setup and not having enough will power to manually update all of my collection. Here we are

Installation and usage

Installation

kodiRename can be installed by running pip install kodi-rename, It requires Python 3.11+ to run.

If you want the latest changes and want to install from Gitlab, use pip install git+https://gitlab.com/thedrunkencoder/kodi-rename

Usage

To get started generate a configuration file

kodiRename init

You can also run kodiRename as a package if running as a script doesn't work

python3 -m kodiRename init

After updating the generated configuration file. Collect all the information from Kodi

kodiRename collect

Perform the rename

kodiRename rename

Once all is done, you can delete the left over folders

kodiRename clean

Configuration

All configuration is provided via a TOML configuration file.

All the commands support providing the configuration file rather than loading the default location

kodiRename -c other_config.ini init

Future Ideas

Some idea that have been floating around in my head since starting to properly work on this project. That may or may not end up being integrated in.

Support for other media servers

Getting support for other media server such as Plex and JellyFin, as this issue is not limited to Kodi. This will most likely require a rewrite of the collector module to parse the APIs and parse the data into the correct format.

Integration with metadata providers

Collecting information from metadata providers such as TheTVDb to either expand on the options for naming media. Or rather than collecting the data from Kodi, attempting to parse from these databases so that the project could be used as the last step in a ripping/transcoding pipeline.

Contributing

Please feel free to open issues and merge requests if you encounter and issue or just want to help improve this project.

Metadata

Release files for kodi-rename 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kodi-rename 0.1.0
File Size Uploaded Provenance Actions
kodi_rename-0.1.0.tar.gz 75.4 kB Without provenance Details for kodi_rename-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kodi-rename 0.1.0
File Interpreter ABI Platform Actions
kodi_rename-0.1.0-py3-none-any.whl Python 3 none any Details for kodi_rename-0.1.0-py3-none-any.whl

Total release size: 98.3 kB

Release files / kodi_rename-0.1.0.tar.gz

Download URL kodi_rename-0.1.0.tar.gz
Size 75.4 kB
Tags Source
SHA-256 checksum
How to use checksums
264a285cab433127c1e343901dfb64effb0180b03147bdfd8dd0771653ffd2a8
BLAKE2b-256 checksum
How to use checksums
8ceb0f87bca10a0ae880145627010c2fbd1d2a4698da12cd691dfb40ffd60027
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / kodi_rename-0.1.0-py3-none-any.whl

Download URL kodi_rename-0.1.0-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba1ba2e0ce8ff721e63b3bb7cb5cd63a71ada8418e1fff50d8fbab98a7c1da36
BLAKE2b-256 checksum
How to use checksums
f9ba2a83cc698ce7626e6224b34dcd8308ec669f6c1b2308af2a5e97279e3d3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.15.2

Security for kodi-rename 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page