Commit Graph

211 Commits (e48533dfbdc8dfd38d7d5a71f38737e87af8ecd9)

Author SHA1 Message Date
Somer Hayter 59b49fd0df Plex: Fix guid lookup in find_video and get_video_status 2024-01-13 00:10:34 +11:00
Luigi311 95f2a9ad30 If only one worker, run in main thread to avoid overhead 2024-01-06 01:13:15 -07:00
Luigi311 7317e8533d Watched: Use enumerate 2024-01-06 00:16:13 -07:00
Luigi311 f80c20d70c Watched: Remove deepcopy due to performance 2024-01-05 23:46:15 -07:00
Luigi311 01fc13c3e0 Merge branch 'dev' of github.com:luigi311/JellyPlex-Watched into dev 2024-01-05 22:45:19 -07:00
Luigi311 1edfecae42 Cleanup 2024-01-05 22:44:56 -07:00
Luigi311 9dab9a4632
Merge branch 'main' into dev 2024-01-05 15:12:54 -07:00
Luigi311 98a824bfdc Plex: Format 2024-01-05 14:58:24 -07:00
Luigi311 8fa9351ef1 Plex: Only partially watched more than 1 min 2024-01-05 14:58:24 -07:00
Roberto Banić 64b2197844 Remove unnecessary check 2024-01-05 14:58:24 -07:00
Roberto Banić 26f1f80be7 Refactor get_user_library_watched 2024-01-05 14:58:24 -07:00
Roberto Banić 2e4c2a6817 Refactor get_user_library_watched_show 2024-01-05 14:58:24 -07:00
Roberto Banić 9498335e22 Deduplicate get_movie_guids and get_episode_guids 2024-01-05 14:58:24 -07:00
Luigi311 de9180a124 Handle episode names are not unique 2024-01-05 14:58:24 -07:00
Luigi311 9739b27718 Remove failed message from show/episode/movie dict
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:57:55 -07:00
Luigi311 bdf6476689 Watched: combine_watched_dicts check types
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:57:55 -07:00
Luigi311 b8b627be1a Use season number instead of season name
Using season name is not reliable as it can vary between servers
and can be overridden by the user.

Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:57:55 -07:00
Luigi311 2e0ec9aa38 Plex: Use updateTimeline instead of updateProgress
Not all accounts have access to updateProgress, so use updateTimeline instead

Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:57:55 -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 b8273f50c2 MARKFILE match LOGFILE 2024-01-05 14:57:55 -07:00
Luigi311 1841b0dea6 Jellyfin: Remove headers append 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 4de25a0d4a Print server info
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:57:44 -07:00
Luigi311 43d6bc0d82 Timeout issues (#103)
* Add timeout support for jellyfin requests

Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:57:44 -07:00
Luigi311 116d50a75a Add max_threads
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:55:56 -07:00
Luigi311 03617dacfc Jellyfin: Remove isPlayed, Use get for name
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:55:56 -07:00
Luigi311 e6b33f1bc9 Jellyfin: Fix locations logic
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:55:56 -07:00
Luigi311 7ef37fe848 Jellyfin: Check for provider_source in episode
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:55:56 -07:00
Luigi311 dd64617cbd Jellyfin: Handle missing paths
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:55:56 -07:00
Lai Jiang a227c01a7f Fix a type 2024-01-05 14:55:56 -07:00
Luigi311 da53609385 Jellyfin: Remove reassigning jellyfin_episode_id
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:55:56 -07:00
Luigi311 e94a8fb2c3 Jellyfin: Fix errors with missing matches
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-05 14:55:56 -07:00
Luigi311 945ffb2fb3 Plex: Cleanup username_title 2024-01-05 14:55:56 -07:00
Luigi311 e4b4c7ba39 plex: Fix username/title 2024-01-05 14:55:56 -07:00
Luigi311 43ead4bb0f Plex: Fix username/title selection 2024-01-05 14:55:56 -07:00
Luigi311 c4a2f8af39 Users: Default to username and fall back to title 2024-01-05 14:55:56 -07:00
Luigi311 fd281a50b6 Log both servers users instead of exiting immediately 2024-01-05 14:55:56 -07:00
Luigi311 117932e272 Use season number instead of season name
Using season name is not reliable as it can vary between servers
and can be overridden by the user.

Signed-off-by: Luigi311 <git@luigi311.com>
2023-12-10 10:41:59 -07:00
Luigi311 0190788658 Plex: Use updateTimeline instead of updateProgress
Not all accounts have access to updateProgress, so use updateTimeline instead

Signed-off-by: Luigi311 <git@luigi311.com>
2023-12-10 09:38:19 -07:00
Luigi311 b46d4a7166 Show average time on exit
Signed-off-by: Luigi311 <git@luigi311.com>
2023-12-10 09:38:19 -07:00
Luigi311 994d529f59 Action: Add test
Spins up jellyfin and plex containers to test against
2023-12-10 09:38:19 -07:00
Luigi311 a3fc53059c MARKFILE match LOGFILE 2023-11-13 02:30:11 -07:00
Luigi311 89a2768fc9 Jellyfin: Remove headers append 2023-11-13 01:59:18 -07:00
Luigi311 9ff3bdf302 Add MARK/DRYRUN logger levels 2023-11-13 01:48:07 -07:00
Luigi311 2c48e89435 Add mark list support 2023-11-13 01:12:08 -07:00
Luigi311 bf5d875079 Print server info
Signed-off-by: Luigi311 <git@luigi311.com>
2023-09-28 20:00:47 -06:00
Luigi311 aef884523b
Merge branch 'main' into dev 2023-09-28 19:24:04 -06:00
Luigi311 3a0e60c772 Add max_threads
Signed-off-by: Luigi311 <git@luigi311.com>
2023-09-28 10:00:07 -06:00
Luigi311 ac7f389563
Timeout issues (#103)
* Add timeout support for jellyfin requests

Signed-off-by: Luigi311 <git@luigi311.com>
2023-09-25 01:59:16 -06:00
Luigi311 8fab4304a4 Jellyfin: Remove isPlayed, Use get for name
Signed-off-by: Luigi311 <git@luigi311.com>
2023-08-16 19:00:17 -06:00
Luigi311 19f77c89e7 Jellyfin: Fix locations logic
Signed-off-by: Luigi311 <git@luigi311.com>
2023-07-18 16:27:13 -06:00
Luigi311 29f55104bc Jellyfin: Check for provider_source in episode
Signed-off-by: Luigi311 <git@luigi311.com>
2023-06-28 16:52:23 -06:00
Luigi311 ff2e2deb20 Jellyfin: Handle missing paths
Signed-off-by: Luigi311 <git@luigi311.com>
2023-06-28 16:21:07 -06:00
Lai Jiang aa5d97a0d5
Fix a type 2023-05-29 21:08:12 -04:00
Luigi311 1351bfc1cf Jellyfin: Remove reassigning jellyfin_episode_id
Signed-off-by: Luigi311 <git@luigi311.com>
2023-05-23 14:33:42 -06:00
Luigi311 8986c1037b Jellyfin: Fix errors with missing matches
Signed-off-by: Luigi311 <git@luigi311.com>
2023-05-22 01:22:34 -06:00
Luigi311 9f61c7338d Plex: Cleanup username_title 2023-05-17 13:22:00 -06:00
Luigi311 7eba46b5cb plex: Fix username/title 2023-05-15 14:57:46 -06:00
Luigi311 aa177666a5 Plex: Fix username/title selection 2023-05-15 11:17:28 -06:00
Luigi311 7de7b42fd2 Users: Default to username and fall back to title 2023-05-15 11:10:03 -06:00
Luigi311 03d1fd8019 Log both servers users instead of exiting immediately 2023-05-15 10:44:30 -06:00
Roberto Banić e51cf6e482
Refactor black/whitelist processing 2023-04-13 12:56:28 +02:00
Luigi311 fc80f50560 Fix codeql issues 2023-04-11 08:57:49 -06:00
Luigi311 4870ff9e7a Cleanup 2023-04-11 08:48:30 -06:00
Luigi311 68e3f25ba4 Fix indexing 2023-04-10 16:59:54 -06:00
Agustín Morantes 916b16b12c Add "RUN_ONLY_ONCE" option 2023-04-10 14:39:28 -03:00
Luigi311 a178d230de Jellfyfin: Fix more issues with ids 2023-04-07 17:31:25 -06:00
Luigi311 fffb04728a Jellfyin: Fix issue with ids. Do not show marked for partial 2023-04-07 15:17:00 -06:00
Luigi311 25fe426720 Plex: Implement partial play syncing 2023-03-26 23:55:56 -06:00
Luigi311 8d53b5b8c0 Take into account comparing two partially watched/one watched video 2023-03-23 22:50:13 -06:00
Luigi311 0774735f0f Plex: Add title to episode_guids 2023-03-23 22:49:14 -06:00
Luigi311 a5540b94d5 Gather partially watched movie/episodes with todo for processing. 2023-03-22 19:48:19 -06:00
Luigi311 962b1149ad Plex: Use token, Check for token on mark 2023-03-18 12:15:59 -06:00
Luigi311 a8edee0354 Jellyfin: Fix user_watched_temp overwrite issues. 2023-03-18 12:12:12 -06:00
Luigi311 3627dde64d Plex: Do not error if user has no access 2023-03-18 11:56:56 -06:00
Luigi311 9041fee7ad Format 2023-03-09 00:48:29 -07:00
Luigi311 9af6c9057c Simplify plex update_user_watched 2023-03-09 00:36:55 -07:00
Luigi311 98f96ed5c7 Fix user being added when shouldnt. Add test_users 2023-03-08 23:48:54 -07:00
Luigi311 3e15120e2a Fix library whitelist, add library tests 2023-03-08 23:17:54 -07:00
Luigi311 5824e6c0cc cleanup 2023-03-08 22:21:40 -07:00
Luigi311 7087d75efb Fix exception 2023-03-08 22:15:03 -07:00
Luigi311 1ee055faf5 format 2023-03-08 22:05:32 -07:00
Luigi311 404089dfca Seperate generate_library_guids_dict 2023-03-08 22:05:32 -07:00
Luigi311 ed24948dee Better logging on library skip 2023-03-08 22:05:32 -07:00
Luigi311 1f16fcb8eb Seperate check_skip_logic, append reasons 2023-03-08 22:05:32 -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 b960bccb86 Plex: Fix guids error on mark 2023-02-25 18:42:07 -07:00
Luigi311 218037200c Jellyfin: Fix tv show searching for watched 2023-02-25 18:27:01 -07:00
Luigi311 4ac670e837 Plex: Do not error if guids can not be gathered. Parallelize show processing for get watched. 2023-02-25 16:58:57 -07:00
Luigi311 96eff65c3e Do not error if failed to get library watched 2023-02-25 15:03:27 -07:00
JChris246 14885744b1 fix: correct some spelling issues 2023-02-22 00:09:30 -04:00
Luigi311 6c1ee4a7dc Log server users 2023-01-30 11:56:27 -07:00
Luigi311 9a8e799e68 Recursive all the things. Use includeItemType 2023-01-30 11:46:12 -07:00
Luigi311 ffec4e2f28 Support multiple library types 2023-01-28 16:33:36 -07:00