diff --git a/data/interfaces/default/css/plexpy.css b/data/interfaces/default/css/plexpy.css index 60d33cb6..76441f73 100644 --- a/data/interfaces/default/css/plexpy.css +++ b/data/interfaces/default/css/plexpy.css @@ -2710,6 +2710,13 @@ div[id^='media_info_child'] div[id^='media_info_child'] div.dataTables_scrollHea .dataTables_scrollBody { -webkit-overflow-scrolling: touch; } +.current-activity-row { + background-color: rgba(255,255,255,.1) !important; +} +.current-activity-row:hover { + background-color: rgba(255,255,255,0.125) !important; +} + #search_form { width: 300px; padding: 8px 15px; @@ -3015,4 +3022,4 @@ a:hover .overlay-refresh-image:hover { text-align: center; padding-top: 10px; padding-bottom: 10px; -} \ No newline at end of file +} diff --git a/data/interfaces/default/js/tables/history_table.js b/data/interfaces/default/js/tables/history_table.js index 7d8c819e..384e03b2 100644 --- a/data/interfaces/default/js/tables/history_table.js +++ b/data/interfaces/default/js/tables/history_table.js @@ -319,6 +319,9 @@ history_table_options = { history_table.row(row).child(childTableFormat(rowData)).show(); } + if (rowData['state'] !== null) { + $(row).addClass('current-activity-row'); + } } } diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 2ef3a881..7af79be4 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -123,6 +123,12 @@
Group successive play history by the same user as a single entry in the tables and watch statistics.
+Include current activity in the history tables. Statistics will not be counted until the stream has ended.
+