Files
renamer/pyproject.toml
sHa 9a78dc2540 Add TMDBExtractor class for movie information extraction
- Implement TMDBExtractor to fetch movie details from The Movie Database (TMDB) API.
- Include caching mechanism for API responses to reduce redundant requests.
- Extract movie database ID from filenames using regex patterns.
- Add methods to extract TMDB ID, title, original title, release year, and TMDB URL.
- Create secrets.py to store TMDB API key and access token.
- Add a sample MKV file for testing purposes.
2025-12-28 09:02:42 +00:00

31 lines
665 B
TOML

[project]
name = "renamer"
version = "0.4.1"
description = "Terminal-based media file renamer and metadata viewer"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"mutagen>=1.47.0",
"textual>=6.11.0",
"python-magic>=0.4.27",
"pymediainfo>=6.0.0",
"pytest>=7.0.0",
"langcodes>=3.5.1",
"requests>=2.31.0",
]
[project.scripts]
renamer = "renamer.main:main"
bump-version = "renamer.bump:main"
release = "renamer.release:main"
[tool.uv]
package = true
[tool.pytest.ini_options]
addopts = "--strict-markers"
testpaths = ["renamer/test"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]