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.
- {ittup-1.2.0 → ittup-1.2.1}/PKG-INFO +1 -1
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/DocuManager.py +8 -12
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/GameManager.py +0 -12
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/TorrentManager.py +1 -14
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/VideoManager.py +8 -12
- {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/PKG-INFO +1 -1
- {ittup-1.2.0 → ittup-1.2.1}/pyproject.toml +1 -1
- {ittup-1.2.0 → ittup-1.2.1}/LICENSE +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/README.rst +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/__main__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/about.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/bdinfo_string.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/bittorrent.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/command.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/constants.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/database.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/client.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/ftpx_service.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/ftpx_session.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/menu.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/models/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/ftpx/core/models/list.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/client.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/api.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/models/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/models/search.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/platformid.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/igdb/core/tags.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/imageHost.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/mediaresult.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/sessions/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/sessions/agents.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/sessions/exceptions.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/sessions/session.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/api.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/keywords.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/alternative.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/details.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/movie.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/nowplaying.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/release_info.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/translations.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/alternative.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/details.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/on_the_air.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/translations.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/tvshow.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/videos.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/trailers/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/trailers/api.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/trailers/response.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/tvdb.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/extractor.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/frames.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/mediainfo.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/mediainfo_string.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/settings.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/tags.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/title.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/torrent_clients.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/ban_list.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/data.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/itt.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/signs_list.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/tags_list.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/trackers/trackers.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/common/utility.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/__main__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/automode.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/bot.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/duplicate.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/exceptions.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/ContentManager.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/MediaInfoManager.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/SeedManager.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/media_manager/common.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/pvtDocu.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/pvtTorrent.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/pvtTracker.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/pvtVideo.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/torrent.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/core/upload.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/view/__init__.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup/view/custom_console.py +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/SOURCES.txt +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/dependency_links.txt +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/entry_points.txt +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/requires.txt +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/ittup.egg-info/top_level.txt +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/requirements.txt +0 -0
- {ittup-1.2.0 → ittup-1.2.1}/setup.cfg +0 -0
|
@@ -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
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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:
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/__init__.py
RENAMED
|
File without changes
|
{ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/details.py
RENAMED
|
File without changes
|
{ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/movie/movie.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/details.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ittup-1.2.0 → ittup-1.2.1}/ittup/common/external_services/theMovieDB/core/models/tvshow/tvshow.py
RENAMED
|
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
|
|
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
|