Luis Garcia
229ab59b44
Do not fail on some errors
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-05-15 03:38:33 +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
5b644a54a2
Plex: Better reliability
2025-03-07 20:23:02 +00:00
Luis Garcia
54bd6e836f
Plex: Use username for watch key if exists
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-26 22:46:16 +00:00
Luis Garcia
c62809c615
More logging
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-23 00:15:14 +00: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
de32d59aa1
Better initial library filtering
...
Filter for only tv shows and movie type libraries in plex and jellyfin.
Jellyfin no longer require pulling in multiple different items and
instead use the actual library category
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-21 14:41:42 -07:00
Luis Garcia
998f2b1209
Formatting
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-21 14:41:19 -07:00
Luis Garcia
f3801a0bd2
Plex: only fetch watched or partially watched episodes
...
Instead of fetching all episodes and checking if watched or view time it
is faster to search for only watched and partially watched episodes.
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-19 13:52:05 -07:00
Luis Garcia
4d0f1d303f
Plex: Remove logging if locations or guids
...
Remove the logging of if an item has locations or guids as that
forces a fetch of that data which defeats the purpose of generate
guid/location variables
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-19 12:44:21 -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
58749a4fb8
Plex: Improve variable names to avoid confusion
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-18 17:45:21 -07:00
Luis Garcia
51ec69f651
Simplify search_mapping
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-18 17:45:21 -07:00
Luis Garcia
62d0319aad
Remove unused
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2024-10-27 18:05:27 -06:00
Luis Garcia
a096a09eb7
CI: Fix Validation. Print marklog on failed validation
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2024-10-27 18:05:27 -06: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
1a7178e32d
Jellyfin: Remove episode filter as it doesnt exist in jellyfin
2024-06-02 23:11:11 -06:00
Luis Garcia
7119956ec7
Remove seasons from watch list
2024-06-02 20:14:02 -06:00
Luis Garcia
5b1933cb08
format
2024-04-15 15:03:18 -06:00
Luis Garcia
ae71ca0940
Jellyfin/Plex: Log when guid items are missing
2024-04-14 17:44:31 -06:00
Luis Garcia
402c286742
Plex: format
2024-04-14 17:06:37 -06:00
Luigi311
033ef76cfe
Plex: Use username
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-25 17:41:43 -07:00
Luigi311
362d54b471
plex: guids
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-12 17:55:28 -07:00
Luigi311
96fe367562
Add GENERATE_LOCATIONS
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-12 17:22:48 -07:00
Luigi311
f5835e1e72
Add GENERATE_GUIDS enviornment
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-12 17:22:48 -07:00
Luigi311
fe65716706
Plex: Remove recursive thread calls
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-12 17:22:16 -07:00
Somer Hayter
c6affc3108
Plex: add logging for failed find_video + get_video_status
2024-01-13 00:10:34 +11:00
Somer Hayter
59b49fd0df
Plex: Fix guid lookup in find_video and get_video_status
2024-01-13 00:10:34 +11:00
Luigi311
f80c20d70c
Watched: Remove deepcopy due to performance
2024-01-05 23:46:15 -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
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
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
116d50a75a
Add max_threads
...
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
43ead4bb0f
Plex: Fix username/title selection
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
9ff3bdf302
Add MARK/DRYRUN logger levels
2023-11-13 01:48:07 -07:00