diff --git a/data/interfaces/default/images/media_info/576.png b/data/interfaces/default/images/media_info/576.png new file mode 100644 index 00000000..9871f3f9 Binary files /dev/null and b/data/interfaces/default/images/media_info/576.png differ diff --git a/data/interfaces/default/images/media_info/8ch.png b/data/interfaces/default/images/media_info/8ch.png new file mode 100644 index 00000000..30537cde Binary files /dev/null and b/data/interfaces/default/images/media_info/8ch.png differ diff --git a/data/interfaces/default/js/tables/media_info_table.js b/data/interfaces/default/js/tables/media_info_table.js index 1a746e11..860f06ab 100644 --- a/data/interfaces/default/js/tables/media_info_table.js +++ b/data/interfaces/default/js/tables/media_info_table.js @@ -10,7 +10,6 @@ $.ajax({ } }); -var get_file_sizes = false; var refresh_child_tables = false; media_info_table_options = { @@ -24,7 +23,7 @@ media_info_table_options = { "emptyTable": "No data in table" }, "pagingType": "bootstrap", - "stateSave": true, + "stateSave": false, "processing": false, "serverSide": true, "pageLength": 25, @@ -102,7 +101,7 @@ media_info_table_options = { } } }, - "width": "24%" + "width": "20%" }, { "targets": [2], @@ -112,7 +111,7 @@ media_info_table_options = { $(td).html(cellData); } }, - "width": "5%", + "width": "6%", "className": "no-wrap hidden-sm hidden-xs" }, { @@ -123,7 +122,7 @@ media_info_table_options = { $(td).html(cellData + ' kbps'); } }, - "width": "5%", + "width": "6%", "className": "no-wrap hidden-md hidden-sm hidden-xs", "searchable": false }, @@ -189,7 +188,9 @@ media_info_table_options = { if (cellData !== null && cellData !== '') { $(td).html(Math.round(cellData / Math.pow(1024, 2)).toString() + ' MiB'); } else { - if (rowData['section_type'] != 'photo') { get_file_sizes = true; } + if (rowData['section_type'] != 'photo' && get_file_sizes != null) { + get_file_sizes = true; + } } }, "width": "7%", @@ -375,6 +376,7 @@ function childTableOptionsMedia(rowData) { createChildTableMedia(this, childrowData) } }); + } if (get_file_sizes) { $('#refresh-media-info-table').prop('disabled', true); @@ -395,7 +397,6 @@ function childTableOptionsMedia(rowData) { }); get_file_sizes = false; } - } $(this).closest('div.slider').slideDown(); } diff --git a/data/interfaces/default/library.html b/data/interfaces/default/library.html index 85e253bd..4f75e7fd 100644 --- a/data/interfaces/default/library.html +++ b/data/interfaces/default/library.html @@ -196,7 +196,7 @@ DOCUMENTATION :: END
- % if data['section_id'] in config['get_file_sizes']['section_ids']: + % if config['get_file_sizes'] and data['section_id'] in config['get_file_sizes_hold']['section_ids']:
% else:
- % if data['section_id'] in config['get_file_sizes']['section_ids']: + % if config['get_file_sizes'] and data['section_id'] in config['get_file_sizes_hold']['section_ids']: @@ -316,6 +316,12 @@ DOCUMENTATION :: END % endif var section_name = '${data['section_name'].replace("'", "\\'")}'; var refresh_table = false; + + % if config['get_file_sizes']: + var get_file_sizes = false; + % else: + var get_file_sizes = null; + % endif diff --git a/data/interfaces/default/library_stats.html b/data/interfaces/default/library_stats.html index 5c8a909a..048d5e6f 100644 --- a/data/interfaces/default/library_stats.html +++ b/data/interfaces/default/library_stats.html @@ -89,5 +89,5 @@ DOCUMENTATION :: END % endfor % else: -
No stats to show for the selected period.

+
No stats to show.

% endif \ No newline at end of file diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 94bac875..e7f0f4bd 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -453,6 +453,13 @@ available_notification_agents = sorted(notifiers.available_notification_agents()

If you have media indexing enabled on your server, use these on the activity pane.

+
+ +

Enable if you want PlexPy to calculate the total file size for TV Shows/Seasons and Artists/Albums on the media info tables.
+ This is currently experimental.

+

PlexWatch Import Tool

@@ -478,9 +485,10 @@ available_notification_agents = sorted(notifiers.available_notification_agents()
-

Instead of polling the server at regular intervals let the server tell us when something happens. This is currently experimental. Encrypted websocket is not currently supported.

+

Instead of polling the server at regular intervals let the server tell us when something happens.
+ This is currently experimental. Encrypted websocket is not currently supported.