Unit3Dup 0.8.17__py3-none-any.whl → 0.8.18__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.17"
16
+ version = "0.8.18"
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
@@ -37,6 +37,11 @@ class ManageTitles:
37
37
  "BR": "BRA",
38
38
  "RU": "RUS",
39
39
  "CN": "CHN",
40
+ "EN-US": "ENG",
41
+ "EN-GB": "ENG",
42
+ "EN-AU": "ENG",
43
+ "ES-ES": "ESP",
44
+ "ES-MX": "ESP"
40
45
  }
41
46
 
42
47
  @staticmethod
unit3dup/automode.py CHANGED
@@ -45,6 +45,7 @@ class Auto:
45
45
  if self.auto == "folder":
46
46
  # -f command (single folder series or 'saga')
47
47
  return self._lists(files_path=[], subfolders_path=[self.path])
48
+ return None
48
49
  else:
49
50
  return self._lists(files_path=[self.path], subfolders_path=[])
50
51
 
@@ -91,7 +91,7 @@ class ContentManager:
91
91
 
92
92
  # Add language to the title from the media file when it's absent
93
93
  for found_languages in media.audio_languages:
94
- if found_languages not in media.display_name:
94
+ if found_languages not in media.display_name.upper():
95
95
  media.display_name = f"{media.display_name} {found_languages}"
96
96
  return media
97
97
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Unit3Dup
3
- Version: 0.8.17
3
+ Version: 0.8.18
4
4
  Summary: An uploader for the Unit3D torrent tracker
5
5
  Author: Parzival
6
6
  License-Expression: MIT
@@ -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=cLJNrx35Aicw_NQmCixNTUXjHp6qOyy0YhBNpwVk4Rs,32782
11
+ common/settings.py,sha256=MoAZtb9SLhLERwvyLVXSF7V061gui4O-Y8DHDqxSoBY,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=TT-95yyfUFggH-zx6oxuI-VtgLFIKX_F-Y6RaBQlhfg,8687
14
+ common/utility.py,sha256=1CJQKK7OejlX1eFo-A2dqHtDRgTbJ_7XbJYWT2oZISQ,8811
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
@@ -64,7 +64,7 @@ common/trackers/sis.py,sha256=AahQH-FxAqS19vgEFylOJzeY0_SHr27_Tibs7lraSdI,3480
64
64
  common/trackers/trackers.py,sha256=sts5l_x27V2Op1Y6Au5FoQujspSkWMPWyEYMfcmVYLA,1467
65
65
  unit3dup/__init__.py,sha256=seXz3lHgdrUBiOnhC6Je47npS66UZ0c62VFuoH3z5Mk,78
66
66
  unit3dup/__main__.py,sha256=OR0GRGEeV54TRBj3lA2aKdnHLzjLllQSzgH672QgzFg,9070
67
- unit3dup/automode.py,sha256=HIJrE8qEHp7DZQbppNtB_8jHY3Q94d6frp7BXnZuEac,4387
67
+ unit3dup/automode.py,sha256=JbHIvK5mHbNxpq_m5o26FEpqEUlL9XbTyUUPvKD6EqQ,4412
68
68
  unit3dup/bot.py,sha256=2P24z_8UM58binKqrM0eIXxPTiWEduyK2bdfVkmxPEQ,8759
69
69
  unit3dup/duplicate.py,sha256=Ji1Y9vVLmhFQ5rgkUU-s7uXl-jC8akAa8OiQOfjFa9g,10428
70
70
  unit3dup/exceptions.py,sha256=DhlcbbZEuvEYk5VSZTnle8oRg5I8Pq6Y6fxXTdOOOfo,4078
@@ -75,7 +75,7 @@ unit3dup/pvtTracker.py,sha256=U4xMmhiqMNZaIOgEi3pnP-3H75e7Gagndh8GDFEP7Cs,18647
75
75
  unit3dup/pvtVideo.py,sha256=w_T6wEeGrsHkuR3KObJc4mNpJgg9hhHh_9LoxFlaqjM,3900
76
76
  unit3dup/torrent.py,sha256=surV0royo_GCEvdlPIP1S9gvFvJb1u26XM11rZOGVEg,20064
77
77
  unit3dup/upload.py,sha256=gjB8u2oP2FPXZ8t9SMIzkUEr52hKRy_zSR8OWJlW2xc,6075
78
- unit3dup/media_manager/ContentManager.py,sha256=P6_qJd3nzmBlrkGs4HWa1sjDON2avKjnC8JYPqp2Tg8,7427
78
+ unit3dup/media_manager/ContentManager.py,sha256=raLiFLWN4kpyjPup70xaa77yRdL8FkmCMMrN9hjq6A4,7435
79
79
  unit3dup/media_manager/DocuManager.py,sha256=oFt7jlxj-gIUty9PADBQV5a24bsv3yhjKhwI6niOhf4,3116
80
80
  unit3dup/media_manager/GameManager.py,sha256=9EmPeNrirOwaVOj-vkLr29Xo7daIA4ssqrrt0WyMl30,4090
81
81
  unit3dup/media_manager/MediaInfoManager.py,sha256=0NO9dgD7seJM67B3DRnwvRIdoy7bfquBUox-PnHInK8,1081
@@ -86,12 +86,12 @@ unit3dup/media_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
86
86
  unit3dup/media_manager/common.py,sha256=hG2zOw7ocQfZyI1dhusbehxswpIrZK7T2aAbCNwULqA,10138
87
87
  unit3dup/web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
88
88
  unit3dup/web/main.py,sha256=BzjKDgAjKZMnoQwx7nDDbs_64kCrFO1VYpbHmsGiFVc,1267
89
- unit3dup-0.8.17.dist-info/licenses/LICENSE,sha256=GNAZDLhU0xz8QPbIyHAOYlVnQYDvKWk2N9fZJMhqaG8,1090
89
+ unit3dup-0.8.18.dist-info/licenses/LICENSE,sha256=GNAZDLhU0xz8QPbIyHAOYlVnQYDvKWk2N9fZJMhqaG8,1090
90
90
  view/__init__.py,sha256=XIzb6rl58HmYPnksD73cYMFF88dn6FHa3u7bOHFbChk,81
91
91
  view/custom_console.py,sha256=OITmkEoQH9N_uE5ElPaSdc8XvaLzE9wcwTbOHtcMvrI,5629
92
92
  view/web_console.py,sha256=YkxutJK5GqswMKEF77EllphPYQW0eb8OIBlplucHhvM,7697
93
- unit3dup-0.8.17.dist-info/METADATA,sha256=iVLK-BKBT22LHEjCnMi2eLquQdMGytQBoAkKhBxFElc,4864
94
- unit3dup-0.8.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
95
- unit3dup-0.8.17.dist-info/entry_points.txt,sha256=fxXSyI6-r6jy9_v-C5ZHm03q1aC3tE9EvCQZxC1NQnI,52
96
- unit3dup-0.8.17.dist-info/top_level.txt,sha256=19NVMnQNkJxBUKebRNaYCRs56A5CO4U1L67GMQCPiLU,21
97
- unit3dup-0.8.17.dist-info/RECORD,,
93
+ unit3dup-0.8.18.dist-info/METADATA,sha256=2csisJh3MRKDo68f3R0pIBZ0i4I2ccLDtbTeKN8KsLE,4864
94
+ unit3dup-0.8.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
95
+ unit3dup-0.8.18.dist-info/entry_points.txt,sha256=fxXSyI6-r6jy9_v-C5ZHm03q1aC3tE9EvCQZxC1NQnI,52
96
+ unit3dup-0.8.18.dist-info/top_level.txt,sha256=19NVMnQNkJxBUKebRNaYCRs56A5CO4U1L67GMQCPiLU,21
97
+ unit3dup-0.8.18.dist-info/RECORD,,