ittup 1.2.0__tar.gz → 1.2.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 (107) hide show
  1. {ittup-1.2.0 → ittup-1.2.1}/PKG-INFO +1 -1
  2. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/DocuManager.py +8 -12
  3. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/GameManager.py +0 -12
  4. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/TorrentManager.py +1 -14
  5. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/VideoManager.py +8 -12
  6. {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/PKG-INFO +1 -1
  7. {ittup-1.2.0 → ittup-1.2.1}/pyproject.toml +1 -1
  8. {ittup-1.2.0 → ittup-1.2.1}/LICENSE +0 -0
  9. {ittup-1.2.0 → ittup-1.2.1}/README.rst +0 -0
  10. {ittup-1.2.0 → ittup-1.2.1}/ittup/__init__.py +0 -0
  11. {ittup-1.2.0 → ittup-1.2.1}/ittup/__main__.py +0 -0
  12. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/__init__.py +0 -0
  13. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/about.py +0 -0
  14. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/bdinfo_string.py +0 -0
  15. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/bittorrent.py +0 -0
  16. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/command.py +0 -0
  17. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/constants.py +0 -0
  18. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/database.py +0 -0
  19. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/__init__.py +0 -0
  20. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/__init__.py +0 -0
  21. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/client.py +0 -0
  22. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/__init__.py +0 -0
  23. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/ftpx_service.py +0 -0
  24. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/ftpx_session.py +0 -0
  25. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/menu.py +0 -0
  26. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/models/__init__.py +0 -0
  27. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/models/list.py +0 -0
  28. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/__init__.py +0 -0
  29. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/client.py +0 -0
  30. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/__init__.py +0 -0
  31. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/api.py +0 -0
  32. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/models/__init__.py +0 -0
  33. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/models/search.py +0 -0
  34. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/platformid.py +0 -0
  35. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/tags.py +0 -0
  36. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/imageHost.py +0 -0
  37. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/mediaresult.py +0 -0
  38. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/sessions/__init__.py +0 -0
  39. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/sessions/agents.py +0 -0
  40. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/sessions/exceptions.py +0 -0
  41. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/sessions/session.py +0 -0
  42. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/__init__.py +0 -0
  43. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/__init__.py +0 -0
  44. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/api.py +0 -0
  45. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/keywords.py +0 -0
  46. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/__init__.py +0 -0
  47. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/__init__.py +0 -0
  48. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/alternative.py +0 -0
  49. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/details.py +0 -0
  50. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/movie.py +0 -0
  51. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/nowplaying.py +0 -0
  52. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/release_info.py +0 -0
  53. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/translations.py +0 -0
  54. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/__init__.py +0 -0
  55. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/alternative.py +0 -0
  56. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/details.py +0 -0
  57. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/on_the_air.py +0 -0
  58. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/translations.py +0 -0
  59. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/tvshow.py +0 -0
  60. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/videos.py +0 -0
  61. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/trailers/__init__.py +0 -0
  62. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/trailers/api.py +0 -0
  63. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/trailers/response.py +0 -0
  64. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/tvdb.py +0 -0
  65. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/extractor.py +0 -0
  66. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/frames.py +0 -0
  67. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/mediainfo.py +0 -0
  68. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/mediainfo_string.py +0 -0
  69. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/settings.py +0 -0
  70. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/tags.py +0 -0
  71. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/title.py +0 -0
  72. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/torrent_clients.py +0 -0
  73. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/__init__.py +0 -0
  74. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/ban_list.py +0 -0
  75. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/data.py +0 -0
  76. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/itt.py +0 -0
  77. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/signs_list.py +0 -0
  78. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/tags_list.py +0 -0
  79. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/trackers.py +0 -0
  80. {ittup-1.2.0 → ittup-1.2.1}/ittup/common/utility.py +0 -0
  81. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/__init__.py +0 -0
  82. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/__main__.py +0 -0
  83. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/automode.py +0 -0
  84. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/bot.py +0 -0
  85. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/duplicate.py +0 -0
  86. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/exceptions.py +0 -0
  87. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media.py +0 -0
  88. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/ContentManager.py +0 -0
  89. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/MediaInfoManager.py +0 -0
  90. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/SeedManager.py +0 -0
  91. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/__init__.py +0 -0
  92. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/common.py +0 -0
  93. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/pvtDocu.py +0 -0
  94. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/pvtTorrent.py +0 -0
  95. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/pvtTracker.py +0 -0
  96. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/pvtVideo.py +0 -0
  97. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/torrent.py +0 -0
  98. {ittup-1.2.0 → ittup-1.2.1}/ittup/core/upload.py +0 -0
  99. {ittup-1.2.0 → ittup-1.2.1}/ittup/view/__init__.py +0 -0
  100. {ittup-1.2.0 → ittup-1.2.1}/ittup/view/custom_console.py +0 -0
  101. {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/SOURCES.txt +0 -0
  102. {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/dependency_links.txt +0 -0
  103. {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/entry_points.txt +0 -0
  104. {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/requires.txt +0 -0
  105. {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/top_level.txt +0 -0
  106. {ittup-1.2.0 → ittup-1.2.1}/requirements.txt +0 -0
  107. {ittup-1.2.0 → ittup-1.2.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ittup
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: ItaTorrents uploader
5
5
  Author: Parzival, TehMaat
6
6
  License-Expression: MIT
@@ -68,18 +68,14 @@ class DocuManager:
68
68
  # Get the data
69
69
  tracker_response, tracker_message = unit3d_up.send(torrent_archive=torrent_filepath)
70
70
 
71
- bittorrent_data = BittorrentData(
72
- tracker_response=tracker_response,
73
- torrent_response=torrent_response,
74
- content=content,
75
- tracker_message=tracker_message,
76
- archive_path=torrent_filepath,
77
- )
78
- bittorrent_list.append(bittorrent_data)
79
-
80
- # Seed it right away, without waiting for the other contents
81
- if not self.cli.noseed:
82
- UserContent.send_to_bittorrent([bittorrent_data], 'DOCUMENTARY')
71
+ bittorrent_list.append(
72
+ BittorrentData(
73
+ tracker_response=tracker_response,
74
+ torrent_response=torrent_response,
75
+ content=content,
76
+ tracker_message=tracker_message,
77
+ archive_path=torrent_filepath,
78
+ ))
83
79
 
84
80
  # Send the torrent to the client as soon as it is uploaded
85
81
  if self.on_upload:
@@ -99,18 +99,6 @@ class GameManager:
99
99
  # Send to the tracker
100
100
  tracker_response, tracker_message = unit3d_up.send(torrent_archive=torrent_filepath, nfo_path=content.game_nfo)
101
101
 
102
- bittorrent_data = BittorrentData(
103
- tracker_response=tracker_response,
104
- torrent_response=torrent_response,
105
- content=content,
106
- tracker_message=tracker_message,
107
- archive_path=torrent_filepath,
108
- )
109
- bittorrent_list.append(bittorrent_data)
110
-
111
- # Seed it right away, without waiting for the other contents
112
- if not self.cli.noseed:
113
- UserContent.send_to_bittorrent([bittorrent_data], 'GAME')
114
102
  bittorrent_list.append(
115
103
  BittorrentData(
116
104
  tracker_response=tracker_response,
@@ -11,6 +11,7 @@ from ittup.core.media_manager.SeedManager import SeedManager
11
11
  from ittup.core import config_settings
12
12
  from ittup.core.media import Media
13
13
 
14
+ from ittup.common.bittorrent import BittorrentData
14
15
  from ittup.common.constants import my_language
15
16
  from ittup.common.utility import System
16
17
 
@@ -100,15 +101,9 @@ class TorrentManager:
100
101
  seed_now = (bool(self.cli.scan) or self.cli.watcher) and not (self.cli.noseed or self.cli.noup)
101
102
 
102
103
  for selected_tracker in trackers_name_list:
103
- # Each manager hands every uploaded torrent to the client as soon as the tracker accepts it
104
-
105
104
  # Build the torrent file and upload each GAME to the tracker
106
105
  if self.games:
107
106
  game_manager = GameManager(contents=self.games[:self.fast_load],
108
- cli=self.cli)
109
- game_manager.process(selected_tracker=selected_tracker,
110
- tracker_name_list=trackers_name_list,
111
- tracker_archive=self.tracker_archive)
112
107
  cli=self.cli,
113
108
  on_upload=partial(self.send_now, message='GAME') if seed_now else None)
114
109
  game_process_results = game_manager.process(selected_tracker=selected_tracker,
@@ -120,10 +115,6 @@ class TorrentManager:
120
115
  video_manager = VideoManager(contents=self.videos[:self.fast_load],
121
116
  cli=self.cli, tags_list=self.tags_list,
122
117
  sign_list=self.sign_list,
123
- ban_list=self.ban_list)
124
- video_manager.process(selected_tracker=selected_tracker,
125
- tracker_name_list=trackers_name_list,
126
- tracker_archive=self.tracker_archive)
127
118
  ban_list=self.ban_list,
128
119
  on_upload=partial(self.send_now, message='VIDEO') if seed_now else None)
129
120
  video_process_results = video_manager.process(selected_tracker=selected_tracker,
@@ -133,10 +124,6 @@ class TorrentManager:
133
124
  # Build the torrent file and upload each DOC to the tracker
134
125
  if self.doc and not self.cli.reseed:
135
126
  docu_manager = DocuManager(contents=self.doc[:self.fast_load],
136
- cli=self.cli)
137
- docu_manager.process(selected_tracker=selected_tracker,
138
- tracker_name_list=trackers_name_list,
139
- tracker_archive=self.tracker_archive)
140
127
  cli=self.cli,
141
128
  on_upload=partial(self.send_now, message='DOCUMENTARY') if seed_now else None)
142
129
  docu_process_results = docu_manager.process(selected_tracker=selected_tracker,
@@ -136,18 +136,14 @@ class VideoManager:
136
136
  tracker_response, tracker_message = unit3d_up.send(torrent_archive=torrent_filepath)
137
137
 
138
138
  # Store response for the torrent clients
139
- bittorrent_data = BittorrentData(
140
- tracker_response=tracker_response,
141
- torrent_response=torrent_response,
142
- content=content,
143
- tracker_message=tracker_message,
144
- archive_path=torrent_filepath,
145
- )
146
- bittorrent_list.append(bittorrent_data)
147
-
148
- # Seed it right away, without waiting for the other contents
149
- if not self.cli.noseed:
150
- UserContent.send_to_bittorrent([bittorrent_data], 'VIDEO')
139
+ bittorrent_list.append(
140
+ BittorrentData(
141
+ tracker_response=tracker_response,
142
+ torrent_response=torrent_response,
143
+ content=content,
144
+ tracker_message=tracker_message,
145
+ archive_path=torrent_filepath,
146
+ ))
151
147
 
152
148
  # Send the torrent to the client as soon as it is uploaded
153
149
  if self.on_upload:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ittup
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: ItaTorrents uploader
5
5
  Author: Parzival, TehMaat
6
6
  License-Expression: MIT
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
  [project]
6
6
  dynamic = ["dependencies"]
7
7
  name = "ittup"
8
- version = "1.2.0"
8
+ version = "1.2.1"
9
9
  description = "ItaTorrents uploader"
10
10
  readme = "README.rst"
11
11
  requires-python = ">=3.10"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes