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
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
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
e1c65fc082
Jellyfin/emby: Combine info/version, add typing for versions
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-02-18 17:45:21 -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
348a0b8226
Dont show error on extract show/episode/movies output dict
...
Signed-off-by: Luis Garcia <git@luigi311.com>
2024-11-09 13:38:59 -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
30f31b2f3f
Remove unused combine_watched_dicts
...
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
27797cb361
Formatting
2024-08-28 17:14:37 -06:00
awakenedhaggis
b1639eab0f
Jellyfin/Emby: Check partial sync support
...
- add `is_partial_update_supported` method to each class to validate given version against earliest known supported version
- add `get_server_version` to get server version number
- add `update_partial` parameter to user update function, deciding whether or not to allow partial updates
2024-07-15 11:45:43 -06:00
Luis Garcia
d30e03b702
Jellyfin: Skip partial on version lower than 10.9
2024-07-15 03:01:53 -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
4185f5fc94
Fix tests to include partially watched jellyfin and emby
2024-06-02 18:19:48 -06:00
awakenedhaggis
0fa2a698ac
feat(jellyfin+emby): support marking item as partially watched
...
- this feature uses the new endpoint introduced with 24cbd64
2024-06-02 14:26:12 -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
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
9b38729b95
Watched: Use get for season
...
Use get to avoid KeyError if season doesnt exist.
2024-04-14 17:08:49 -06:00
Luis Garcia
402c286742
Plex: format
2024-04-14 17:06:37 -06:00
Luis Garcia
803d248cb8
Jellyfin: Skip if UserData is not avaliable
2024-04-05 00:47:24 -06:00
Luis Garcia
713be6970c
Jellyfin: Fix error status code
2024-04-05 00:26:24 -06:00
Luigi311
84899aef50
Return empty if season/show are missing from episode_watched_list
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-02-11 02:21:42 -07:00
Luigi311
033ef76cfe
Plex: Use username
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-25 17:41:43 -07:00
Luigi311
b32de7259b
Jellyfin: Swap out is not
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-18 15:39:52 -07:00
Luigi311
6744ebcb5b
Jellyfin: Skip season if no indexnumber
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-16 04:07:40 -07:00
Luigi311
c6b026a82d
Jellyfin: Remove redudent keys call
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-16 03:22:08 -07:00
Luigi311
cc706938ce
Jellyfin: Add generate_guids/locations. Cleanup
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-16 02:53:36 -07:00
Luigi311
84b98db36b
Jellyfin: Add timeout
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-16 00:50:22 -07:00
Luigi311
54adf0e56f
Jellyfin: Remove async
...
Signed-off-by: Luigi311 <git@luigi311.com>
2024-01-16 00:21:58 -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
Luigi311
873735900f
Functions: Add override_threads
...
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