Commit Graph

49 Commits (98266de67804ccdd0270dc91186ebcfdd4e70575)

Author SHA1 Message Date
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 e6fa8ae745 Treewide: MyPy type fixes
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-03-07 23:24:33 +00:00
Luis Garcia ea85a31d9c Move server watched log to trace
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-26 20:23:40 +00:00
Luis Garcia d15759570e Reconfigure the logger on each loop so the logs are rotated on each run
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-23 19:42:55 +00:00
Luis Garcia fcd6103e17 Docker: Set default env values to prevent issues
Set default values to prevent issues where it thinks values are set and
causing json read errors

Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-21 23:36:19 -07: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 998f2b1209 Formatting
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-21 14:41:19 -07:00
Luis Garcia 46fa5e7c9a Use list instead of tuple for servers
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 920bbbb3be Move more functions out of main 2024-09-05 16:21:06 -06:00
Luis Garcia 762e5f10da Fix typos in variables 2024-08-28 17:14:45 -06:00
Luis Garcia 4185f5fc94 Fix tests to include partially watched jellyfin and emby 2024-06-02 18:19:48 -06:00
Luis Garcia b67e6d7257 Add skip if nothing is being synced 2024-06-01 23:21:46 -06:00
Luis Garcia 1f7da2f609 Add support for emby 2024-06-01 23:21:07 -06:00
Luigi311 54adf0e56f Jellyfin: Remove async
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-16 00:21:58 -07:00
Luigi311 4b02aae889 Show average time on exit
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:57:55 -07:00
Luigi311 c91ba0b1b3 Action: Add test
Spins up jellyfin and plex containers to test against
2024-01-05 14:57:55 -07:00
Luigi311 4de25a0d4a Print server info
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:57:44 -07:00
Luigi311 fd281a50b6 Log both servers users instead of exiting immediately 2024-01-05 14:55:56 -07:00
Agustín Morantes 916b16b12c Add "RUN_ONLY_ONCE" option 2023-04-10 14:39:28 -03:00
Luigi311 7087d75efb Fix exception 2023-03-08 22:15:03 -07: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 dc1fe11590 Check for response status 200 on jellyfin query 2023-03-08 21:49:56 -07:00
JChris246 dca54cf4fb feat:add flags to control the direction of syncing 2023-03-08 21:30:28 -04:00
Luigi311 6c1ee4a7dc Log server users 2023-01-30 11:56:27 -07:00
Luigi311 1eb92cf7c1 black formatting 2022-12-23 23:11:38 -07:00
Luigi311 111e284cc8 Cleanup 2022-12-23 23:10:51 -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 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 b360c9fd0b Remove unnecessary deepcopy 2022-08-18 00:15:42 -06: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 942ec3533f Cleanup log file on runs 2022-08-17 21:43:51 -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 a3f3db8f4e Use generate_library_guids_dict instead of library type 2022-07-05 18:09:08 -06:00
Luigi311 de619de923 Add more logging, fix username in jellyfin mark. 2022-07-05 16:35:22 -06:00
Luigi311 c104973f95 Add location based matching 2022-06-20 21:12:02 -06:00
Luigi311 2ad6b3afdf Add pytest 2022-06-20 15:48:07 -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