Commit Graph

13 Commits

Author SHA1 Message Date
Konstantin Chernyshev
a540841d76 feat: convert backend to async (engine, repos, services, routers, httpx) 2026-05-15 23:37:13 +02:00
Maximilian Dorninger
25cd4b0724 Refactor tv and movies (#526)
This PR refactors the movie and tv modules and adds a "common" module
for shared logic.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Dedicated import and metadata services for movies and TV;
completed-torrent detection and import flows.

* **Refactor**
* Shared media schemas, models, repository logic and base services
consolidated; movie/TV services and routes now delegate to specialised
import/metadata services.

* **Bug Fixes**
  * Fixed TV episode-count method name.

* **Chores**
  * Added .DS_Store to ignore list; added module comment.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-07 14:18:29 +02:00
Marcel Hellwig
ff013ac76e ruff: enable I lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
2c36adfd75 ruff: Enable B lint 2026-01-05 19:30:42 +01:00
maxDorninger
92e00f118c add notifications for movies and tv module 2025-07-01 16:01:57 +02:00
maxDorninger
3d9e9d00d0 add get_torrent_by_id dependency, add 404 error message and make NotFoundException globally available 2025-06-08 18:40:30 +02:00
maxDorninger
d82f9a3d9e add back feature to auto import all torrents 2025-06-08 18:26:56 +02:00
maxDorninger
32de886dbe refactor indexer module to implement dependency injection 2025-06-08 16:59:27 +02:00
maxDorninger
1fddf876c8 refactor torrent module to use dependency injection and decouple tv and torrent module for better separation of concerns 2025-06-08 11:38:47 +02:00
maxDorninger
7347c0ab1e add proper http error codes 2025-06-07 13:42:25 +02:00
maxDorninger
231c36efe0 run linter and formatter 2025-06-07 13:29:48 +02:00
maxDorninger
1fab5d8056 run linter and formatter 2025-06-07 13:23:00 +02:00
maxDorninger
d31658a82f update router and exceptions and create dependencies.py 2025-06-07 13:19:16 +02:00