plugins: playing time: adjust error message, keep theme enabled

Replace generic error message  with voiced
info about the number of tracks skipped

Change-Id: I334fac447eeef2eb5c0d302675b98027b01b09d0
This commit is contained in:
Christian Soffke 2025-12-21 11:34:31 +01:00 committed by Solomon Peachy
parent 4e211b55f9
commit fe690dfa20
3 changed files with 17 additions and 15 deletions

View file

@ -886,6 +886,7 @@ int plugin_load(const char* plugin, const void* parameter)
/* for some plugins, the SBS can be left enabled */
const char *sepch = strrchr(plugin, PATH_SEPCH);
bool theme_enabled = sepch && (!strcmp("properties.rock", sepch + 1) ||
!strcmp("playing_time.rock", sepch + 1) ||
!strcmp("main_menu_config.rock", sepch + 1) ||
!strcmp("disktidy.rock", sepch + 1));