wi1-bot 1.4.8__tar.gz → 1.4.10__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.8 → wi1-bot-1.4.10}/PKG-INFO +6 -1
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/README.md +5 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/_version.py +2 -2
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/arr/radarr.py +2 -2
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/transcoder/transcoder.py +7 -3
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot.egg-info/PKG-INFO +6 -1
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/.dockerignore +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/.github/workflows/pypi-publish.yml +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/.gitignore +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/.pre-commit-config.yaml +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/.vscode/launch.json +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/.vscode/settings.json +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/Dockerfile +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/LICENSE +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/compose.yaml +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/config.yaml.template +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/pyproject.toml +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/setup.cfg +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/tests/movie_downloaded.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/__init__.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/arr/__init__.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/arr/download.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/arr/episode.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/arr/movie.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/arr/sonarr.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/config.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/discord/__init__.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/discord/bot.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/discord/cogs/__init__.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/discord/cogs/movie.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/discord/cogs/series.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/discord/helpers.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/push.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/scripts/__init__.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/scripts/add_tag.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/scripts/rescan.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/scripts/start.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/scripts/transcode_item.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/transcoder/__init__.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/transcoder/transcode_queue.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot/webhook.py +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot.egg-info/SOURCES.txt +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot.egg-info/dependency_links.txt +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot.egg-info/entry_points.txt +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot.egg-info/requires.txt +0 -0
- {wi1-bot-1.4.8 → wi1-bot-1.4.10}/wi1_bot.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: wi1-bot
|
3
|
-
Version: 1.4.
|
3
|
+
Version: 1.4.10
|
4
4
|
Summary: Discord bot for Radarr/Sonarr integration
|
5
5
|
Home-page: https://github.com/wthueb/wi1-bot
|
6
6
|
Author-email: William Huebner <wilhueb@gmail.com>
|
@@ -57,6 +57,11 @@ Requires Python >=3.10.
|
|
57
57
|
|
58
58
|
### TODO
|
59
59
|
|
60
|
+
- https://github.com/kkroening/ffmpeg-python
|
61
|
+
- `ffmpeg -codecs`, `ffmpeg -hwaccels`
|
62
|
+
- ffmpeg filters for deinterlacing, scaling
|
63
|
+
- https://docs.nvidia.com/video-technologies/video-codec-sdk/12.0/ffmpeg-with-nvidia-gpu/index.html#hwaccel-transcode-with-scaling
|
64
|
+
- ffmpeg remove bad subtitle streams
|
60
65
|
- use sqlite
|
61
66
|
- have config.discord.users be a dict with 'quotas' and 'name' for *arr tags
|
62
67
|
- Better pushover notifications
|
@@ -19,6 +19,11 @@ Requires Python >=3.10.
|
|
19
19
|
|
20
20
|
### TODO
|
21
21
|
|
22
|
+
- https://github.com/kkroening/ffmpeg-python
|
23
|
+
- `ffmpeg -codecs`, `ffmpeg -hwaccels`
|
24
|
+
- ffmpeg filters for deinterlacing, scaling
|
25
|
+
- https://docs.nvidia.com/video-technologies/video-codec-sdk/12.0/ffmpeg-with-nvidia-gpu/index.html#hwaccel-transcode-with-scaling
|
26
|
+
- ffmpeg remove bad subtitle streams
|
22
27
|
- use sqlite
|
23
28
|
- have config.discord.users be a dict with 'quotas' and 'name' for *arr tags
|
24
29
|
- Better pushover notifications
|
@@ -149,10 +149,10 @@ class Radarr:
|
|
149
149
|
raise ValueError(f"no quality profile with the id {profile_id}")
|
150
150
|
|
151
151
|
def rescan_movie(self, movie_id: int) -> None:
|
152
|
-
self._radarr.post_command("RescanMovie", movieId=movie_id)
|
152
|
+
self._radarr.post_command("RescanMovie", movieId=movie_id)
|
153
153
|
|
154
154
|
def refresh_movie(self, movie_id: int) -> None:
|
155
|
-
self._radarr.post_command("RefreshMovie", movieIds=[movie_id])
|
155
|
+
self._radarr.post_command("RefreshMovie", movieIds=[movie_id])
|
156
156
|
|
157
157
|
def search_missing(self) -> None:
|
158
158
|
self._radarr.post_command(name="MissingMoviesSearch")
|
@@ -96,6 +96,7 @@ class Transcoder:
|
|
96
96
|
tmp_log_path = tmp_folder / "wi1_bot.transcoder.log"
|
97
97
|
|
98
98
|
with open(tmp_log_path, "w") as ffmpeg_log_file:
|
99
|
+
ffmpeg_log_file.write(f"ffmpeg command: {shlex.join(command)}\n")
|
99
100
|
assert proc.stdout is not None
|
100
101
|
for line in proc.stdout:
|
101
102
|
ffmpeg_log_file.write(line)
|
@@ -107,11 +108,14 @@ class Transcoder:
|
|
107
108
|
try:
|
108
109
|
transcode_to.unlink(missing_ok=True)
|
109
110
|
except Exception:
|
110
|
-
self.logger.
|
111
|
+
self.logger.debug(
|
111
112
|
f"failed to delete transcoded file: {transcode_to}"
|
112
113
|
)
|
113
114
|
|
114
|
-
if
|
115
|
+
if (
|
116
|
+
"Error opening input files" in last_output
|
117
|
+
or "No such file or directory" in last_output
|
118
|
+
):
|
115
119
|
self.logger.info(
|
116
120
|
f"file does not exist: {path}, skipping transcoding"
|
117
121
|
)
|
@@ -161,7 +165,7 @@ class Transcoder:
|
|
161
165
|
f"file doesn't exist: {item.path}, deleting transcoded file"
|
162
166
|
)
|
163
167
|
|
164
|
-
transcode_to.unlink()
|
168
|
+
transcode_to.unlink(missing_ok=True)
|
165
169
|
return True
|
166
170
|
|
167
171
|
new_path = path.parent / transcode_to.name
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: wi1-bot
|
3
|
-
Version: 1.4.
|
3
|
+
Version: 1.4.10
|
4
4
|
Summary: Discord bot for Radarr/Sonarr integration
|
5
5
|
Home-page: https://github.com/wthueb/wi1-bot
|
6
6
|
Author-email: William Huebner <wilhueb@gmail.com>
|
@@ -57,6 +57,11 @@ Requires Python >=3.10.
|
|
57
57
|
|
58
58
|
### TODO
|
59
59
|
|
60
|
+
- https://github.com/kkroening/ffmpeg-python
|
61
|
+
- `ffmpeg -codecs`, `ffmpeg -hwaccels`
|
62
|
+
- ffmpeg filters for deinterlacing, scaling
|
63
|
+
- https://docs.nvidia.com/video-technologies/video-codec-sdk/12.0/ffmpeg-with-nvidia-gpu/index.html#hwaccel-transcode-with-scaling
|
64
|
+
- ffmpeg remove bad subtitle streams
|
60
65
|
- use sqlite
|
61
66
|
- have config.discord.users be a dict with 'quotas' and 'name' for *arr tags
|
62
67
|
- Better pushover notifications
|
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
|