Luis Garcia
bf50defcb5
Use pathlib to extract file/folder to fix windows paths
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-09-10 21:37:17 -06:00
Luis Garcia
544649effd
Add support for env file support, set via ENV_FILE
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-05-18 20:25:13 +00:00
Luis Garcia
69cd73d965
Functions: Remove fstring from mark_file file path
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-05-15 03:46:51 +00:00
Luis Garcia
e6fa8ae745
Treewide: MyPy type fixes
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-03-07 23:24:33 +00:00
Luis Garcia
8503b087b2
Fix logfile
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-21 16:59:50 -07:00
Luis Garcia
588c23ce41
Switch logging to loguru
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-21 16:03:29 -07:00
Luis Garcia
ce5b810a5b
Use pydantic for structure
...
Complete redesign of everything using pydantic to create the
watched structure. This brings in type checking support and
simplifies a lot of things
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-19 10:51:10 -07:00
Luis Garcia
bf633c75d1
More typing
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-18 17:59:43 -07:00
Luis Garcia
170757aca1
Add lots of static typing
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-18 17:59:43 -07:00
Luis Garcia
7294241fed
Add server type and name to marklog
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2024-10-27 18:05:27 -06:00
Luis Garcia
bc09c873e9
Simplify get watched process. Only get watched for syncing libraries
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2024-10-27 18:05:27 -06:00
Luis Garcia
762e5f10da
Fix typos in variables
2024-08-28 17:14:45 -06:00
Luigi311
873735900f
Functions: Add override_threads
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-12 17:22:16 -07:00
Luigi311
95f2a9ad30
If only one worker, run in main thread to avoid overhead
2024-01-06 01:13:15 -07:00
Luigi311
de9180a124
Handle episode names are not unique
2024-01-05 14:58:24 -07:00
Luigi311
b8273f50c2
MARKFILE match LOGFILE
2024-01-05 14:57:55 -07:00
Luigi311
b311bf2770
Add MARK/DRYRUN logger levels
2024-01-05 14:57:55 -07:00
Luigi311
df13cef760
Add mark list support
2024-01-05 14:57:55 -07:00
Luigi311
116d50a75a
Add max_threads
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:55:56 -07:00
Luigi311
68e3f25ba4
Fix indexing
2023-04-10 16:59:54 -06:00
Luigi311
03de3affd7
Cleanup, seperate black/white lists setup
2023-03-08 22:05:32 -07:00
Luigi311
2bad887659
Seperate out functions to seperate scripts.
2023-03-08 22:04:48 -07:00
Luigi311
796be47a63
Move lots of setup_users to functions
2023-03-08 22:03:48 -07:00
Luigi311
aa76b83428
Use isinstance instead of type
2023-01-27 12:21:38 -07:00
Luigi311
f08ec43507
Skip library before erroring for multiple types.
2023-01-27 10:43:50 -07:00
Luigi311
1a4e3f4ec4
Move setup_black_white_list to functions. Fix trailing slash on jellyfin baseurl
2022-12-23 23:02:53 -07:00
Luigi311
4066228e57
Add more debug logging. Do not enable debug by default
2022-12-19 14:07:56 -07:00
Luigi311
39b33f3d43
Fix missing logging when using debug level
2022-12-19 13:22:42 -07:00
Luigi311
e8faf52b2b
Do not mark shows/movies that do not exist
2022-12-19 01:35:16 -07:00
Luigi311
d0746cec5a
Fix server 2 always running async runner. Speedup plex get watched
2022-12-18 22:27:42 -07:00
Luigi311
251937431b
Move cleanup_watched to functions and simplify
2022-12-18 01:50:45 -07:00
Luigi311
190a72bd3c
Cleanup
2022-08-17 22:53:27 -06:00
Luigi311
c848106ce7
Black cleanup
2022-08-17 22:31:23 -06:00
Luigi311
dd319271bd
Cleanup
2022-08-17 22:09:11 -06:00
Luigi311
827ace2e97
cleanup
2022-08-17 21:20:28 -06:00
Luigi311
88a7526721
Use async for jellyfin ( #23 )
...
* Use async
* Massive jellyfin watched speedup
Co-authored-by: Luigi311 <luigi311.lg@gmail.com>
2022-07-10 01:30:12 -06:00
luigi311
1efb4d8543
Fix debug
2022-07-06 17:22:35 -06:00
Luigi311
a3f3db8f4e
Use generate_library_guids_dict instead of library type
2022-07-05 18:09:08 -06:00
Luigi311
c104973f95
Add location based matching
2022-06-20 21:12:02 -06:00
Luigi311
afb71d8e00
Handle locations in generate_library_guids_dict
2022-06-20 16:07:52 -06:00
Luigi311
7cd492dc98
Remove worker=1
2022-06-19 03:03:17 -06:00
Luigi311
74b5ea7b5e
Fix username differences in watch list. Add python version check. More error handling.
2022-06-19 02:56:50 -06:00
Luigi311
aeb86f6b85
Fix user when using plex login. Fix sleep duration
2022-06-15 13:21:03 -06:00
Luigi311
0584a85f90
Add parallel threading
2022-06-14 22:36:44 -06:00
Luigi311
7695994ec2
Support x many servers of any combination
2022-06-13 22:30:41 -06:00
Luigi311
c18f0a2582
Add debug_level option
2022-06-13 18:16:55 -06:00
Luigi311
4657097f6d
Cleanup
2022-06-13 16:46:29 -06:00
Luigi311
ca84bbb19d
Improve show/movie matching by using IDs only
2022-06-13 14:49:37 -06:00
Luigi311
f3ce152084
Simplify plex marking logic
2022-06-11 13:41:03 -06:00
Luigi311
368bd35b16
Move skip to function. fix blacklist_library.
2022-06-11 12:49:44 -06:00