summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/properties.c4
-rw-r--r--apps/plugins/test_codec.c3
-rw-r--r--apps/plugins/vbrfix.c2
3 files changed, 4 insertions, 5 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c
index ca18d49f50..0811b00ed3 100644
--- a/apps/plugins/properties.c
+++ b/apps/plugins/properties.c
@@ -100,9 +100,9 @@ static bool file_properties(char* selected_file)
100#if (CONFIG_CODEC == SWCODEC) 100#if (CONFIG_CODEC == SWCODEC)
101 int fd = rb->open(selected_file, O_RDONLY); 101 int fd = rb->open(selected_file, O_RDONLY);
102 if (fd >= 0 && 102 if (fd >= 0 &&
103 rb->get_metadata(&id3, fd, selected_file, false)) 103 rb->get_metadata(&id3, fd, selected_file))
104#else 104#else
105 if (!rb->mp3info(&id3, selected_file, false)) 105 if (!rb->mp3info(&id3, selected_file))
106#endif 106#endif
107 { 107 {
108 rb->snprintf(str_artist, sizeof str_artist, 108 rb->snprintf(str_artist, sizeof str_artist,
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 4346a23304..94be6b7397 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -537,8 +537,7 @@ static enum plugin_status test_track(char* filename)
537 /* Clear the id3 struct */ 537 /* Clear the id3 struct */
538 rb->memset(&track.id3, 0, sizeof(struct mp3entry)); 538 rb->memset(&track.id3, 0, sizeof(struct mp3entry));
539 539
540 if (!rb->get_metadata(&(track.id3), fd, filename, 540 if (!rb->get_metadata(&(track.id3), fd, filename))
541 rb->global_settings->id3_v1_first))
542 { 541 {
543 log_text("Cannot read metadata",true); 542 log_text("Cannot read metadata",true);
544 return PLUGIN_ERROR; 543 return PLUGIN_ERROR;
diff --git a/apps/plugins/vbrfix.c b/apps/plugins/vbrfix.c
index 42353981a2..823e166b39 100644
--- a/apps/plugins/vbrfix.c
+++ b/apps/plugins/vbrfix.c
@@ -143,7 +143,7 @@ static bool vbr_fix(char *selected_file)
143 143
144 xingupdate(0); 144 xingupdate(0);
145 145
146 rc = rb->mp3info(&entry, selected_file, false); 146 rc = rb->mp3info(&entry, selected_file);
147 if(rc < 0) { 147 if(rc < 0) {
148 fileerror(rc); 148 fileerror(rc);
149 return true; 149 return true;