Commit Graph

95 Commits

Author SHA1 Message Date
maxid
d029177fc0 hot fix: fix search tag name for episode in jackett 2026-02-04 23:52:07 +01:00
maxid
12854ff661 format files 2026-02-04 21:34:37 +01:00
maxid
3d52a87302 add id search capabilities to jackett 2026-02-04 21:34:31 +01:00
Juan David Bermudez Celedon
a1f3f92c10 Enhance size validation for indexer results 2026-02-01 22:14:04 -05:00
Juan David Bermudez Celedon
caaa08fbf4 Fix typo in Jackett log for search_movie 2026-02-01 22:01:42 -05:00
Juan David Bermudez Celedon
5db60141bb Fix bug by typo in jackett log message (#387)
fix typo in the `search_season` function log, which causes an error when searching for torrents.
2026-02-01 18:09:18 +01:00
Marcel Hellwig
96b84d45db Adding some more new lints (#393)
Enable `UP` and `TRY` lint
2026-02-01 18:04:15 +01:00
Maximilian Dorninger
a39e0d204a Ruff enable type annotations rule (#362)
This PR enables the ruff rule for return type annotations (ANN), and
adds the ty package for type checking.
2026-01-06 17:07:19 +01:00
Renan Greca
dd0b439bbe Fix logging bug in jackett indexer (#360)
fix MM trying to access non-existent attribute
2026-01-06 14:49:06 +01:00
Marcel Hellwig
75406cbc64 ruff: add RET lint
lints about assign and immediatly returning a variable
2026-01-05 19:30:42 +01:00
Marcel Hellwig
7182344036 create list from range directly instead of using append 2026-01-05 19:30:42 +01:00
Marcel Hellwig
a34b0f11a6 use single s since we're ignoring cases anyway 2026-01-05 19:30:42 +01:00
Marcel Hellwig
40812c6040 omit return_type in computed field
it's calculated from the functions return type, so there's no need to
specifify it
2026-01-05 19:30:42 +01:00
Marcel Hellwig
5368cad77a ruff: add S linter
this mostly adds a timeout=60 to all requests

this does mainly wants a timeout to all requests functions, since when
left out they hang infinitly.
I added a timeout of 60s, which is probably way too high, but since
before this there was none, I guess it's an improvement?
2026-01-05 19:30:42 +01:00
Marcel Hellwig
1857cf501c ruff: enable RUF lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
ff013ac76e ruff: enable I lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
97cb3b5c1e ruff: enable EM lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
7ef4e52c81 ruff: enable C4 lint 2026-01-05 19:30:42 +01:00
Maximilian Dorninger
21495653d2 Include show year in season search query 2026-01-04 14:20:38 +01:00
maxid
40130c6a37 refactor: rename AllEncompassingConfig to MediaManagerConfig 2025-12-29 23:38:17 +01:00
maxid
1f53f51be7 remove reject_torrents_on_url_error and follow_redirects setting from configuration files 2025-12-29 00:04:48 +01:00
maxid
4f74a5bee6 improve logging of evaluation of IndexerQueryResults 2025-12-28 23:41:41 +01:00
maxid
733c7f78de refactor indexers: add TorznabMixin for improved search result processing and use Torznab Prowlarr endpoint 2025-12-28 23:24:53 +01:00
maxid
0da3e53bcb fix api client context manager 2025-12-28 14:01:54 +01:00
maxid
6993ec8752 fix: use name attribute instead of title 2025-12-28 13:42:21 +01:00
maxid
a29e53bbe5 enhance Prowlarr indexer: add query and type parameters for TV and movie searches 2025-12-28 11:12:26 +01:00
maxid
db54f3b2f2 indexer service: add movie and season search methods 2025-12-28 11:12:13 +01:00
maxid
0a3e7a973f increase max limit of search results 2025-12-27 22:24:46 +01:00
maxid
09cad60673 format files 2025-12-27 22:22:32 +01:00
maxid
b510b1a6e4 enhance Prowlarr indexer: use tmdb, imdb, tvdb id, and season number for searches 2025-12-27 22:22:19 +01:00
maxid
edb6aab77d add abstract search methods for movies and seasons to generic indexer class 2025-12-27 19:59:53 +01:00
maxid
1cfc90e4ac fix typo 2025-12-19 19:06:49 +01:00
maxid
2e95798e04 add configuration option to enable following redirects in prowlarr 2025-12-19 19:06:49 +01:00
maxid
dda9be13bb fix typos 2025-12-10 18:12:05 +01:00
maxid
fe3b77a889 add a config variable for jackett and prowlarr to change timeout time 2025-12-10 17:13:24 +01:00
maxid
643d2448b1 reduce logs 2025-12-08 00:30:59 +01:00
maxid
751c4558a2 refactor and improve prowlarr search result processing 2025-12-06 15:57:51 +01:00
maxid
d8948e4462 make jackett torrent search more error resistant 2025-12-06 15:48:50 +01:00
maxid
0554fee85f make prowlarr torrent search more error resistant 2025-12-06 15:48:50 +01:00
maxDorninger
8346ed9fa5 add config option to accept/reject torrents from prowlarr with a possibly broken url 2025-10-30 18:20:57 +01:00
maxDorninger
571dcd1cf8 rework follow_redirects_to_final_torrent_url(); prevent infinite, or at least very long, loops by setting a max redirect count of 10 2025-10-30 18:05:52 +01:00
maxDorninger
d460bc10c8 improve prowlarr logging 2025-10-30 18:04:47 +01:00
maxDorninger
68bb500fe7 increase max connections of requests.Session() from 10 to 100 2025-10-30 17:48:43 +01:00
maxDorninger
bbebbe92d9 format schemas.py 2025-10-30 16:20:20 +01:00
maxDorninger
790eca9858 speed up torrent searching by multithreading it and using the same requests session everywhere 2025-10-30 16:20:06 +01:00
Maximilian Dorninger
1a1d38aa29 Update media_manager/indexer/schemas.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-29 16:17:20 +01:00
maxDorninger
30b710e618 improve how the download_url field is excluded from the response model 2025-10-28 22:49:10 +01:00
maxDorninger
bae3906063 add indexer field to IndexerQueryResult and update related components; display indexer name to use 2025-10-28 22:17:00 +01:00
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