Commit Graph

62 Commits

Author SHA1 Message Date
Mark Riabov
0cfd1fa724 Fix suffix formatting for with_suffix call (#408)
Fixes issue ValueError: Invalid suffix 'jpg'

Completely prevents downloading posters from metadata provider
2026-02-10 20:29:05 +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
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
f2141ca8b8 ruff: enable PERF lint
this complains a lot about using manual append where a list
comprehension would be more suitable
2026-01-05 19:30:42 +01:00
Marcel Hellwig
29476e2008 ruff: enable INT and N lint
this renames some files to use snake_case and add Error suffix to custom
exceptions
2026-01-05 19:30:42 +01:00
Marcel Hellwig
55b2dd63d8 ruff: add ARG linter
this mostly either removes unused parameters, prefixes them with an
underscore or uses the @override decorator to tell the linter, that that
method comes from a superclass and can't be changed
2026-01-05 19:30:42 +01:00
Marcel Hellwig
6e46b482cb ruff: enable A lint 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
9ff2dc4b92 rewrite downlaod_post_image function
this now uses the proper functions instead of handling with strings
2026-01-05 19:30:00 +01:00
Marcel Hellwig
593e1828cc remove pillow-avif package
it is possible since 11.3 to use avif in the main pillow package,
therefore the avif package is no longer needed

https://github.com/python-pillow/Pillow/pull/5201#issuecomment-3023668716
2026-01-05 19:29:52 +01:00
maxid
4841d1ed11 fix tvdb search not working 2026-01-02 14:38:58 +01:00
maxid
edb2001cdc fix tvdb search: use get method for safe access to image_url and overview 2026-01-02 11:13:23 +01:00
maxid
5f7aa928ed remove comment 2026-01-02 11:08:57 +01:00
maxid
dd1e5d6621 refactor: update metadata methods to include optional language parameter 2026-01-01 14:21:51 +01:00
maxid
40130c6a37 refactor: rename AllEncompassingConfig to MediaManagerConfig 2025-12-29 23:38:17 +01:00
maxid
b05c255a53 refactor metadata providers: remove special character removal from search queries 2025-12-28 11:12:58 +01:00
maxid
ff3797e1c4 feat: add IMDb ID retrieval for movies and TV shows 2025-12-23 20:24:16 +01:00
maxid
3b920135c2 format files 2025-12-23 19:54:27 +01:00
aasmoe
3574a0a08e Merge branch 'master' into feat/multi-language-metadata 2025-12-21 14:43:17 +01:00
maxid
d5c649d5bf refactor search queries to remove special characters and parentheses 2025-12-20 20:05:02 +01:00
aasmoe
1afa13a954 Merge branch 'master' into feat/multi-language-metadata 2025-12-18 12:00:54 +01:00
xNinjaKittyx
db044d9351 fix: change id to movieID/ShowID type. 2025-12-15 17:54:31 +00:00
xNinjaKittyx
a098b172ca Address various different fixes regarding search UI experience. 2025-12-14 00:10:38 +00:00
aasmoe
5271acb51d Use previous definition of config 2025-12-13 20:53:17 +00:00
aasmoe
8695d26ad9 Removed language parameter in favour of adding original_language to movie and show object. A couple of temporary workaround while there is no original_language column in db. 2025-12-13 19:30:02 +00:00
aasmoe
68f9d71bfa feat: wire up original_language to be passed when adding shows/movies
- Add original_language field to MetaDataProviderSearchResult schema
- Update frontend to pass original_language as language parameter when adding media
- This ensures media metadata is fetched in the correct language based on original_language
2025-12-13 19:30:02 +00:00
aasmoe
1caff77412 WIP: current progress 2025-12-13 19:30:02 +00:00
aasmoe
266d81688c feat: Add multi-language metadata support
- Add primary_languages config setting (ISO 639-1 codes)
- Fetch metadata in original language when in primary_languages
- Display original titles in search results for configured languages
- Download language-specific posters when available
2025-12-13 19:30:02 +00:00
maxid
643d2448b1 reduce logs 2025-12-08 00:30:59 +01:00
maxDorninger
cd5b16a4e5 Change all URLs containing maxid.me to dorninger.co 2025-08-23 17:54:57 +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
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
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
91f64b11b4 tvdb hotfix: getting wrong id 2025-07-02 19:13:54 +02:00
maxDorninger
5ed6080977 fix tvdb incorrectly parsing the json sometimes 2025-07-02 16:46:50 +02:00
maxDorninger
92e00f118c add notifications for movies and tv module 2025-07-01 16:01:57 +02:00
maxDorninger
a1c7b9b941 format files 2025-06-28 22:46:38 +02:00
maxDorninger
b20f5491ab remove unnecessary code from metadataprovider module 2025-06-28 21:42:04 +02:00
maxDorninger
8a0efbdd2a make tvdb module use the new metadata relay service instead of directly calling the tmdb api 2025-06-28 21:38:50 +02:00
maxDorninger
970dfefa70 make tmdb module use the new metadata relay service instead of directly calling the tmdb api 2025-06-28 21:38:50 +02:00
maxDorninger
bcc259dff2 work on the frontend for the movies 2025-06-28 18:24:11 +02:00
maxDorninger
dbc20a2c47 reworking carousel on dashboard 2025-06-24 21:07:43 +02:00
maxDorninger
02807af6e9 format files 2025-06-24 19:32:21 +02:00
maxDorninger
0e108b6756 add movie module 2025-06-23 20:59:13 +02:00
maxDorninger
9de91a65b7 fix tvdb movies not working 2025-06-23 20:57:22 +02:00