diff options
-rw-r--r-- | apps/plugin.c | 4 | ||||
-rw-r--r-- | apps/tagtree.c | 14 |
2 files changed, 16 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index f864a1d90b..adf207da79 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -882,6 +882,10 @@ int plugin_load(const char* plugin, const void* parameter) | |||
882 | } | 882 | } |
883 | } | 883 | } |
884 | 884 | ||
885 | #ifdef HAVE_DISK_STORAGE | ||
886 | if (!storage_disk_is_active()) | ||
887 | splash(0, ID2P(LANG_WAIT)); | ||
888 | #endif | ||
885 | strcpy(current_plugin, plugin); | 889 | strcpy(current_plugin, plugin); |
886 | current_plugin_handle = lc_open(plugin, pluginbuf, PLUGIN_BUFFER_SIZE); | 890 | current_plugin_handle = lc_open(plugin, pluginbuf, PLUGIN_BUFFER_SIZE); |
887 | if (current_plugin_handle == NULL) { | 891 | if (current_plugin_handle == NULL) { |
diff --git a/apps/tagtree.c b/apps/tagtree.c index 6b93b36561..83bfb4e36d 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c | |||
@@ -1465,8 +1465,18 @@ static int retrieve_entries(struct tree_context *c, int offset, bool init) | |||
1465 | int sort_limit; | 1465 | int sort_limit; |
1466 | int strip; | 1466 | int strip; |
1467 | 1467 | ||
1468 | /* Show search progress after 0.5s delay */ | 1468 | /* Show search progress straight away if the disk needs to spin up, |
1469 | show_search_progress(true, 0, 0, 0); | 1469 | otherwise show it after the normal 1/2 second delay */ |
1470 | show_search_progress( | ||
1471 | #ifdef HAVE_DISK_STORAGE | ||
1472 | #ifdef HAVE_TC_RAMCACHE | ||
1473 | tagcache_is_in_ram() ? true : | ||
1474 | #endif | ||
1475 | storage_disk_is_active() | ||
1476 | #else | ||
1477 | true | ||
1478 | #endif | ||
1479 | , 0, 0, 0); | ||
1470 | 1480 | ||
1471 | if (c->currtable == TABLE_ALLSUBENTRIES) | 1481 | if (c->currtable == TABLE_ALLSUBENTRIES) |
1472 | { | 1482 | { |