Commit Graph

282 Commits

Author SHA1 Message Date
Maximilian Dorninger
b819d3b1d9 Update media_manager/movies/repository.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-08 00:38:26 +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
d479cc84f3 Update media_manager/movies/repository.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-08 00:37:58 +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
Maximilian Dorninger
e5c0690470 Merge pull request #220 from maxdorninger/fix-indexers
Make indexers for error resistant
2025-12-07 22:56:53 +01:00
Maximilian Dorninger
c17efaa306 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-07 22:50:07 +01:00
Maximilian Dorninger
1d1e678890 Update media_manager/movies/service.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-07 22:45:11 +01:00
Maximilian Dorninger
d680099a0b Update media_manager/tv/service.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-07 22:44:43 +01:00
Maximilian Dorninger
fd457049af Update media_manager/movies/router.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-07 22:43:18 +01:00
maxid
20100441d2 bug fix: make movie importing create necessary directories 2025-12-07 22:24:33 +01:00
maxid
3128c68ecb return error on failed movie import 2025-12-07 21:09:15 +01:00
maxid
417de8b289 save movie_files after successfully importing movies 2025-12-07 21:04:06 +01:00
maxid
c8347f19e9 save season_files after successfully importing tv shows 2025-12-07 21:00:52 +01:00
maxid
d2e8d5eeb7 make movies be importable 2025-12-07 19:56:54 +01:00
maxid
ec93c1abc4 remove argument self 2025-12-07 18:54:57 +01:00
maxid
5cdfb96717 break up movie torrent import function 2025-12-07 18:44:45 +01:00
maxid
b5a7263489 fix bug that prevents notification when multiple video files were found in a movie's directory 2025-12-07 18:32:54 +01:00
maxid
dadd850524 extract functions and schemas from tv module 2025-12-07 18:30:23 +01:00
maxid
1f7dd795d1 remove year at the end of directory name in order to improve search results 2025-12-07 18:04:01 +01:00
maxid
087f4b9f15 prefix imported directories with a dot and ignore such directories 2025-12-07 17:55:32 +01:00
maxid
d65e00206d fix bug that causes saving of notifications to fail 2025-12-07 17:22:18 +01:00
maxid
247a562f7b remove stray code from notification schemas 2025-12-07 17:15:41 +01:00
maxid
9bbd6ee6df add show_id part to route 2025-12-07 17:13:56 +01:00
maxid
64bcd85287 make add_show endpoint always return the show 2025-12-07 16:05:10 +01:00
maxid
579ceb6e87 remove response model from route which doe not return anything 2025-12-07 15:31:29 +01:00
maxid
fdaaf099cb add ability to import existing media 2025-12-07 15:29:03 +01:00
maxid
11cafa800a add route which returns the total count of all episodes 2025-12-06 21:04:58 +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
bb5c61ac79 remove /web prefix from the frontend_url variable 2025-11-29 15:54:01 +01:00
Maximilian Dorninger
af13c0eb59 Revert changes to redirect URLs in main.py
The BASE_PATH is already configured when the FastAPI object is created.
2025-11-29 15:32:08 +01:00
Colin Marc
31a23dd781 fix: redirect correctly when using a base path
FastAPI doesn't automatically do this for you.
2025-11-17 14:53:20 +01:00
maxDorninger
e8563b25e2 extend .gitignore; update logfile config and add env var to configure the location of the log file; add accompanying docs 2025-11-02 20:31:12 +01:00
Maximilian Dorninger
ea8c72ed8e Merge branch 'master' into improve-container-startup-behaviour 2025-11-02 14:29:57 +01:00
maxDorninger
b89320f25d prevent circular imports 2025-11-02 14:19:01 +01:00
Maximilian Dorninger
bc59eac490 remove log related to the removed init_db call in media_manager/main.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-02 13:41:17 +01:00
maxDorninger
a5c55cc591 remove database initialization function which conflicts with alembic 2025-11-02 13:22:07 +01:00
Jasper Jürgensen
45fc771c16 Build database URL using sqlalchemy URL create
String concatination can cause issues with special characters and can be
a risk for URL parameter injection.

fixes https://github.com/maxdorninger/MediaManager/issues/193
2025-11-02 12:20:35 +01:00
Tyler Satre
106190d7ac Improve local dev experience 2025-10-31 12:19:23 -04:00
Maximilian Dorninger
7c7c1b90ea Merge pull request #173 from maxdorninger/multithread-indexer-module
Speedup torrent searching and disable useless logs
2025-10-30 19:00:35 +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
724d358107 deactivate transmission logs 2025-10-30 17:47:58 +01:00
Maximilian Dorninger
855385b097 Apply suggestion from @Copilot
raise exception rather than return it and fix var name switch up

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-30 16:25:44 +01:00
maxDorninger
bbebbe92d9 format schemas.py 2025-10-30 16:20:20 +01:00