Closed nwithan8 closed 4 months ago
documentation/DOCUMENTATION.md
[style] ~244-~244: Consider a shorter alternative to avoid wordiness. Context: ...ia Server to collect this information. In order to establish a connection to the Plex Medi... (IN_ORDER_TO_PREMIUM) --- [style] ~246-~246: Consider a shorter alternative to avoid wordiness. Context: ...ex token stored in Tautulli's database. In order to retrieve this token, SQL queries must b... (IN_ORDER_TO_PREMIUM)
modules/tasks/performance_stats.py (5)
`1-2`: **Imports look good.** The imports for `List` and `plexapi.server` are necessary for the new methods and are correctly added. Also applies to: 4-4 --- `34-49`: **Error handling and logic look good.** The function correctly handles errors when the Plex API is not available and retrieves CPU usage from the Plex API. --- `50-64`: **Error handling and logic look good.** The function correctly handles errors when the Plex API is not available and retrieves memory usage from the Plex API. --- `66-72`: **Error handling and logic look good.** The function correctly handles errors when the specified path does not exist and retrieves disk usage information. --- `88-102`: **Logic and integration look good.** The function correctly updates performance stats for CPU, memory, and disk usage by calling the new methods.modules/tautulli/tautulli_connector.py (1)
`48-53`: **New attributes and error handling look good.** The new attributes `has_plex_pass` and `plex_api` are correctly added, and the error handling for Plex API preparation is appropriate.
Summary by CodeRabbit
New Features
Documentation
Refactor
Bug Fixes
Chores
tautulli
version requirement to4.3.*
.