mkv-episode-matcher 0.1.9__py3-none-any.whl → 0.1.11__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/__main__.py +9 -10
- {mkv_episode_matcher-0.1.9.dist-info → mkv_episode_matcher-0.1.11.dist-info}/METADATA +1 -1
- {mkv_episode_matcher-0.1.9.dist-info → mkv_episode_matcher-0.1.11.dist-info}/RECORD +6 -6
- {mkv_episode_matcher-0.1.9.dist-info → mkv_episode_matcher-0.1.11.dist-info}/WHEEL +1 -1
- {mkv_episode_matcher-0.1.9.dist-info → mkv_episode_matcher-0.1.11.dist-info}/entry_points.txt +0 -0
- {mkv_episode_matcher-0.1.9.dist-info → mkv_episode_matcher-0.1.11.dist-info}/top_level.txt +0 -0
mkv_episode_matcher/__main__.py
CHANGED
|
@@ -109,17 +109,16 @@ def main():
|
|
|
109
109
|
# Cache the API key
|
|
110
110
|
|
|
111
111
|
logger.debug(f"TMDb API Key: {tmdb_api_key}")
|
|
112
|
+
logger.debug("Getting OpenSubtitles API key")
|
|
113
|
+
cached_config = get_config(CONFIG_FILE)
|
|
114
|
+
try:
|
|
115
|
+
open_subtitles_api_key = cached_config.get("open_subtitles_api_key")
|
|
116
|
+
open_subtitles_user_agent = cached_config.get("open_subtitles_user_agent")
|
|
117
|
+
open_subtitles_username = cached_config.get("open_subtitles_username")
|
|
118
|
+
open_subtitles_password = cached_config.get("open_subtitles_password")
|
|
119
|
+
except:
|
|
120
|
+
pass
|
|
112
121
|
if args.get_subs:
|
|
113
|
-
logger.debug("Getting OpenSubtitles API key")
|
|
114
|
-
cached_config = get_config(CONFIG_FILE)
|
|
115
|
-
try:
|
|
116
|
-
open_subtitles_api_key = cached_config.get("open_subtitles_api_key")
|
|
117
|
-
open_subtitles_user_agent = cached_config.get("open_subtitles_user_agent")
|
|
118
|
-
open_subtitles_username = cached_config.get("open_subtitles_username")
|
|
119
|
-
open_subtitles_password = cached_config.get("open_subtitles_password")
|
|
120
|
-
except:
|
|
121
|
-
pass
|
|
122
|
-
|
|
123
122
|
if not open_subtitles_api_key:
|
|
124
123
|
open_subtitles_api_key = input("Enter your OpenSubtitles API key: ")
|
|
125
124
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mkv-episode-matcher
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.11
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
mkv_episode_matcher/.gitattributes,sha256=Gh2-F2vCM7SZ01pX23UT8pQcmauXWfF3gwyRSb6ZAFs,66
|
|
2
2
|
mkv_episode_matcher/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
mkv_episode_matcher/__main__.py,sha256=
|
|
3
|
+
mkv_episode_matcher/__main__.py,sha256=lDMYl6SOH9fV_X7fPvMeIXEzT-jAaDg90FbqRUZyUb4,6772
|
|
4
4
|
mkv_episode_matcher/config.py,sha256=zDDKBcsDt5fME9BRqiTi7yWKeast1pZh36BNYMvIBYM,2419
|
|
5
5
|
mkv_episode_matcher/episode_matcher.py,sha256=UBT53tiC0xryl9k9XXoRUY1-08u5DH-NcwnmD-MSWG8,8914
|
|
6
6
|
mkv_episode_matcher/mkv_to_srt.py,sha256=m34nhgiBSBGpymePUt2C-EmGhcjoXnv3S0SLod-DkFo,6092
|
|
@@ -18,8 +18,8 @@ mkv_episode_matcher/libraries/pgs2srt/Libraries/SubZero/SubZero.py,sha256=1ZXUEN
|
|
|
18
18
|
mkv_episode_matcher/libraries/pgs2srt/Libraries/SubZero/post_processing.py,sha256=KZgMDCLPSfnDbbC9myvg1znkjapO0iSp7z_mIxf2e5k,9742
|
|
19
19
|
mkv_episode_matcher/libraries/pgs2srt/Libraries/SubZero/dictionaries/data.py,sha256=GpbuAVy8IPX7KRqKUuhToJuUVqhASg_Phw_6j8KJN6g,676580
|
|
20
20
|
mkv_episode_matcher/notebooks/get_subtitles_test.ipynb,sha256=7dku1ttsUB96R_7RVhSKAlbMfuJsOxkXAtFgJUwVqqc,8031
|
|
21
|
-
mkv_episode_matcher-0.1.
|
|
22
|
-
mkv_episode_matcher-0.1.
|
|
23
|
-
mkv_episode_matcher-0.1.
|
|
24
|
-
mkv_episode_matcher-0.1.
|
|
25
|
-
mkv_episode_matcher-0.1.
|
|
21
|
+
mkv_episode_matcher-0.1.11.dist-info/METADATA,sha256=O4g09Y_HIwLTXh2KVVdYRcVSoq2Fynzgw-5w7wpioBE,4965
|
|
22
|
+
mkv_episode_matcher-0.1.11.dist-info/WHEEL,sha256=nCVcAvsfA9TDtwGwhYaRrlPhTLV9m-Ga6mdyDtuwK18,91
|
|
23
|
+
mkv_episode_matcher-0.1.11.dist-info/entry_points.txt,sha256=IglJ43SuCZq2eQ3shMFILCkmQASJHnDCI3ogohW2Hn4,64
|
|
24
|
+
mkv_episode_matcher-0.1.11.dist-info/top_level.txt,sha256=XRLbd93HUaedeWLtkyTvQjFcE5QcBRYa3V-CfHrq-OI,20
|
|
25
|
+
mkv_episode_matcher-0.1.11.dist-info/RECORD,,
|
{mkv_episode_matcher-0.1.9.dist-info → mkv_episode_matcher-0.1.11.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|