Commit Graph

65 Commits

Author SHA1 Message Date
maxDorninger
6203ec5ce0 format files 2025-09-12 20:09:44 +02:00
maxDorninger
6f8d3eea4e update type of the library parameter to string, instead of generating a list of possible values dynamically 2025-09-12 20:05:02 +02:00
maxDorninger
29ee6ed53b add library field to PublicShow schema 2025-08-01 22:52:13 +02:00
Maximilian Dorninger
89f4a76825 Fix regex for importing episodes (#128)
This pull request makes a small but significant change to the
`import_torrent_files` method in `media_manager/movies/service.py`. The
change updates the regular expression used to match subtitle file names,
making it more flexible in recognizing language codes.

*
[`media_manager/movies/service.py`](diffhunk://#diff-57cfa309860beba31573487107eba3f7ef8ef60429c48c02fb262b9f4ff9b8d3L527-R527):
Updated the regular expression in `import_torrent_files` to match
language codes in subtitle file names that are separated by either a dot
(`.`) or a space (` `), instead of only a dot.

It fixes #124.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-01 15:21:55 +02:00
maxDorninger
a095e1987f add function remove_special_characters and use it in the import torrent files functions, it removes characters that break SMB or jellyfin 2025-07-31 22:42:31 +02:00
maxDorninger
b6f5f8b253 format files 2025-07-17 11:37:58 +02:00
maxDorninger
c4db283c63 add evaluate_indexer_query_results function to process query results based on scoring rules and use this function in tv and movie modules 2025-07-17 00:29:30 +02:00
maxDorninger
b18b11c682 change string value for default/no library from empty string to "Default" 2025-07-16 14:24:42 +02:00
maxDorninger
26d0ca567f add proper error handling if no usenet/torrent download client is available when getting all torrents 2025-07-16 13:23:26 +02:00
maxDorninger
c186df94b8 add error handling to automatic imports of torrents and add proper db session handling to scheduled tasks 2025-07-16 12:03:46 +02:00
maxDorninger
d5c092e08d add backend code for setting/getting the libraries for movies 2025-07-16 11:00:48 +02:00
maxDorninger
49b95df59d add backend code to get/set tv library 2025-07-16 02:00:20 +02:00
maxDorninger
4ca910ec98 add library to config and to models and schemas 2025-07-16 01:19:07 +02:00
maxDorninger
42d42920a5 correct sorting of torrents in tv service 2025-07-15 18:49:09 +02:00
maxDorninger
d9ea02fdc5 fix show pages not loading if download client is not reachable 2025-07-15 18:35:54 +02:00
maxDorninger
1b784c35c1 add allencompassing config, replace basic config usage with allencompassing config usage 2025-07-10 21:47:37 +02:00
maxDorninger
b6a5385864 format files 2025-07-09 20:54:50 +02:00
maxDorninger
f2edfb076c add usenet support to indexer module, add make jackett and prowlarr search for either tv or movies 2025-07-09 20:52:01 +02:00
maxDorninger
e17e6d8271 add usenet bool to various schemas/models 2025-07-06 15:17:16 +02:00
maxDorninger
efc3846860 format files 2025-07-01 16:03:17 +02:00
maxDorninger
92e00f118c add notifications for movies and tv module 2025-07-01 16:01:57 +02:00
maxDorninger
3088c65b09 fix bugs which causes imported torrents to not be marked as such, add try-except to extract archive function which prevents the import from stopping if the archives are already extracted, 2025-07-01 11:52:23 +02:00
maxDorninger
ad76d7c338 fix bug which causes the backend to crash when trying to import a season (function returns 3 values, but only 2 were expected) 2025-06-30 10:08:12 +02:00
maxDorninger
02807af6e9 format files 2025-06-24 19:32:21 +02:00
maxDorninger
c2f89d9a90 add proper validation error messages to custom model validators for requests 2025-06-24 19:31:08 +02:00
maxDorninger
39c244c419 add proper validation error messages to custom model validators for requests 2025-06-24 19:27:07 +02:00
maxDorninger
bdc3a4aea0 add movie tasks to scheduled tasks 2025-06-24 19:25:30 +02:00
maxDorninger
d0c26f3e6e fix code for importing movies 2025-06-24 17:37:58 +02:00
maxDorninger
9360b88842 format code with ruff 2025-06-22 17:41:50 +02:00
maxDorninger
529b578b0b display checkbox conditionally 2025-06-22 15:15:50 +02:00
maxDorninger
87cb9088c4 add logic to backend to automatically download new seasons 2025-06-22 14:03:41 +02:00
maxDorninger
4002ce1e29 remove nonsensical code from tv router 2025-06-10 21:32:36 +02:00
maxDorninger
821ec2797a switch tv module to new metadata provider dependencies 2025-06-10 21:13:33 +02:00
maxDorninger
611d5a2b03 auto update show metadata weekly 2025-06-09 22:20:08 +02:00
maxDorninger
d525231959 add ended attribute to show 2025-06-09 21:16:27 +02:00
maxDorninger
13c0d37602 replace season and episode numbers with external ids to differentiate between seasons/episodes 2025-06-09 20:02:46 +02:00
maxDorninger
45782a3137 replace season and episode numbers with external ids to differentiate between seasons/episodes 2025-06-09 20:02:34 +02:00
maxDorninger
e7109607e0 add update metadata route 2025-06-09 13:37:49 +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
6b137c5529 add season route and update season pages 2025-06-09 00:27:16 +02:00
maxDorninger
ec2493afdb add logic to convert images to avif and webp 2025-06-08 21:32:59 +02:00
maxDorninger
302890171f refactor repository module to import NotFoundError from media_manager.exceptions and fix return statement in delete operation 2025-06-08 18:42:02 +02:00
maxDorninger
3d9e9d00d0 add get_torrent_by_id dependency, add 404 error message and make NotFoundException globally available 2025-06-08 18:40:30 +02:00
maxDorninger
d82f9a3d9e add back feature to auto import all torrents 2025-06-08 18:26:56 +02:00
maxDorninger
4c414d13ef refactor indexer module imports and format code 2025-06-08 17:51:47 +02:00
maxDorninger
a13a7d5bb3 adjust existing tests 2025-06-08 17:09:03 +02:00
maxDorninger
b42b86e99b refactor TvService to use IndexerService 2025-06-08 17:03:36 +02:00
maxDorninger
32de886dbe refactor indexer module to implement dependency injection 2025-06-08 16:59:27 +02:00
maxDorninger
1e79869d1e fix requests not working 2025-06-08 15:56:36 +02:00
maxDorninger
41222b2452 fix season requests not working 2025-06-08 12:08:49 +02:00