Unit3Dup 0.8.9__py3-none-any.whl → 0.8.10__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.
common/settings.py CHANGED
@@ -13,7 +13,7 @@ from common.utility import ManageTitles
13
13
  from common import trackers
14
14
 
15
15
  config_file = "Unit3Dbot.json"
16
- version = "0.8.9"
16
+ version = "0.8.10"
17
17
 
18
18
  if os.name == "nt":
19
19
  PW_TORRENT_ARCHIVE_PATH: Path = Path(os.getenv("LOCALAPPDATA", ".")) / "Unit3Dup_config" / "pw_torrent_archive"
common/utility.py CHANGED
@@ -162,8 +162,8 @@ class ManageTitles:
162
162
  # Remove v version
163
163
  filename_sanitized = re.sub(r"v\d+(?:[ .]\d+)*", "", filename_sanitized).strip()
164
164
 
165
- # Remove dots, hyphens and extra spaces
166
- filename_sanitized = re.sub(r"[.\-_]", " ", filename_sanitized)
165
+ # Remove dots, extra spaces
166
+ filename_sanitized = re.sub(r"[._]", " ", filename_sanitized)
167
167
 
168
168
  # remove spaces, tab, newline
169
169
  filename_sanitized = re.sub(r"\s+", " ", filename_sanitized)
@@ -183,6 +183,7 @@ class ManageTitles:
183
183
  replacements = [
184
184
  (r'\b7 \b1\b', '7.1'),
185
185
  (r'\b5 \b1\b', '5.1'),
186
+ (r'\bDDP5 \b1\b', 'DDP5.1'),
186
187
  (r'\b2 \b0\b', '2.0'),
187
188
  (r'\bWEB \bDL\b', 'WEB-DL'),
188
189
  (r'\bWEB \bDLMUX\b', 'WEB-DLMUX'),
@@ -70,7 +70,7 @@ class ContentManager:
70
70
  # and not part of the title
71
71
  if media.category=='tv':
72
72
  # Search for the first result (Sx) in self.path
73
- torrent_pack = bool(re.search(r"S\d+(?!.*E\d+)", self.path))
73
+ torrent_pack = bool(re.search(r"(S\d+(?!.*E\d+))|(S\d+E\d+-E?\d+)", self.path))
74
74
  else:
75
75
  torrent_pack = False
76
76
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Unit3Dup
3
- Version: 0.8.9
3
+ Version: 0.8.10
4
4
  Summary: An uploader for the Unit3D torrent tracker
5
5
  Author: Parzival
6
6
  License-Expression: MIT
@@ -72,38 +72,27 @@ Install and Upgrade
72
72
 
73
73
  - pip install unit3dup --upgrade
74
74
 
75
- Ubuntu/Debian Dependencies
76
- --------------------------
77
- - sudo apt install ffmpeg
78
-
79
- Only for pdf
80
- ------------
81
- - sudo apt install poppler-utils
82
-
83
-
84
75
  Windows Dependencies
85
76
  --------------------
86
77
  1. Download and unzip https://www.ffmpeg.org/download.html and add its folder to
87
78
  PATH environment user variable
88
79
 
89
80
 
81
+ Only for pdf
82
+ ~~~~~~~~~~~~
90
83
  1. Download and unzip poppler for Windows from https://github.com/oschwartz10612/poppler-windows/releases
91
84
  2. Put the folder 'bin' in the system path (e.g. ``C:\poppler-24.08.0\Library\bin``)
92
85
  3. *Close and reopen a new console window*
93
86
  4. Test it: Run ``pdftocairo`` in the terminal
94
87
 
95
88
 
96
- Alternative method
97
- ------------------
98
-
99
- 1. Download the last release (https://github.com/31December99/Unit3Dup/releases)
100
-
101
- 2. unzip it
102
-
103
- 3. pip install .
104
-
105
- 4. unit3dup
89
+ Ubuntu/Debian Dependencies
90
+ --------------------------
91
+ - sudo apt install ffmpeg
106
92
 
93
+ Only for pdf
94
+ ~~~~~~~~~~~~
95
+ - sudo apt install poppler-utils
107
96
 
108
97
 
109
98
  RUN
@@ -8,10 +8,10 @@ common/extractor.py,sha256=WKZwt2kQfKO2VJ1rtwE_j6Zl84zICnowZq_Ql16wmRc,4564
8
8
  common/frames.py,sha256=p_jsaXII5tZTVt5ymu-w1hk2c_UMeOn3PZeuVR-wXWY,7973
9
9
  common/mediainfo.py,sha256=U2r1jJejBsV8GP3iPk4O8_NkHO5RQ9Kkh2bKwVNUBmg,6229
10
10
  common/mediainfo_string.py,sha256=8vuWlF2bqWRKpDbn81bV2fPA7hbl7RwOnxN2i4E3zNE,3958
11
- common/settings.py,sha256=RPzMlRiYlqiuPd2hJO4w348R8GVERHhiA7V43t_pPug,32781
11
+ common/settings.py,sha256=KRMu5QXpCd8SlgO6ffsd8JOPLSuNiSvYkHuqAWj1W3M,32782
12
12
  common/title.py,sha256=nFainfUBTYW9ML4Y-CB9ZFD_Es-OZXcAMPUo6D09u3k,3793
13
13
  common/torrent_clients.py,sha256=NOIpYtLG_bA19HwcH9ahGFmGNtRkoMO6nAjma-JzDfs,12040
14
- common/utility.py,sha256=6VLhN4K8W9oJfYiHKK_nq5LGtbwHaSMjeojstoyqYfU,8575
14
+ common/utility.py,sha256=BvIwpfE2lqSVSjWivYNVDXonEjsWWBfQbZI31RqwXjM,8603
15
15
  common/external_services/__init__.py,sha256=rU7HPEcZ7WQFD8eqDzuye2xHPBjxXPwPqpt7IT08mkM,178
16
16
  common/external_services/imageHost.py,sha256=BpdtGZUtZHl4QJwFKyJs_BI6z4gHI4wu_Beu-fnfkDw,9588
17
17
  common/external_services/imdb.py,sha256=AIo8CO-SfP_uNocDeNY08hpvCAnuotoI7hYUytDiMQA,579
@@ -84,7 +84,7 @@ unit3dup/pvtTracker.py,sha256=U4xMmhiqMNZaIOgEi3pnP-3H75e7Gagndh8GDFEP7Cs,18647
84
84
  unit3dup/pvtVideo.py,sha256=w_T6wEeGrsHkuR3KObJc4mNpJgg9hhHh_9LoxFlaqjM,3900
85
85
  unit3dup/torrent.py,sha256=JEcrVG8dlYASBvL51GldU1ouKlfieKccKX2KZ_4UKBY,19883
86
86
  unit3dup/upload.py,sha256=gjB8u2oP2FPXZ8t9SMIzkUEr52hKRy_zSR8OWJlW2xc,6075
87
- unit3dup/media_manager/ContentManager.py,sha256=X0nepb-PgBzTasnw-Z_Vz11oq8-66kg_5Q0Eddn964g,7123
87
+ unit3dup/media_manager/ContentManager.py,sha256=ReZ1Fg3d2QXHVKnCv6VvYXcAcaDyejA4YDvruqf41qQ,7142
88
88
  unit3dup/media_manager/DocuManager.py,sha256=oFt7jlxj-gIUty9PADBQV5a24bsv3yhjKhwI6niOhf4,3116
89
89
  unit3dup/media_manager/GameManager.py,sha256=9EmPeNrirOwaVOj-vkLr29Xo7daIA4ssqrrt0WyMl30,4090
90
90
  unit3dup/media_manager/MediaInfoManager.py,sha256=0NO9dgD7seJM67B3DRnwvRIdoy7bfquBUox-PnHInK8,1081
@@ -95,11 +95,11 @@ unit3dup/media_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
95
95
  unit3dup/media_manager/common.py,sha256=hG2zOw7ocQfZyI1dhusbehxswpIrZK7T2aAbCNwULqA,10138
96
96
  unit3dup/web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
97
  unit3dup/web/main.py,sha256=BzjKDgAjKZMnoQwx7nDDbs_64kCrFO1VYpbHmsGiFVc,1267
98
- unit3dup-0.8.9.dist-info/licenses/LICENSE,sha256=GNAZDLhU0xz8QPbIyHAOYlVnQYDvKWk2N9fZJMhqaG8,1090
98
+ unit3dup-0.8.10.dist-info/licenses/LICENSE,sha256=GNAZDLhU0xz8QPbIyHAOYlVnQYDvKWk2N9fZJMhqaG8,1090
99
99
  view/__init__.py,sha256=XIzb6rl58HmYPnksD73cYMFF88dn6FHa3u7bOHFbChk,81
100
100
  view/custom_console.py,sha256=OITmkEoQH9N_uE5ElPaSdc8XvaLzE9wcwTbOHtcMvrI,5629
101
- unit3dup-0.8.9.dist-info/METADATA,sha256=fTipWVLGNyAyrtT48e7V-1jcFl-UORYn4oUzXzzszL4,5015
102
- unit3dup-0.8.9.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
103
- unit3dup-0.8.9.dist-info/entry_points.txt,sha256=fxXSyI6-r6jy9_v-C5ZHm03q1aC3tE9EvCQZxC1NQnI,52
104
- unit3dup-0.8.9.dist-info/top_level.txt,sha256=19NVMnQNkJxBUKebRNaYCRs56A5CO4U1L67GMQCPiLU,21
105
- unit3dup-0.8.9.dist-info/RECORD,,
101
+ unit3dup-0.8.10.dist-info/METADATA,sha256=StIOl9sHXk1D6-cUi6Qu9V-AlbGMgmsNJDDymD07mFw,4864
102
+ unit3dup-0.8.10.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
103
+ unit3dup-0.8.10.dist-info/entry_points.txt,sha256=fxXSyI6-r6jy9_v-C5ZHm03q1aC3tE9EvCQZxC1NQnI,52
104
+ unit3dup-0.8.10.dist-info/top_level.txt,sha256=19NVMnQNkJxBUKebRNaYCRs56A5CO4U1L67GMQCPiLU,21
105
+ unit3dup-0.8.10.dist-info/RECORD,,