diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-03-26 19:11:46 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-04-05 11:27:25 -0400 |
commit | 8b95f2e7585e04406db66935fa514a45afa0cbd8 (patch) | |
tree | be67fb64a4aef24b0af94408117df1b6ddfad9e8 /apps/plugins/properties.c | |
parent | 1e678977f2841236b8a3e1b01f28a8dd73ba899b (diff) | |
download | rockbox-8b95f2e758.tar.gz rockbox-8b95f2e758.zip |
plugins lib: use existing mp3info function
Change-Id: I88d3c04db5cbc0905153b0e616adb7a64afee707
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r-- | apps/plugins/properties.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c index 7dacda3579..27bfe9181a 100644 --- a/apps/plugins/properties.c +++ b/apps/plugins/properties.c @@ -19,7 +19,6 @@ * ****************************************************************************/ #include "plugin.h" -#include "lib/id3.h" #ifdef HAVE_TAGCACHE #include "lib/mul_id3.h" @@ -127,7 +126,7 @@ static bool file_properties(const char* selected_file) rb->snprintf(str_time, sizeof str_time, "%02d:%02d:%02d", tm.tm_hour, tm.tm_min, tm.tm_sec); - if (retrieve_id3(&id3, selected_file, false)) + if (!rb->mp3info(&id3, selected_file)) props_type = PROPS_ID3; found = true; break; @@ -375,7 +374,7 @@ static bool determine_file_or_dir(void) #ifdef HAVE_TAGCACHE bool mul_id3_add(const char *file_name) { - if (!retrieve_id3(&id3, file_name, false)) + if (rb->mp3info(&id3, file_name)) return false; collect_id3(&id3, mul_id3_count == 0); |