Commit Graph

47 Commits

Author SHA1 Message Date
maxDorninger
c8d0ec2a5f raise Runtime error instead of returning None when final url could not be determined 2025-07-30 22:37:57 +02:00
Maximilian Dorninger
6c20f7f026 Update media_manager/indexer/utils.py
use redirect_url instead of final_url

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 22:34:45 +02:00
Maximilian Dorninger
e2c65c9231 Update media_manager/indexer/utils.py
use redirect_url instead of final_url

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 22:34:37 +02:00
maxDorninger
9c84e04de2 make prowlarr follow redirects for every url 2025-07-30 22:29:30 +02:00
maxDorninger
d3c8e6ea1f make prowlarr use the guid (magnet link) instead of the weird http url that's stored in the magnetUrl field 2025-07-27 15:19:05 +02:00
maxDorninger
efab99473a make comment better 2025-07-26 18:28:03 +02:00
maxDorninger
6610a01769 fix syntax to check if result dictionary has the key "downloadUrl" 2025-07-26 15:28:23 +02:00
maxDorninger
e7863c7a6c add support for magnet urls to indexers 2025-07-26 13:14:22 +02:00
wjbeckett
0158ac1040 fix: Add default values to config classes to resolve test validation errors
- Add default instances to all nested config classes (TorrentConfig, NotificationConfig, IndexerConfig, MetadataProviderConfig, AuthConfig)
- Add default values to AllEncompassingConfig fields to prevent validation errors during testing
- Update GitHub workflow to copy config.example.toml before running tests
- Ensures tests can run without requiring complete configuration files while maintaining production functionality

Fixes test collection errors where pydantic validation failed due to missing required config sections.
2025-07-18 16:56:19 +10:00
Maximilian Dorninger
96dbcf564c Update media_manager/indexer/indexers/jackett.py
add default values to global values

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-17 12:31:46 +02:00
maxDorninger
a230fcaa43 fix logic of evaluate_indexer_query_results 2025-07-17 12:31:12 +02:00
maxDorninger
b6f5f8b253 format files 2025-07-17 11:37:58 +02:00
maxDorninger
dcf3d1907a add proper logging to the Indexer query result evaluation functions 2025-07-17 11:37:35 +02:00
maxDorninger
acfa3d3b75 add support for indexer flags when using jackett 2025-07-17 11:36:44 +02:00
maxDorninger
9254a5ab10 update sorting algorithm of IndexerQueryResult 2025-07-17 00:36:49 +02:00
maxDorninger
c4db283c63 add evaluate_indexer_query_results function to process query results based on scoring rules and use this function in tv and movie modules 2025-07-17 00:29:30 +02:00
maxDorninger
387e5e1095 add scoring rulesets to config 2025-07-17 00:02:29 +02:00
maxDorninger
83a09ebb94 add score field to db table and add alembic migration for the field 2025-07-16 23:27:54 +02:00
maxDorninger
d01e5f5ee2 add scoring rules to config and add evaluate indexer query result function 2025-07-16 23:23:15 +02:00
maxDorninger
9264d74d51 add score field to indexer query result 2025-07-16 23:06:45 +02:00
maxDorninger
4d0443b337 improve regex to determine the quality of a Indexer query result 2025-07-16 23:06:28 +02:00
maxDorninger
8f7c1035c0 remove instantiation calls from settings models 2025-07-11 00:56:04 +02:00
maxDorninger
9db9c85fc6 make all var names lower case and fix circular imports 2025-07-11 00:47:29 +02:00
maxDorninger
8a89a24f25 remove unused usenet_directory var and fix types of the configs 2025-07-10 22:33:44 +02:00
maxDorninger
7ce6de7f85 replace all the other config usages with allencompassing config 2025-07-10 22:25:05 +02:00
maxDorninger
1b784c35c1 add allencompassing config, replace basic config usage with allencompassing config usage 2025-07-10 21:47:37 +02:00
maxDorninger
ee9575bb2b format files 2025-07-10 01:31:48 +02:00
maxDorninger
5935fbb584 fix switch up of True and False 2025-07-10 01:15:20 +02:00
maxDorninger
a41f106478 fix type conversion bug 2025-07-10 00:55:31 +02:00
maxDorninger
b6a5385864 format files 2025-07-09 20:54:50 +02:00
maxDorninger
f2edfb076c add usenet support to indexer module, add make jackett and prowlarr search for either tv or movies 2025-07-09 20:52:01 +02:00
maxDorninger
efc3846860 format files 2025-07-01 16:03:17 +02:00
maxDorninger
92e00f118c add notifications for movies and tv module 2025-07-01 16:01:57 +02:00
maxDorninger
1a9a0cfadb fix bug in jackett which causes it to only search tv shows 2025-06-29 16:47:54 +02:00
maxDorninger
4c414d13ef refactor indexer module imports and format code 2025-06-08 17:51:47 +02:00
maxDorninger
b5e68f194e add tests for indexer module 2025-06-08 17:30:23 +02:00
maxDorninger
32de886dbe refactor indexer module to implement dependency injection 2025-06-08 16:59:27 +02:00
maxDorninger
1e79869d1e fix requests not working 2025-06-08 15:56:36 +02:00
maxDorninger
5c646db42a add tests 2025-06-07 16:45:15 +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
69d6fa7c15 add automatic alembic migrations to docker images 2025-06-01 22:45:16 +02:00
maxDorninger
31874aeb31 update admin email configuration to support multiple addresses and update documentation 2025-06-01 19:30:56 +02:00
maxDorninger
e22c16dc28 formatting files and adding support for jackett 2025-06-01 18:47:18 +02:00
maxDorninger
40c90d90ed feat: add automatic downloads for approved season requests 2025-05-31 13:45:50 +02:00
maxDorninger
88c72e3303 switch to uv and remove old logo.svg 2025-05-29 22:33:13 +02:00
maxDorninger
206df8b150 refactor: change folder structure 2025-05-29 15:36:35 +02:00