From b30f05badca5fdad88faa7decb24efbfc9da9851 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 23 Oct 2024 14:10:31 -0400 Subject: Revert "plugin load / tagtree retrieval: eliminate storage_disk_is_active check" ata_disk_is_active() behavior with SSDs has reverted, so we want to keep this. This reverts commit ef19fa4408ed48e29fa3307af0b288efa61c4901. Change-Id: I29f08617285747c17a52352bd7bba4069e71cde6 --- apps/plugin.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugin.c') 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) } } +#ifdef HAVE_DISK_STORAGE + if (!storage_disk_is_active()) + splash(0, ID2P(LANG_WAIT)); +#endif strcpy(current_plugin, plugin); current_plugin_handle = lc_open(plugin, pluginbuf, PLUGIN_BUFFER_SIZE); if (current_plugin_handle == NULL) { -- cgit v1.2.3