Update plex.py with plex db cache size information

pull/1566/head
bullmoose20 1 year ago committed by GitHub
parent f38f73791f
commit 299f165d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -445,6 +445,8 @@ class Plex(Library):
logger.info(f"Running on {self.PlexServer.platform} version {self.PlexServer.platformVersion}") logger.info(f"Running on {self.PlexServer.platform} version {self.PlexServer.platformVersion}")
pp_str = f"PlexPass: {self.PlexServer.myPlexSubscription}" pp_str = f"PlexPass: {self.PlexServer.myPlexSubscription}"
srv_settings = self.PlexServer.settings srv_settings = self.PlexServer.settings
db_cache = srv_settings.get("DatabaseCachesize")
logger.info(f"Plex DB cache setting = {db_cache}")
uc_str = f"Unknown update channel." uc_str = f"Unknown update channel."
if srv_settings.get("butlerUpdateChannel").value == '16': if srv_settings.get("butlerUpdateChannel").value == '16':
uc_str = f"Public update channel." uc_str = f"Public update channel."

Loading…
Cancel
Save