wi1-bot 1.4.3__tar.gz → 1.4.4__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 (45) hide show
  1. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/.github/workflows/pypi-publish.yml +1 -1
  2. wi1-bot-1.4.4/.gitignore +8 -0
  3. wi1-bot-1.4.4/Dockerfile +20 -0
  4. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/PKG-INFO +2 -1
  5. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/README.md +1 -0
  6. wi1-bot-1.4.4/compose.yaml +16 -0
  7. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/_version.py +2 -2
  8. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/transcoder/transcoder.py +4 -1
  9. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot.egg-info/PKG-INFO +2 -1
  10. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot.egg-info/SOURCES.txt +3 -0
  11. /wi1-bot-1.4.3/.gitignore → /wi1-bot-1.4.4/.dockerignore +0 -0
  12. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/.pre-commit-config.yaml +0 -0
  13. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/.vscode/launch.json +0 -0
  14. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/.vscode/settings.json +0 -0
  15. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/LICENSE +0 -0
  16. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/config.yaml.template +0 -0
  17. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/pyproject.toml +0 -0
  18. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/setup.cfg +0 -0
  19. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/tests/movie_downloaded.py +0 -0
  20. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/__init__.py +0 -0
  21. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/arr/__init__.py +0 -0
  22. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/arr/download.py +0 -0
  23. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/arr/episode.py +0 -0
  24. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/arr/movie.py +0 -0
  25. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/arr/radarr.py +0 -0
  26. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/arr/sonarr.py +0 -0
  27. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/config.py +0 -0
  28. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/discord/__init__.py +0 -0
  29. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/discord/bot.py +0 -0
  30. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/discord/cogs/__init__.py +0 -0
  31. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/discord/cogs/movie.py +0 -0
  32. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/discord/cogs/series.py +0 -0
  33. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/discord/helpers.py +0 -0
  34. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/push.py +0 -0
  35. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/scripts/__init__.py +0 -0
  36. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/scripts/add_tag.py +0 -0
  37. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/scripts/start.py +0 -0
  38. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/scripts/transcode_item.py +0 -0
  39. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/transcoder/__init__.py +0 -0
  40. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/transcoder/transcode_queue.py +0 -0
  41. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot/webhook.py +0 -0
  42. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot.egg-info/dependency_links.txt +0 -0
  43. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot.egg-info/entry_points.txt +0 -0
  44. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot.egg-info/requires.txt +0 -0
  45. {wi1-bot-1.4.3 → wi1-bot-1.4.4}/wi1_bot.egg-info/top_level.txt +0 -0
@@ -3,7 +3,7 @@ name: Upload to PyPI
3
3
  on:
4
4
  push:
5
5
  tags:
6
- - "*"
6
+ - "v*"
7
7
 
8
8
  permissions:
9
9
  contents: read
@@ -0,0 +1,8 @@
1
+ config.yaml
2
+ tests/files/
3
+ log/
4
+
5
+ build/
6
+ dist/
7
+ *.egg-info/
8
+ _version.py
@@ -0,0 +1,20 @@
1
+ FROM python:3.10
2
+
3
+ RUN apt-get update && apt-get install -y ffmpeg
4
+
5
+ WORKDIR /app
6
+
7
+ COPY . .
8
+
9
+ RUN pip install .
10
+
11
+ ENV WB_CONFIG_PATH=/app/config/config.yaml
12
+ ENV WB_LOG_DIR=/app/logs
13
+
14
+ RUN mkdir -p config
15
+ RUN mkdir -p logs
16
+
17
+ EXPOSE 9000
18
+
19
+ ENTRYPOINT ["python", "-m", "wi1_bot.scripts.start"]
20
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wi1-bot
3
- Version: 1.4.3
3
+ Version: 1.4.4
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,7 @@ Requires Python >=3.10.
57
57
 
58
58
  ### TODO
59
59
 
60
+ - use sqlite
60
61
  - have config.discord.users be a dict with 'quotas' and 'name' for *arr tags
61
62
  - Better pushover notifications
62
63
  - Failures for pretty much everything
@@ -19,6 +19,7 @@ Requires Python >=3.10.
19
19
 
20
20
  ### TODO
21
21
 
22
+ - use sqlite
22
23
  - have config.discord.users be a dict with 'quotas' and 'name' for *arr tags
23
24
  - Better pushover notifications
24
25
  - Failures for pretty much everything
@@ -0,0 +1,16 @@
1
+ services:
2
+ wi1-bot:
3
+ container_name: wi1-bot
4
+ image: wthueb/wi1-bot
5
+ runtime: nvidia
6
+ deploy:
7
+ resources:
8
+ reservations:
9
+ devices:
10
+ - capabilities:
11
+ - gpu
12
+ environment:
13
+ - WB_CONFIG_PATH=/data/config.yaml
14
+ - WB_LOG_PATH=/data/logs
15
+ volumes:
16
+ - .:/data
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.4.3'
16
- __version_tuple__ = version_tuple = (1, 4, 3)
15
+ __version__ = version = '1.4.4'
16
+ __version_tuple__ = version_tuple = (1, 4, 4)
@@ -112,7 +112,10 @@ class Transcoder:
112
112
  if status != 0:
113
113
  self.logger.error(f"ffmpeg failed (status {status}): {last_output}")
114
114
 
115
- if "No such file or directory" in last_output:
115
+ if (
116
+ "No such file or directory" in last_output
117
+ and "shared object file" not in last_output
118
+ ):
116
119
  self.logger.debug(
117
120
  f"file does not exist: {path}, skipping transcoding"
118
121
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wi1-bot
3
- Version: 1.4.3
3
+ Version: 1.4.4
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,7 @@ Requires Python >=3.10.
57
57
 
58
58
  ### TODO
59
59
 
60
+ - use sqlite
60
61
  - have config.discord.users be a dict with 'quotas' and 'name' for *arr tags
61
62
  - Better pushover notifications
62
63
  - Failures for pretty much everything
@@ -1,7 +1,10 @@
1
+ .dockerignore
1
2
  .gitignore
2
3
  .pre-commit-config.yaml
4
+ Dockerfile
3
5
  LICENSE
4
6
  README.md
7
+ compose.yaml
5
8
  config.yaml.template
6
9
  pyproject.toml
7
10
  setup.cfg
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