wi1-bot 1.4.8__py3-none-any.whl → 1.4.9__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.
- wi1_bot/_version.py +2 -2
- wi1_bot/transcoder/transcoder.py +6 -3
- {wi1_bot-1.4.8.dist-info → wi1_bot-1.4.9.dist-info}/METADATA +1 -1
- {wi1_bot-1.4.8.dist-info → wi1_bot-1.4.9.dist-info}/RECORD +8 -8
- {wi1_bot-1.4.8.dist-info → wi1_bot-1.4.9.dist-info}/LICENSE +0 -0
- {wi1_bot-1.4.8.dist-info → wi1_bot-1.4.9.dist-info}/WHEEL +0 -0
- {wi1_bot-1.4.8.dist-info → wi1_bot-1.4.9.dist-info}/entry_points.txt +0 -0
- {wi1_bot-1.4.8.dist-info → wi1_bot-1.4.9.dist-info}/top_level.txt +0 -0
wi1_bot/_version.py
CHANGED
wi1_bot/transcoder/transcoder.py
CHANGED
@@ -107,11 +107,14 @@ class Transcoder:
|
|
107
107
|
try:
|
108
108
|
transcode_to.unlink(missing_ok=True)
|
109
109
|
except Exception:
|
110
|
-
self.logger.
|
110
|
+
self.logger.debug(
|
111
111
|
f"failed to delete transcoded file: {transcode_to}"
|
112
112
|
)
|
113
113
|
|
114
|
-
if
|
114
|
+
if (
|
115
|
+
"Error opening input files" in last_output
|
116
|
+
or "No such file or directory" in last_output
|
117
|
+
):
|
115
118
|
self.logger.info(
|
116
119
|
f"file does not exist: {path}, skipping transcoding"
|
117
120
|
)
|
@@ -161,7 +164,7 @@ class Transcoder:
|
|
161
164
|
f"file doesn't exist: {item.path}, deleting transcoded file"
|
162
165
|
)
|
163
166
|
|
164
|
-
transcode_to.unlink()
|
167
|
+
transcode_to.unlink(missing_ok=True)
|
165
168
|
return True
|
166
169
|
|
167
170
|
new_path = path.parent / transcode_to.name
|
@@ -1,5 +1,5 @@
|
|
1
1
|
wi1_bot/__init__.py,sha256=11ozJKiUsqDCZ3_mcAHhGYUyGK_Unl54djVSBBExFB4,59
|
2
|
-
wi1_bot/_version.py,sha256=
|
2
|
+
wi1_bot/_version.py,sha256=7YfyzKekRBziu-K_N0hnrpsNnrC-U6NwEUBuUEQ_xUA,411
|
3
3
|
wi1_bot/config.py,sha256=AtzOXvCeat_lb-w_Wy37XyWIpV3LmKh38OGigluJ2nM,3139
|
4
4
|
wi1_bot/push.py,sha256=-Az8c21R3IZAkJVRQmWsbNXMfvBzzpc9pFTWsDy1mJE,789
|
5
5
|
wi1_bot/webhook.py,sha256=cVp6USg1vbfL05TPQSDIUUYPHWDjuPGb1IGsqImao6s,4713
|
@@ -22,10 +22,10 @@ wi1_bot/scripts/start.py,sha256=vNa_iHkx10D5YWonyRW0f5nG8uE3_JtwJ-XZ-c0hWCs,2477
|
|
22
22
|
wi1_bot/scripts/transcode_item.py,sha256=21MeeIZ9wIRhAY-FOEgOdPsg6YOLlSUj59r8NkTfixw,1155
|
23
23
|
wi1_bot/transcoder/__init__.py,sha256=B4xr82UtIFc3tyy_MEZdZKMukYW0yejPnfsGowaTIM0,105
|
24
24
|
wi1_bot/transcoder/transcode_queue.py,sha256=W7r2I7OD8QuxseCEb7_ddOvYXiBBLmKLvCs2IgJJ92I,1856
|
25
|
-
wi1_bot/transcoder/transcoder.py,sha256=
|
26
|
-
wi1_bot-1.4.
|
27
|
-
wi1_bot-1.4.
|
28
|
-
wi1_bot-1.4.
|
29
|
-
wi1_bot-1.4.
|
30
|
-
wi1_bot-1.4.
|
31
|
-
wi1_bot-1.4.
|
25
|
+
wi1_bot/transcoder/transcoder.py,sha256=qqWiLnYbUJFTfS74bKZ3t2DlxAJLlf7J8Fh5QAB8glk,9327
|
26
|
+
wi1_bot-1.4.9.dist-info/LICENSE,sha256=6V4_mQoPoLJl77_WMsQRQMDG2mnIhDUdfCmMkqM9Qwc,1072
|
27
|
+
wi1_bot-1.4.9.dist-info/METADATA,sha256=L9EiHILLhO4MyQ0Vk7-AdfI1zaIiWzqynCIOhEm4h6E,4530
|
28
|
+
wi1_bot-1.4.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
29
|
+
wi1_bot-1.4.9.dist-info/entry_points.txt,sha256=pF5EawAQsUNMHs5exynpNdRq9g4dODg-RaPkx2MyYLU,184
|
30
|
+
wi1_bot-1.4.9.dist-info/top_level.txt,sha256=Q7mTnPLk80Td82YbjlBMO5tvXJoTFHhheHdmwc-c-7I,8
|
31
|
+
wi1_bot-1.4.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|