-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: start refactor on id handling * fix: more fixes towards handling ids * fix: more work done * fix: improved retry lib for logging * fix: update deps and add psutil * fix: more work on getting new content added * fix: fix retry/reset endpoints * fix: use event instead of add_item on retry endpoint * fix: issue with duplicate symlink detection on db init * fix: more work.. need to * fix: fixed session management when processing threads * fix: updated add_item * fix: fix event processing with item_id handling * fix: attempt #1 at duplicates * fix: attempt #2. use same removal process as remove endpoint * fix: check type first and delete duplicate shows appropriately * fix: repurpose deletions to work on any item * fix: revert duplicate changes. change retry lib back to normal, set to 24h * refactor: rename private methods to public, remove filtering items in content services * chore: rename store_item and add prefixes to threads to indentify * chore: Events to hold service, not service name, fixes multiple notifications * fix: stopiter error fix * fix: add logging... * fix: whoops * feat: start refactor on id handling * fix: more fixes towards handling ids * fix: more work done * fix: improved retry lib for logging * fix: update deps and add psutil * fix: more work on getting new content added * fix: fix retry/reset endpoints * fix: use event instead of add_item on retry endpoint * fix: issue with duplicate symlink detection on db init * fix: more work.. need to * fix: fixed session management when processing threads * fix: updated add_item * fix: fix event processing with item_id handling * fix: attempt #1 at duplicates * fix: attempt #2. use same removal process as remove endpoint * fix: check type first and delete duplicate shows appropriately * fix: repurpose deletions to work on any item * fix: revert duplicate changes. change retry lib back to normal, set to 24h * refactor: rename private methods to public, remove filtering items in content services * chore: rename store_item and add prefixes to threads to indentify * chore: Events to hold service, not service name, fixes multiple notifications * fix: stopiter error fix * fix: add logging... * fix: whoops --------- Co-authored-by: davidemarcoli <davide@marcoli.ch> Co-authored-by: Gaisberg <None>
- Loading branch information
1 parent
a4e0793
commit 612964e
Showing
21 changed files
with
938 additions
and
1,073 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,32 @@ | ||
# from typing import Generator | ||
# from program.media.item import MediaItem | ||
|
||
from .listrr import Listrr | ||
from .mdblist import Mdblist | ||
from .overseerr import Overseerr | ||
from .plex_watchlist import PlexWatchlist | ||
from .trakt import TraktContent | ||
|
||
__all__ = ["Listrr", "Mdblist", "Overseerr", "PlexWatchlist", "TraktContent"] | ||
__all__ = ["Listrr", "Mdblist", "Overseerr", "PlexWatchlist", "TraktContent"] | ||
|
||
# class Requester: | ||
# def __init__(self): | ||
# self.key = "content" | ||
# self.initialized = False | ||
# self.services = { | ||
# Listrr: Listrr(), | ||
# Mdblist: Mdblist(), | ||
# Overseerr: Overseerr(), | ||
# PlexWatchlist: PlexWatchlist(), | ||
# TraktContent: TraktContent() | ||
# } | ||
# self.initialized = self.validate() | ||
# if not self.initialized: | ||
# return | ||
|
||
# def validate(self): | ||
# return any(service.initialized for service in self.services.values()) | ||
|
||
# def run(self, item: MediaItem) -> Generator[MediaItem, None, None]: | ||
# """Index newly requested items.""" | ||
# yield item |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.