Commit Graph

130 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
Marcel Hellwig
311e625eee two hotfixes (#392)
this prevents the app from running correctly
2026-02-01 17:42: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
acd883df21 ruff: enable PIE lint
this just removes needless pass or ...
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
6e46b482cb ruff: enable A lint 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
a7bb5e1e04 Make proper use of function overloading
In preparation of the RUFF lint, I rewrote the function to use
typing.overload.
This is the proper way to accept either two arguments or one argument
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
eac58d2843 ruff: enable FAST lint
this mostly is replacing the response_model attribute with a return type
of that function since that's the more idiomatic way to do
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
2c36adfd75 ruff: Enable B lint 2026-01-05 19:30:42 +01:00
maxid
88464e76dd remove debug print statement 2026-01-02 11:07:29 +01:00
maxid
95c22fa854 Merge branch 'master' into refactor-code
# Conflicts:
#	media_manager/movies/service.py
#	media_manager/tv/service.py
2025-12-30 00:14:24 +01:00
maxid
40130c6a37 refactor: rename AllEncompassingConfig to MediaManagerConfig 2025-12-29 23:38:17 +01:00
maxid
51560ae1e9 refactor: remove unneeded comments 2025-12-29 23:01:34 +01:00
maxid
009f743259 refactor: enhance exception handling 2025-12-29 22:54:45 +01:00
maxid
35880231e0 refactor: standardize parameter usage in tv router and service 2025-12-29 22:39:39 +01:00
Maximilian Dorninger
d3e12579ac Merge pull request #324 from briandipalma/extra-spaces
fix: only add one space between release year and release ID and fix formatting of dev guide docs
2025-12-29 22:14:14 +01:00
Brian Di Palma
57c94dbd57 feat(importing): Only add one space between release year and release ID 2025-12-29 20:05:51 +00:00
maxid
11ff6cd981 reorganize tv/router.py 2025-12-29 13:06:42 +01:00
maxid
12ce02473d fix: set success variable when importing movie 2025-12-29 00:35:54 +01:00
maxid
91ed5e34dc refactor indexer service: streamline movie and season search methods 2025-12-28 11:20:51 +01:00
maxid
61fc87e577 fix bug: actually save imdb_id to database 2025-12-27 12:42:36 +01:00
maxid
9c6676f1f3 feat: add imdb_id parameter to update movie and show methods 2025-12-23 20:29:51 +01:00
maxid
3b920135c2 format files 2025-12-23 19:54:27 +01:00
maxid
0c30ede537 feat: add imdb_id fields to movies and shows 2025-12-23 19:54:17 +01:00
aasmoe
3574a0a08e Merge branch 'master' into feat/multi-language-metadata 2025-12-21 14:43:17 +01:00
maxid
1293cc692c fix: rename source directory before importing existing movies and TV shows 2025-12-20 21:16:52 +01:00
maxid
cfe34358a0 refactor title processing to remove special characters and brackets 2025-12-20 20:00:27 +01:00
maxid
1f50b18b9f refactor media detection functions to improve accuracy 2025-12-20 19:37:34 +01:00
maxid
eb7a15d32d Merge branch 'refs/heads/master' into fork/aasmoe/feat/multi-language-metadata
# Conflicts:
#	metadata_relay/app/tmdb.py
#	web/src/lib/api/api.d.ts
2025-12-20 14:53:41 +01:00
maxid
c78bc05627 format files 2025-12-20 13:08:32 +01:00
aasmoe
1afa13a954 Merge branch 'master' into feat/multi-language-metadata 2025-12-18 12:00:54 +01:00
xNinjaKittyx
28915a5484 fix: use the right functions and also make sure the 2 checkboxes are on movies too. 2025-12-16 02:41:04 +00:00
xNinjaKittyx
380de78b51 feature: delete files and torrents. 2025-12-15 21:14:16 +00:00
xNinjaKittyx
f4178a7792 fix: not sure how the str wrap came back. 2025-12-15 18:20:16 +00:00
xNinjaKittyx
56fa5bed17 fix: fixing some lints. 2025-12-15 18:06:04 +00: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
fda59e49b2 Pass language as a value in show and movie objects. DB migration to add original_langauge column. Removes workarounds 2025-12-13 19:30:02 +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
1caff77412 WIP: current progress 2025-12-13 19:30:02 +00:00
maxid
c984d40fd3 format code 2025-12-10 17:50:11 +01:00
Maximilian Dorninger
a603c65fd3 Update media_manager/tv/repository.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-08 00:38:15 +01:00
Maximilian Dorninger
bed2fe8fa7 Update media_manager/tv/repository.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-08 00:37:27 +01:00
maxid
53fbc703bf reduce logs in routers 2025-12-08 00:32:47 +01:00
maxid
643d2448b1 reduce logs 2025-12-08 00:30:59 +01:00