qBitrr2 5.4.0__tar.gz → 5.4.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.
Files changed (32) hide show
  1. {qbitrr2-5.4.0/qBitrr2.egg-info → qbitrr2-5.4.1}/PKG-INFO +1 -1
  2. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/pyproject.toml +1 -1
  3. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/arss.py +2 -2
  4. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/bundled_data.py +2 -2
  5. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/webui.py +12 -0
  6. {qbitrr2-5.4.0 → qbitrr2-5.4.1/qBitrr2.egg-info}/PKG-INFO +1 -1
  7. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/setup.cfg +1 -1
  8. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/LICENSE +0 -0
  9. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/MANIFEST.in +0 -0
  10. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/README.md +0 -0
  11. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/config.example.toml +0 -0
  12. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/__init__.py +0 -0
  13. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/auto_update.py +0 -0
  14. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/config.py +0 -0
  15. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/db_lock.py +0 -0
  16. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/env_config.py +0 -0
  17. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/errors.py +0 -0
  18. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/ffprobe.py +0 -0
  19. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/gen_config.py +0 -0
  20. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/home_path.py +0 -0
  21. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/logger.py +0 -0
  22. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/main.py +0 -0
  23. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/search_activity_store.py +0 -0
  24. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/tables.py +0 -0
  25. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/utils.py +0 -0
  26. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr/versioning.py +0 -0
  27. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr2.egg-info/SOURCES.txt +0 -0
  28. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr2.egg-info/dependency_links.txt +0 -0
  29. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr2.egg-info/entry_points.txt +0 -0
  30. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr2.egg-info/requires.txt +0 -0
  31. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/qBitrr2.egg-info/top_level.txt +0 -0
  32. {qbitrr2-5.4.0 → qbitrr2-5.4.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qBitrr2
3
- Version: 5.4.0
3
+ Version: 5.4.1
4
4
  Summary: Intelligent automation for qBittorrent and *Arr apps (Radarr/Sonarr/Lidarr) - health monitoring, instant imports, quality upgrades, request integration
5
5
  Home-page: https://github.com/Feramance/qBitrr
6
6
  Author: Feramance
@@ -28,7 +28,7 @@ target-version = ['py312']
28
28
 
29
29
  [tool.poetry]
30
30
  name = "pypi-public"
31
- version = "5.4.0"
31
+ version = "5.4.1"
32
32
  description = "Intelligent automation for qBittorrent and *Arr apps (Radarr/Sonarr/Lidarr) - health monitoring, instant imports, quality upgrades, request integration"
33
33
  authors = ["Drapersniper", "Feramance"]
34
34
  readme = "README.md"
@@ -2547,7 +2547,7 @@ class Arr:
2547
2547
  JSONDecodeError,
2548
2548
  ):
2549
2549
  continue
2550
- if episode["monitored"] or self.search_unmonitored:
2550
+ if episode.get("monitored", True) or self.search_unmonitored:
2551
2551
  while True:
2552
2552
  try:
2553
2553
  series_info = episode.get("series") or {}
@@ -2701,7 +2701,7 @@ class Arr:
2701
2701
  else None
2702
2702
  )
2703
2703
  AirDateUtc = episode["airDateUtc"]
2704
- Monitored = episode["monitored"]
2704
+ Monitored = episode.get("monitored", True)
2705
2705
  QualityMet = not QualityUnmet if db_entry["hasFile"] else False
2706
2706
  customFormatMet = customFormat >= minCustomFormat
2707
2707
 
@@ -1,5 +1,5 @@
1
- version = "5.4.0"
2
- git_hash = "5cfa06d7"
1
+ version = "5.4.1"
2
+ git_hash = "ad6671a7"
3
3
  license_text = (
4
4
  "Licence can be found on:\n\nhttps://github.com/Feramance/qBitrr/blob/master/LICENSE"
5
5
  )
@@ -1190,6 +1190,18 @@ class WebUI:
1190
1190
  response.headers["Expires"] = "0"
1191
1191
  return response
1192
1192
 
1193
+ @app.get("/sw.js")
1194
+ def service_worker():
1195
+ # Service worker must be served from root path for PWA support
1196
+ from flask import make_response
1197
+
1198
+ response = make_response(redirect("/static/sw.js"))
1199
+ # Prevent caching of the service worker to ensure updates are picked up
1200
+ response.headers["Cache-Control"] = "no-cache, no-store, must-revalidate"
1201
+ response.headers["Pragma"] = "no-cache"
1202
+ response.headers["Expires"] = "0"
1203
+ return response
1204
+
1193
1205
  def _processes_payload() -> dict[str, Any]:
1194
1206
  procs = []
1195
1207
  search_activity_map = fetch_search_activities()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qBitrr2
3
- Version: 5.4.0
3
+ Version: 5.4.1
4
4
  Summary: Intelligent automation for qBittorrent and *Arr apps (Radarr/Sonarr/Lidarr) - health monitoring, instant imports, quality upgrades, request integration
5
5
  Home-page: https://github.com/Feramance/qBitrr
6
6
  Author: Feramance
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = qBitrr2
3
- version = 5.4.0
3
+ version = 5.4.1
4
4
  description = Intelligent automation for qBittorrent and *Arr apps (Radarr/Sonarr/Lidarr) - health monitoring, instant imports, quality upgrades, request integration
5
5
  long_description = file: README.md
6
6
  long_description_content_type = text/markdown
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