Commit Graph

37 Commits

Author SHA1 Message Date
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
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
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
d5c649d5bf refactor search queries to remove special characters and parentheses 2025-12-20 20:05:02 +01:00
maxid
643d2448b1 reduce logs 2025-12-08 00:30:59 +01: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
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
a1c7b9b941 format files 2025-06-28 22:46:38 +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
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
9de91a65b7 fix tvdb movies not working 2025-06-23 20:57:22 +02:00
maxDorninger
5a8d3b1ef9 modify metadataproviders to support movies 2025-06-22 22:14:51 +02:00
maxDorninger
9360b88842 format code with ruff 2025-06-22 17:41:50 +02:00
maxDorninger
0fb44f6dee remove unnecessary print statement in tvdb code 2025-06-22 17:03:25 +02:00
maxDorninger
61cde407ff fix tvdb code 2025-06-21 18:16:56 +02:00
maxDorninger
e6d65be94e switch metadataprovider module to dependency injection and update roadmap 2025-06-10 21:13:06 +02:00
maxDorninger
7458d71bf6 change metadata provider functions 2025-06-09 21:25:04 +02:00
maxDorninger
406ae044cb add ability to update show's metadata and extract the poster image download logic into a separate function 2025-06-09 12:14:21 +02:00
maxDorninger
231c36efe0 run linter and formatter 2025-06-07 13:29:48 +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