2
0
Fork 0
mirror of https://github.com/meisnate12/Plex-Meta-Manager synced 2025-03-03 06:47:30 +00:00

Update plex.py with DatabaseCacheSize

This commit is contained in:
bullmoose20 2023-08-24 00:17:20 -04:00 committed by GitHub
parent 299f165d11
commit 85830d4f76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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