diff --git a/data/interfaces/default/history.html b/data/interfaces/default/history.html index 5bdd5c7d..a7a0dfcf 100644 --- a/data/interfaces/default/history.html +++ b/data/interfaces/default/history.html @@ -14,7 +14,7 @@ History
@@ -63,7 +63,7 @@ } } history_table = $('#history_table').DataTable(history_table_options); - var colvis = new $.fn.dataTable.ColVis(history_table, { buttonText: ' Select columns', buttonClass: 'btn btn-dark', exclude: [0, 10] }); + var colvis = new $.fn.dataTable.ColVis(history_table, { buttonText: ' Select columns', buttonClass: 'btn btn-dark', exclude: [0, 10] }); $(colvis.button()).appendTo('div.colvis-button-bar'); $('#row-edit-mode').click(function() { diff --git a/data/interfaces/default/home_stats.html b/data/interfaces/default/home_stats.html index cb8bea64..b4b9e600 100644 --- a/data/interfaces/default/home_stats.html +++ b/data/interfaces/default/home_stats.html @@ -9,7 +9,8 @@ Variable names: data [array] data[array_index] :: Usable parameters -data['stat_id'] Returns the name of the stat. Either 'top_tv', 'popular_tv', 'top_user' or 'top_platform' +data['stat_id'] Returns the name of the stat. Either 'top_tv', 'top_movies', 'popular_tv', 'popular_movies', 'top_user' or 'top_platform' +data['stat_type'] Returns the type of the stat. Either 'total_plays' or 'total_duration' data['rows'] Returns an array containing stat data data[array_index]['rows'] :: Usable parameters @@ -21,10 +22,11 @@ grandparent_thumb Returns location of the item's thumbnail. Use with pms_i rating_key Returns the unique identifier for the media item. title Returns the title for the associated stat. -== Only if 'stat_id' is 'top_tv' or 'top_user' or 'top_platform' == +== Only if 'stat_id' is 'top_tv' or 'top_movies' or 'top_user' or 'top_platform' == total_plays Returns the count for the associated stat. +total_duration Returns the total duration for the associated stat. -== Only of 'stat_id' is 'popular_tv' == +== Only of 'stat_id' is 'popular_tv' or 'popular_movies' == users_watched Returns the count for the associated stat. == Only if 'stat_id' is 'top_user' == @@ -63,8 +65,13 @@ DOCUMENTATION :: ENDplays
+ % else: +mins
+ % endifplays
+ % else: +mins
+ % endif +users
plays
+ % else: +mins
+ % endifplays
+ % else: +mins
+ % endifIf you have media indexing enabled on your server, use these on the activity pane.
+Specify the number of days for the statistics on the home page. Default is 30 days.
Use play duration instead of play count to generate statistics.
+