mkv-episode-matcher 0.3.1__py3-none-any.whl → 0.3.2__py3-none-any.whl
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.
Potentially problematic release.
This version of mkv-episode-matcher might be problematic. Click here for more details.
- mkv_episode_matcher/episode_identification.py +2 -2
- mkv_episode_matcher/episode_matcher.py +2 -2
- {mkv_episode_matcher-0.3.1.dist-info → mkv_episode_matcher-0.3.2.dist-info}/METADATA +1 -1
- {mkv_episode_matcher-0.3.1.dist-info → mkv_episode_matcher-0.3.2.dist-info}/RECORD +7 -7
- {mkv_episode_matcher-0.3.1.dist-info → mkv_episode_matcher-0.3.2.dist-info}/WHEEL +0 -0
- {mkv_episode_matcher-0.3.1.dist-info → mkv_episode_matcher-0.3.2.dist-info}/entry_points.txt +0 -0
- {mkv_episode_matcher-0.3.1.dist-info → mkv_episode_matcher-0.3.2.dist-info}/top_level.txt +0 -0
|
@@ -11,11 +11,11 @@ import json
|
|
|
11
11
|
import shutil
|
|
12
12
|
|
|
13
13
|
class EpisodeMatcher:
|
|
14
|
-
def __init__(self, cache_dir, min_confidence=0.6):
|
|
14
|
+
def __init__(self, cache_dir, show_name,min_confidence=0.6):
|
|
15
15
|
self.cache_dir = Path(cache_dir)
|
|
16
16
|
self.min_confidence = min_confidence
|
|
17
17
|
self.whisper_segments = None
|
|
18
|
-
self.series_name =
|
|
18
|
+
self.series_name = show_name
|
|
19
19
|
|
|
20
20
|
def clean_text(self, text):
|
|
21
21
|
"""Clean text by removing stage directions and normalizing repeated words."""
|
|
@@ -26,9 +26,9 @@ def process_show(season=None, dry_run=False, get_subs=False):
|
|
|
26
26
|
"""Process the show using both speech recognition and OCR fallback."""
|
|
27
27
|
config = get_config(CONFIG_FILE)
|
|
28
28
|
show_dir = config.get("show_dir")
|
|
29
|
-
|
|
29
|
+
show_name = clean_text(os.path.basename(show_dir))
|
|
30
30
|
# Initialize episode matcher
|
|
31
|
-
matcher = EpisodeMatcher(CACHE_DIR)
|
|
31
|
+
matcher = EpisodeMatcher(CACHE_DIR,show_name)
|
|
32
32
|
|
|
33
33
|
# Get valid season directories
|
|
34
34
|
season_paths = get_valid_seasons(show_dir)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mkv-episode-matcher
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
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
|
|
@@ -2,8 +2,8 @@ mkv_episode_matcher/.gitattributes,sha256=Gh2-F2vCM7SZ01pX23UT8pQcmauXWfF3gwyRSb
|
|
|
2
2
|
mkv_episode_matcher/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
3
|
mkv_episode_matcher/__main__.py,sha256=3ZcCUxeI7rUA-4oiCD2WXBiOFJAqLsVVWfZKN446FwQ,6792
|
|
4
4
|
mkv_episode_matcher/config.py,sha256=zDDKBcsDt5fME9BRqiTi7yWKeast1pZh36BNYMvIBYM,2419
|
|
5
|
-
mkv_episode_matcher/episode_identification.py,sha256=
|
|
6
|
-
mkv_episode_matcher/episode_matcher.py,sha256=
|
|
5
|
+
mkv_episode_matcher/episode_identification.py,sha256=GQMMtTXcAhXdaRkOvOxL8f2cRm8fCDIJ9t7v-PayVks,8396
|
|
6
|
+
mkv_episode_matcher/episode_matcher.py,sha256=lOb3zqdXd3hcKrUWfsiAmm0-1s_gfAw2vLr7uzWmekM,4621
|
|
7
7
|
mkv_episode_matcher/mkv_to_srt.py,sha256=4yxBHRVhgVby0UtQ2aTXGuoQpid8pkgjMIaHU6GCdzc,10857
|
|
8
8
|
mkv_episode_matcher/speech_to_text.py,sha256=-bnGvmtPCKyHFPEaXwIcEYTf_P13rNpAJA-2UFeRFrs,2806
|
|
9
9
|
mkv_episode_matcher/tmdb_client.py,sha256=LbMCgjmp7sCbrQo_CDlpcnryKPz5S7inE24YY9Pyjk4,4172
|
|
@@ -18,8 +18,8 @@ mkv_episode_matcher/libraries/pgs2srt/requirements.txt,sha256=sg87dqWw_qpbwciw-M
|
|
|
18
18
|
mkv_episode_matcher/libraries/pgs2srt/Libraries/SubZero/SubZero.py,sha256=geT1LXdVd8yED9zoJ9K1XfP2JzGcM7u1SslHYrJI09o,10061
|
|
19
19
|
mkv_episode_matcher/libraries/pgs2srt/Libraries/SubZero/post_processing.py,sha256=GKtVy_Lxv-z27mkRG8pJF2znKWXwZTot7jL6kN-zIxM,10503
|
|
20
20
|
mkv_episode_matcher/libraries/pgs2srt/Libraries/SubZero/dictionaries/data.py,sha256=AlJHUYXl85J95OzGRik-AHVfzDd7Q8BJCvD4Nr8kRIk,938598
|
|
21
|
-
mkv_episode_matcher-0.3.
|
|
22
|
-
mkv_episode_matcher-0.3.
|
|
23
|
-
mkv_episode_matcher-0.3.
|
|
24
|
-
mkv_episode_matcher-0.3.
|
|
25
|
-
mkv_episode_matcher-0.3.
|
|
21
|
+
mkv_episode_matcher-0.3.2.dist-info/METADATA,sha256=-0yAWCYWe2-AaNVQuV8fRB8IwVFRMyJz9KEwQX-ZN9w,4640
|
|
22
|
+
mkv_episode_matcher-0.3.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
23
|
+
mkv_episode_matcher-0.3.2.dist-info/entry_points.txt,sha256=IglJ43SuCZq2eQ3shMFILCkmQASJHnDCI3ogohW2Hn4,64
|
|
24
|
+
mkv_episode_matcher-0.3.2.dist-info/top_level.txt,sha256=XRLbd93HUaedeWLtkyTvQjFcE5QcBRYa3V-CfHrq-OI,20
|
|
25
|
+
mkv_episode_matcher-0.3.2.dist-info/RECORD,,
|
|
File without changes
|
{mkv_episode_matcher-0.3.1.dist-info → mkv_episode_matcher-0.3.2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|