diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-07-24 18:39:06 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-07-26 15:15:06 -0400 |
commit | 23e5f77ab0c5f80de4091b365165276cfe9899dd (patch) | |
tree | 4aaeed994a811fbfaa9f96e697a6178ad19c27c2 /apps/plugins/properties.c | |
parent | 13830439fae202247626e5ebfd7fe3d57d7c5628 (diff) | |
download | rockbox-23e5f77ab0c5f80de4091b365165276cfe9899dd.tar.gz rockbox-23e5f77ab0c5f80de4091b365165276cfe9899dd.zip |
Remove mp3info function & remove list_do_action from plugin_api
Change-Id: Ia9a2d6889679832f23b19a989927277ba886cba4
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r-- | apps/plugins/properties.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c index 73ec64be80..dc55b8128b 100644 --- a/apps/plugins/properties.c +++ b/apps/plugins/properties.c | |||
@@ -130,7 +130,7 @@ static bool file_properties(const char* selected_file) | |||
130 | rb->snprintf(str_time, sizeof str_time, "%02d:%02d:%02d", | 130 | rb->snprintf(str_time, sizeof str_time, "%02d:%02d:%02d", |
131 | tm.tm_hour, tm.tm_min, tm.tm_sec); | 131 | tm.tm_hour, tm.tm_min, tm.tm_sec); |
132 | 132 | ||
133 | if (props_type != PROPS_PLAYLIST && !rb->mp3info(&id3, selected_file)) | 133 | if (props_type != PROPS_PLAYLIST && rb->get_metadata(&id3, -1, selected_file)) |
134 | props_type = PROPS_ID3; | 134 | props_type = PROPS_ID3; |
135 | found = true; | 135 | found = true; |
136 | break; | 136 | break; |
@@ -416,7 +416,7 @@ static bool determine_file_or_dir(void) | |||
416 | 416 | ||
417 | bool mul_id3_add(const char *file_name) | 417 | bool mul_id3_add(const char *file_name) |
418 | { | 418 | { |
419 | if (!file_name || rb->mp3info(&id3, file_name)) | 419 | if (!file_name || !rb->get_metadata(&id3, -1, file_name)) |
420 | skipped_count++; | 420 | skipped_count++; |
421 | else | 421 | else |
422 | { | 422 | { |