mkv-episode-matcher 0.4.0__tar.gz → 0.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/.coverage +0 -0
  2. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/PKG-INFO +5 -6
  3. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/README.md +4 -5
  4. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/docs/installation.md +8 -5
  5. mkv_episode_matcher-0.4.1/mkv_episode_matcher/__init__.py +9 -0
  6. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/__main__.py +8 -1
  7. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher.egg-info/PKG-INFO +5 -6
  8. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/setup.cfg +1 -1
  9. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/uv.lock +30 -1
  10. mkv_episode_matcher-0.4.0/mkv_episode_matcher/__init__.py +0 -1
  11. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/.gitattributes +0 -0
  12. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/.github/funding.yml +0 -0
  13. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/.github/workflows/documentation.yml +0 -0
  14. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/.github/workflows/python-publish.yml +0 -0
  15. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/.github/workflows/tests.yml +0 -0
  16. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/.gitignore +0 -0
  17. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/.gitmodules +0 -0
  18. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/.python-version +0 -0
  19. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/.vscode/settings.json +0 -0
  20. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/docs/api/index.md +0 -0
  21. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/docs/cli.md +0 -0
  22. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/docs/configuration.md +0 -0
  23. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/docs/quickstart.md +0 -0
  24. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/docs/tips.md +0 -0
  25. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkdocs.yml +0 -0
  26. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/.gitattributes +0 -0
  27. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/config.py +0 -0
  28. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/episode_identification.py +0 -0
  29. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/episode_matcher.py +0 -0
  30. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/libraries/pgs2srt/.gitignore +0 -0
  31. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/libraries/pgs2srt/Libraries/SubZero/SubZero.py +0 -0
  32. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/libraries/pgs2srt/Libraries/SubZero/dictionaries/data.py +0 -0
  33. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/libraries/pgs2srt/Libraries/SubZero/post_processing.py +0 -0
  34. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/libraries/pgs2srt/README.md +0 -0
  35. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/libraries/pgs2srt/__init__.py +0 -0
  36. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/libraries/pgs2srt/imagemaker.py +0 -0
  37. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/libraries/pgs2srt/pgs2srt.py +0 -0
  38. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/libraries/pgs2srt/pgsreader.py +0 -0
  39. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/libraries/pgs2srt/requirements.txt +0 -0
  40. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/mkv_to_srt.py +0 -0
  41. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/speech_to_text.py +0 -0
  42. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/subtitle_utils.py +0 -0
  43. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/tmdb_client.py +0 -0
  44. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher/utils.py +0 -0
  45. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher.egg-info/SOURCES.txt +0 -0
  46. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher.egg-info/dependency_links.txt +0 -0
  47. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher.egg-info/entry_points.txt +0 -0
  48. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher.egg-info/requires.txt +0 -0
  49. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/mkv_episode_matcher.egg-info/top_level.txt +0 -0
  50. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/pyproject.toml +0 -0
  51. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/setup.py +0 -0
  52. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/tests/__init__.py +0 -0
  53. {mkv_episode_matcher-0.4.0 → mkv_episode_matcher-0.4.1}/tests/test_main.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mkv-episode-matcher
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: The MKV Episode Matcher is a tool for identifying TV series episodes from MKV files and renaming the files accordingly.
5
5
  Home-page: https://github.com/Jsakkos/mkv-episode-matcher
6
6
  Author: Jonathan Sakkos
@@ -67,7 +67,7 @@ Automatically match and rename your MKV TV episodes using The Movie Database (TM
67
67
  - Python 3.9 or higher
68
68
  - [FFmpeg](https://ffmpeg.org/download.html) installed and available in system PATH
69
69
  - [Tesseract OCR](https://github.com/UB-Mannheim/tesseract/wiki) installed (required for image-based subtitle processing)
70
- - TMDb API key
70
+ - TMDb API key (optional, for subtitle downloads)
71
71
  - OpenSubtitles account (optional, for subtitle downloads)
72
72
 
73
73
  ## Quick Start
@@ -83,10 +83,6 @@ pip install mkv-episode-matcher
83
83
  mkv-match --show-dir "path/to/your/show"
84
84
  ```
85
85
 
86
- ## Documentation
87
-
88
- Full documentation is available at [https://jsakkos.github.io/mkv-episode-matcher/](https://jsakkos.github.io/mkv-episode-matcher/)
89
-
90
86
  ## Directory Structure
91
87
 
92
88
  MKV Episode Matcher expects your TV shows to be organized as follows:
@@ -136,3 +132,6 @@ Distributed under the MIT License. See `LICENSE` for more information.
136
132
  - [OpenSubtitles](https://www.opensubtitles.com/) for subtitle integration
137
133
  - All contributors who have helped improve this project
138
134
 
135
+ ## Documentation
136
+
137
+ Full documentation is available at [https://jsakkos.github.io/mkv-episode-matcher/](https://jsakkos.github.io/mkv-episode-matcher/)
@@ -27,7 +27,7 @@ Automatically match and rename your MKV TV episodes using The Movie Database (TM
27
27
  - Python 3.9 or higher
28
28
  - [FFmpeg](https://ffmpeg.org/download.html) installed and available in system PATH
29
29
  - [Tesseract OCR](https://github.com/UB-Mannheim/tesseract/wiki) installed (required for image-based subtitle processing)
30
- - TMDb API key
30
+ - TMDb API key (optional, for subtitle downloads)
31
31
  - OpenSubtitles account (optional, for subtitle downloads)
32
32
 
33
33
  ## Quick Start
@@ -43,10 +43,6 @@ pip install mkv-episode-matcher
43
43
  mkv-match --show-dir "path/to/your/show"
44
44
  ```
45
45
 
46
- ## Documentation
47
-
48
- Full documentation is available at [https://jsakkos.github.io/mkv-episode-matcher/](https://jsakkos.github.io/mkv-episode-matcher/)
49
-
50
46
  ## Directory Structure
51
47
 
52
48
  MKV Episode Matcher expects your TV shows to be organized as follows:
@@ -96,3 +92,6 @@ Distributed under the MIT License. See `LICENSE` for more information.
96
92
  - [OpenSubtitles](https://www.opensubtitles.com/) for subtitle integration
97
93
  - All contributors who have helped improve this project
98
94
 
95
+ ## Documentation
96
+
97
+ Full documentation is available at [https://jsakkos.github.io/mkv-episode-matcher/](https://jsakkos.github.io/mkv-episode-matcher/)
@@ -35,9 +35,12 @@ For GPU acceleration (recommended if you have a CUDA-capable GPU):
35
35
  ```bash
36
36
  pip install "mkv-episode-matcher"
37
37
  ```
38
- Find the appropriate CUDA version and upgrade Torch (e.g., for CUDA 12.4):
38
+ Find the appropriate CUDA version and upgrade Torch (e.g., for CUDA 12.4) from the [compatibility matrix](https://pytorch.org/get-started/locally/):
39
39
  ```bash
40
40
  pip install -U torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
41
+
42
+ # Verify GPU availability
43
+ mkv-match --check-gpu true
41
44
  ```
42
45
 
43
46
 
@@ -54,13 +57,12 @@ cd mkv-episode-matcher
54
57
  pip install uv
55
58
 
56
59
  # Install with development dependencies
57
- uv venv
58
- uv pip install -e ".[dev]"
60
+ uv sync --dev
59
61
  ```
60
62
 
61
63
  ## API Keys Setup
62
64
 
63
- 1. **TMDb API Key**
65
+ 1. **TMDb API Key (Optional)**
64
66
  - Create an account at [TMDb](https://www.themoviedb.org/)
65
67
  - Go to your account settings
66
68
  - Request an API key
@@ -87,12 +89,13 @@ Verify your installation:
87
89
  mkv-match --version
88
90
 
89
91
  # Check GPU availability (if installed with GPU support)
90
- python -c "import torch; print(f'GPU available: {torch.cuda.is_available()}')"
92
+ mkv-match --check-gpu true
91
93
  ```
92
94
 
93
95
  ## Troubleshooting
94
96
 
95
97
  If you encounter any issues:
98
+
96
99
  1. Ensure you have the latest pip: `pip install --upgrade pip`
97
100
  2. For GPU installations, verify CUDA is properly installed
98
101
  3. Check the [compatibility matrix](https://pytorch.org/get-started/locally/) for PyTorch and CUDA versions
@@ -0,0 +1,9 @@
1
+ """MKV Episode Matcher package."""
2
+ from importlib.metadata import version, PackageNotFoundError
3
+
4
+ try:
5
+ __version__ = version("mkv-episode-matcher")
6
+ except PackageNotFoundError:
7
+ # package is not installed
8
+ __version__ = "unknown"
9
+
@@ -1,9 +1,10 @@
1
1
  # __main__.py
2
2
  import argparse
3
3
  import os
4
+ import sys
4
5
 
5
6
  from loguru import logger
6
-
7
+ from mkv_episode_matcher import __version__
7
8
  from mkv_episode_matcher.config import get_config, set_config
8
9
 
9
10
  # Log the start of the application
@@ -62,6 +63,12 @@ def main():
62
63
 
63
64
  # Parse command-line arguments
64
65
  parser = argparse.ArgumentParser(description="Process shows with TMDb API")
66
+ parser.add_argument(
67
+ "--version",
68
+ action="version",
69
+ version=f"%(prog)s {__version__}",
70
+ help="Show the version number and exit"
71
+ )
65
72
  parser.add_argument("--tmdb-api-key", help="TMDb API key")
66
73
  parser.add_argument("--show-dir", help="Main directory of the show")
67
74
  parser.add_argument(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mkv-episode-matcher
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: The MKV Episode Matcher is a tool for identifying TV series episodes from MKV files and renaming the files accordingly.
5
5
  Home-page: https://github.com/Jsakkos/mkv-episode-matcher
6
6
  Author: Jonathan Sakkos
@@ -67,7 +67,7 @@ Automatically match and rename your MKV TV episodes using The Movie Database (TM
67
67
  - Python 3.9 or higher
68
68
  - [FFmpeg](https://ffmpeg.org/download.html) installed and available in system PATH
69
69
  - [Tesseract OCR](https://github.com/UB-Mannheim/tesseract/wiki) installed (required for image-based subtitle processing)
70
- - TMDb API key
70
+ - TMDb API key (optional, for subtitle downloads)
71
71
  - OpenSubtitles account (optional, for subtitle downloads)
72
72
 
73
73
  ## Quick Start
@@ -83,10 +83,6 @@ pip install mkv-episode-matcher
83
83
  mkv-match --show-dir "path/to/your/show"
84
84
  ```
85
85
 
86
- ## Documentation
87
-
88
- Full documentation is available at [https://jsakkos.github.io/mkv-episode-matcher/](https://jsakkos.github.io/mkv-episode-matcher/)
89
-
90
86
  ## Directory Structure
91
87
 
92
88
  MKV Episode Matcher expects your TV shows to be organized as follows:
@@ -136,3 +132,6 @@ Distributed under the MIT License. See `LICENSE` for more information.
136
132
  - [OpenSubtitles](https://www.opensubtitles.com/) for subtitle integration
137
133
  - All contributors who have helped improve this project
138
134
 
135
+ ## Documentation
136
+
137
+ Full documentation is available at [https://jsakkos.github.io/mkv-episode-matcher/](https://jsakkos.github.io/mkv-episode-matcher/)
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = mkv_episode_matcher
3
- version = 0.4.0
3
+ version = 0.4.1
4
4
  author = Jonathan Sakkos
5
5
  author_email = jonathansakkos@gmail.com
6
6
  description = The MKV Episode Matcher is a tool for identifying TV series episodes from MKV files and renaming the files accordingly.
@@ -2,19 +2,49 @@ version = 1
2
2
  requires-python = ">=3.9"
3
3
  resolution-markers = [
4
4
  "(python_full_version >= '3.12' and platform_machine != 'aarch64' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra == 'extra-19-mkv-episode-matcher-cu124') or (python_full_version >= '3.12' and sys_platform != 'linux' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra == 'extra-19-mkv-episode-matcher-cu124')",
5
+ "python_version < '0'",
6
+ "python_version < '0'",
5
7
  "(python_full_version >= '3.10' and python_full_version < '3.12' and platform_machine != 'aarch64' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra == 'extra-19-mkv-episode-matcher-cu124') or (python_full_version >= '3.10' and python_full_version < '3.12' and sys_platform != 'linux' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra == 'extra-19-mkv-episode-matcher-cu124')",
8
+ "python_version < '0'",
9
+ "python_version < '0'",
6
10
  "(python_full_version < '3.10' and platform_machine != 'aarch64' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra == 'extra-19-mkv-episode-matcher-cu124') or (python_full_version < '3.10' and sys_platform != 'linux' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra == 'extra-19-mkv-episode-matcher-cu124')",
11
+ "python_version < '0'",
12
+ "python_version < '0'",
7
13
  "python_full_version >= '3.12' and platform_machine == 'aarch64' and sys_platform == 'linux' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra == 'extra-19-mkv-episode-matcher-cu124'",
14
+ "python_version < '0'",
15
+ "python_version < '0'",
8
16
  "python_full_version >= '3.10' and python_full_version < '3.12' and platform_machine == 'aarch64' and sys_platform == 'linux' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra == 'extra-19-mkv-episode-matcher-cu124'",
17
+ "python_version < '0'",
18
+ "python_version < '0'",
9
19
  "python_full_version < '3.10' and platform_machine == 'aarch64' and sys_platform == 'linux' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra == 'extra-19-mkv-episode-matcher-cu124'",
20
+ "python_version < '0'",
21
+ "python_version < '0'",
22
+ "python_version < '0'",
10
23
  "(python_full_version >= '3.12' and platform_machine != 'aarch64' and sys_platform == 'linux' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124') or (python_full_version >= '3.12' and sys_platform != 'darwin' and sys_platform != 'linux' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124')",
24
+ "python_version < '0'",
25
+ "python_version < '0'",
11
26
  "(python_full_version >= '3.10' and python_full_version < '3.12' and platform_machine != 'aarch64' and sys_platform == 'linux' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124') or (python_full_version >= '3.10' and python_full_version < '3.12' and sys_platform != 'darwin' and sys_platform != 'linux' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124')",
27
+ "python_version < '0'",
28
+ "python_version < '0'",
12
29
  "(python_full_version < '3.10' and platform_machine != 'aarch64' and sys_platform == 'linux' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124') or (python_full_version < '3.10' and sys_platform != 'darwin' and sys_platform != 'linux' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124')",
30
+ "python_version < '0'",
31
+ "python_version < '0'",
13
32
  "(python_full_version >= '3.12' and platform_machine == 'aarch64' and sys_platform == 'linux' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124') or (python_full_version >= '3.12' and sys_platform == 'darwin' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124')",
33
+ "python_version < '0'",
34
+ "python_version < '0'",
14
35
  "(python_full_version >= '3.10' and python_full_version < '3.12' and platform_machine == 'aarch64' and sys_platform == 'linux' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124') or (python_full_version >= '3.10' and python_full_version < '3.12' and sys_platform == 'darwin' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124')",
36
+ "python_version < '0'",
37
+ "python_version < '0'",
15
38
  "(python_full_version < '3.10' and platform_machine == 'aarch64' and sys_platform == 'linux' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124') or (python_full_version < '3.10' and sys_platform == 'darwin' and extra == 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124')",
39
+ "python_version < '0'",
40
+ "python_version < '0'",
41
+ "python_version < '0'",
16
42
  "python_full_version >= '3.12' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124'",
43
+ "python_version < '0'",
44
+ "python_version < '0'",
17
45
  "python_full_version >= '3.10' and python_full_version < '3.12' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124'",
46
+ "python_version < '0'",
47
+ "python_version < '0'",
18
48
  "python_full_version < '3.10' and extra != 'extra-19-mkv-episode-matcher-cpu' and extra != 'extra-19-mkv-episode-matcher-cu124'",
19
49
  ]
20
50
  conflicts = [[
@@ -436,7 +466,6 @@ wheels = [
436
466
 
437
467
  [[package]]
438
468
  name = "mkv-episode-matcher"
439
- version = "0.3.6.post1.dev2+ged28bc0.d20250122"
440
469
  source = { editable = "." }
441
470
  dependencies = [
442
471
  { name = "configparser" },