wi1-bot 1.4.5__tar.gz → 1.4.6__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.
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/PKG-INFO +1 -1
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/_version.py +2 -2
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/transcoder/transcoder.py +3 -2
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot.egg-info/PKG-INFO +1 -1
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/.dockerignore +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/.github/workflows/pypi-publish.yml +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/.gitignore +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/.pre-commit-config.yaml +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/.vscode/launch.json +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/.vscode/settings.json +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/Dockerfile +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/LICENSE +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/README.md +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/compose.yaml +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/config.yaml.template +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/pyproject.toml +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/setup.cfg +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/tests/movie_downloaded.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/__init__.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/arr/__init__.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/arr/download.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/arr/episode.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/arr/movie.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/arr/radarr.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/arr/sonarr.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/config.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/discord/__init__.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/discord/bot.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/discord/cogs/__init__.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/discord/cogs/movie.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/discord/cogs/series.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/discord/helpers.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/push.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/scripts/__init__.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/scripts/add_tag.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/scripts/rescan.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/scripts/start.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/scripts/transcode_item.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/transcoder/__init__.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/transcoder/transcode_queue.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot/webhook.py +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot.egg-info/SOURCES.txt +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot.egg-info/dependency_links.txt +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot.egg-info/entry_points.txt +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot.egg-info/requires.txt +0 -0
- {wi1-bot-1.4.5 → wi1-bot-1.4.6}/wi1_bot.egg-info/top_level.txt +0 -0
@@ -104,6 +104,8 @@ class Transcoder:
|
|
104
104
|
status = proc.wait()
|
105
105
|
|
106
106
|
if status != 0:
|
107
|
+
transcode_to.unlink()
|
108
|
+
|
107
109
|
if "Error opening input files" in last_output:
|
108
110
|
self.logger.info(
|
109
111
|
f"file does not exist: {path}, skipping transcoding"
|
@@ -143,8 +145,6 @@ class Transcoder:
|
|
143
145
|
|
144
146
|
return True
|
145
147
|
|
146
|
-
new_path = path.parent / transcode_to.name
|
147
|
-
|
148
148
|
if not path.exists():
|
149
149
|
self.logger.debug(
|
150
150
|
f"file doesn't exist: {item.path}, deleting transcoded file"
|
@@ -153,6 +153,7 @@ class Transcoder:
|
|
153
153
|
transcode_to.unlink()
|
154
154
|
return True
|
155
155
|
|
156
|
+
new_path = path.parent / transcode_to.name
|
156
157
|
shutil.move(transcode_to, new_path)
|
157
158
|
path.unlink()
|
158
159
|
|
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
|