diff options
Diffstat (limited to 'apps/metadata/mp3.c')
-rw-r--r-- | apps/metadata/mp3.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/metadata/mp3.c b/apps/metadata/mp3.c index c65fb39cd8..d20dffeb27 100644 --- a/apps/metadata/mp3.c +++ b/apps/metadata/mp3.c | |||
@@ -190,7 +190,11 @@ bool get_mp3_metadata(int fd, struct mp3entry *entry, const char *filename) | |||
190 | 190 | ||
191 | /* only seek to end of file if no id3v2 tags were found */ | 191 | /* only seek to end of file if no id3v2 tags were found */ |
192 | if (!entry->id3v2len) { | 192 | if (!entry->id3v2len) { |
193 | setid3v1title(fd, entry); | 193 | if (!setid3v1title(fd, entry)) |
194 | { | ||
195 | /* when ID3 tags are not found, search APE tags */ | ||
196 | read_ape_tags(fd, entry); | ||
197 | } | ||
194 | } | 198 | } |
195 | 199 | ||
196 | if(!entry->length || (entry->filesize < 8 )) | 200 | if(!entry->length || (entry->filesize < 8 )) |