-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] Add shortcut to initialize Plex API instance for Tautulli-conn…
…ected Plex Media Server (#48) - Add shortcut to initialize Plex API instance for Tautulli-connected Plex Media Server - Add PlexAPI to requirements
- Loading branch information
Showing
4 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ pytz==2024.* | |
python-dotenv==1.0.* | ||
packaging==24.* | ||
typing-extensions | ||
PlexAPI==4.15.*,>=4.15.14 |
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,4 +1,5 @@ | ||
from tautulli.exceptions.api_exception import ApiException | ||
from tautulli.exceptions.plex_exception import PlexException | ||
from tautulli.exceptions.base_exception import TautulliException | ||
from tautulli.exceptions.http_exception import HttpException | ||
from tautulli.exceptions.json_exception import JsonException |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from tautulli.exceptions.base_exception import TautulliException | ||
|
||
|
||
class PlexException(TautulliException): | ||
def __init__(self, message: str): | ||
super().__init__(message=message) |
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