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
srcalchemy can be installed by running pip install srcalchemy, 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/srcalchemy
Usage
To get started generate a configuration file
srcalchemy init
You can also run srcalchemy as a package if running as a script doesn't work
python3 -m srcalchemy init
After updating the generated configuration file. Collect all the information from Kodi
srcalchemy collect
Perform the rename
srcalchemy rename
Once all is done, you can delete the left over folders
srcalchemy 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
srcalchemy -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.
Disclaimer
srcalchemy is an independent, open-source utility developed for community use. It is not officially affiliated with, endorsed by, sponsored by, or representative of the XBMC Foundation, Kodi, Jellyfin, or any other media server platforms or entities mentioned herein.
All product names, logos, trademarks, and registered trademarks are property of their respective owners. The use of these names and trademarks within this project is solely for the purpose of identifying compatibility and describing the tool's functionality.
Metadata
Release files for srcalchemy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| srcalchemy-0.2.0.tar.gz | 77.6 kB | With provenance | Details for srcalchemy-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| srcalchemy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for srcalchemy-0.2.0-py3-none-any.whl |
Total release size: 100.8 kB
Release files / srcalchemy-0.2.0.tar.gz
| Download URL | srcalchemy-0.2.0.tar.gz |
|---|---|
| Size | 77.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f3dbf4583efe6b328b8674aa6d2c1908fea405ae120e9dc7a56800be377fa31
|
|
BLAKE2b-256 checksum How to use checksums |
6b884f6c0c8262af2930f497722c11635354b5199308e0d2e16b353c37a536ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitLab CI/CD, verified by PyPI on Nov 8, 2026.
Transparency logRelease files / srcalchemy-0.2.0-py3-none-any.whl
| Download URL | srcalchemy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
582cb476d10822235ddf46e6baf068ba0c3a596ee9217ea8fe7be6ddeece0a25
|
|
BLAKE2b-256 checksum How to use checksums |
7b3fbe6f13c45006fd78335a2c9fe8804a447715299b4ec26edd7a823d715081
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitLab CI/CD, verified by PyPI on Nov 8, 2026.
Transparency logSecurity for srcalchemy 0.2.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for srcalchemy-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitLab CI/CD, verified by PyPI on Nov 8, 2026.
Transparency logA 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.