From 5c9e31625a66c691dedae1bb7efe824785773b04 Mon Sep 17 00:00:00 2001 From: Rauno Tegelmann Date: Sun, 28 Jul 2024 11:32:08 +0300 Subject: [PATCH] docs: update settings example --- README.md | 2 +- config/{settings.json.sample => settings.example.json} | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) rename config/{settings.json.sample => settings.example.json} (68%) diff --git a/README.md b/README.md index 04a3628b..8aff3198 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ services: Plex Rewind is available in the Community Apps store for Unraid. Search for "Plex Rewind" and install it from grtgbln's repository. -As noted in the installation instructions, you will need to download a copy of "settings.json" into the associated settings path **before** running the application. To download the file, you can open a terminal, enter the directory and run `curl -o settings.json https://raw.githubusercontent.com/RaunoT/plex-rewind/main/config/settings.json.sample`. +As noted in the installation instructions, you will need to download a copy of "settings.json" into the associated settings path **before** running the application. To download the file, you can open a terminal, enter the directory and run `curl -o settings.json https://raw.githubusercontent.com/RaunoT/plex-rewind/main/config/settings.example.json`. ## Updating diff --git a/config/settings.json.sample b/config/settings.example.json similarity index 68% rename from config/settings.json.sample rename to config/settings.example.json index 3f53b210..66230a7c 100644 --- a/config/settings.json.sample +++ b/config/settings.example.json @@ -11,7 +11,7 @@ "isDashboardActive": true, "isUsersPageActive": true, "activeLibraries": [], - "activeDashboardStatistics": [ + "activeDashboardItemStatistics": [ "year", "rating", "duration", @@ -19,6 +19,9 @@ "users", "requests" ], + "activeDashboardTotalStatistics": ["size", "duration", "count", "requests"], + "dashboardDefaultPeriod": "custom", + "dashboardCustomPeriod": "30", "googleAnalyticsId": "" }, "test": false