Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
chkpwd committed Oct 24, 2024
1 parent 57092c4 commit 535c370
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.pub
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ SONARR_API_KEY="<your_api_key>"
PLEX_URL="http://127.0.0.1:32400"
PLEX_TOKEN="<your_plex_token>"
CREATE_PLEX_COLLECTION="True"
MONITOR_NON_FILLER_EPISODES="True"
MONITOR_NON_FILLER_SONARR_EPISODES="True"
PLEX_ANIME_LIBRARY="<your_plex_anime_library>"
5 changes: 3 additions & 2 deletions constants/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
sonarr_url (str): The URL of the Sonarr server.
sonarr_series_id (int): The ID of the Sonarr series to update.
sonarr_api_key (str): The API key for the Sonarr server.
monitor_non_filler_sonarr_episodes (bool): Whether or not to monitor non-filler episodes. Defaults to False.
plex_url (str): The URL of the Plex server. Optional.
plex_token (str): The token for the Plex server. Optional.
create_plex_collection (bool): Whether or not to create a Plex collection for the anime. Defaults to False.
Expand Down Expand Up @@ -42,8 +43,8 @@ def __init__(self):
"SONARR_SERIES_ID", required=True, default=""
))
self.sonarr_api_key: str = self._get_env_var("SONARR_API_KEY", required=True)
self.monitor_sonarr_episodes: bool = bool(
self._get_env_var("MONITOR_NON_FILLER_EPISODES", default=""
self.monitor_non_filler_sonarr_episodes: bool = bool(
self._get_env_var("MONITOR_NON_FILLER_SONARR_EPISODES", default=""
))
self.plex_url: str = self._get_env_var("PLEX_URL")
self.plex_token: str = self._get_env_var(
Expand Down

0 comments on commit 535c370

Please sign in to comment.