diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index d13e8700..9afca8e9 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -34,14 +34,15 @@ available_notification_agents = notifiers.available_notification_agents()
@@ -83,6 +84,15 @@ available_notification_agents = notifiers.available_notification_agents()

Set your preferred time format. Click here to see the parameter list.

+
+ +

Group successive play history as a single entry in tables.

+
+

+ +

Homepage Statistics

@@ -115,7 +125,7 @@ available_notification_agents = notifiers.available_notification_agents()

-
+

Web Interface

@@ -164,7 +174,7 @@ available_notification_agents = notifiers.available_notification_agents()

-
+

Authentication

@@ -216,7 +226,7 @@ available_notification_agents = notifiers.available_notification_agents()

-
+

Plex Media Server

@@ -272,7 +282,7 @@ available_notification_agents = notifiers.available_notification_agents()
-
+

Plex.tv Authentication

@@ -315,7 +325,7 @@ available_notification_agents = notifiers.available_notification_agents()

-
+

Extra Settings

@@ -334,7 +344,7 @@ available_notification_agents = notifiers.available_notification_agents()

-
+

Monitoring Settings

@@ -416,7 +426,7 @@ available_notification_agents = notifiers.available_notification_agents()

-
+

Global Notification Toggles

@@ -566,7 +576,7 @@ available_notification_agents = notifiers.available_notification_agents()

-
+

Notification Agents

diff --git a/plexpy/config.py b/plexpy/config.py index 51145685..5cf7b109 100644 --- a/plexpy/config.py +++ b/plexpy/config.py @@ -73,6 +73,7 @@ _CONFIG_DEFINITIONS = { 'GIT_BRANCH': (str, 'General', 'master'), 'GIT_PATH': (str, 'General', ''), 'GIT_USER': (str, 'General', 'drzoidberg33'), + 'GROUP_HISTORY_TABLES': (int, 'General', 0), 'GROWL_ENABLED': (int, 'Growl', 0), 'GROWL_HOST': (str, 'Growl', ''), 'GROWL_PASSWORD': (str, 'Growl', ''), diff --git a/plexpy/webserve.py b/plexpy/webserve.py index 6bb6f9ac..d9840b61 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -464,7 +464,8 @@ class WebInterface(object): "home_stats_type": checked(plexpy.CONFIG.HOME_STATS_TYPE), "home_stats_count": plexpy.CONFIG.HOME_STATS_COUNT, "buffer_threshold": plexpy.CONFIG.BUFFER_THRESHOLD, - "buffer_wait": plexpy.CONFIG.BUFFER_WAIT + "buffer_wait": plexpy.CONFIG.BUFFER_WAIT, + "group_history_tables": checked(plexpy.CONFIG.GROUP_HISTORY_TABLES) } return serve_template(templatename="settings.html", title="Settings", config=config) @@ -485,7 +486,8 @@ class WebInterface(object): "tv_notify_on_start", "movie_notify_on_start", "music_notify_on_start", "tv_notify_on_stop", "movie_notify_on_stop", "music_notify_on_stop", "tv_notify_on_pause", "movie_notify_on_pause", "music_notify_on_pause", "refresh_users_on_startup", - "ip_logging_enable", "video_logging_enable", "music_logging_enable", "pms_is_remote", "home_stats_type" + "ip_logging_enable", "video_logging_enable", "music_logging_enable", "pms_is_remote", "home_stats_type", + "group_history_tables" ] for checked_config in checked_configs: if checked_config not in kwargs: