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
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
49b95df59d
add backend code to get/set tv library
2025-07-16 02:00:20 +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
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
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
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
1fddf876c8
refactor torrent module to use dependency injection and decouple tv and torrent module for better separation of concerns
2025-06-08 11:38:47 +02:00
maxDorninger
cc5e9837ec
add default values to config and fix import in tv/service
2025-06-07 15:49:41 +02:00
maxDorninger
231c36efe0
run linter and formatter
2025-06-07 13:29:48 +02:00
maxDorninger
1fab5d8056
run linter and formatter
2025-06-07 13:23:00 +02:00
maxDorninger
d31658a82f
update router and exceptions and create dependencies.py
2025-06-07 13:19:16 +02:00
maxDorninger
5b26b3a665
create tv service and repository classes
2025-06-06 21:53:05 +02:00
maxDorninger
e22c16dc28
formatting files and adding support for jackett
2025-06-01 18:47:18 +02:00
maxDorninger
d21df4068b
format code
2025-05-31 18:04:03 +02:00
maxDorninger
415a6f80c1
fix import in tv/service.py
2025-05-31 14:51:36 +02:00
maxDorninger
289bfec46a
feat: implement automatic hourly downloads for approved season requests
2025-05-31 14:40:15 +02:00
maxDorninger
40c90d90ed
feat: add automatic downloads for approved season requests
2025-05-31 13:45:50 +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