diff options
Diffstat (limited to 'src/song.c')
-rw-r--r-- | src/song.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/song.c b/src/song.c index 4a0cfd4bb..377487cbd 100644 --- a/src/song.c +++ b/src/song.c @@ -82,6 +82,9 @@ Song * newSong(char * utf8file) { else if(isAac(utf8file,&(song->mtime))) { song->tag = aacTagDup(utf8file); } + else if(isMp4(utf8file,&(song->mtime))) { + song->tag = mp4TagDup(utf8file); + } #endif if(!song->tag || song->tag->time<0) { @@ -249,6 +252,9 @@ int updateSongInfo(Song * song) { else if(isAac(utf8file,&(song->mtime))) { song->tag = aacTagDup(utf8file); } + else if(isMp4(utf8file,&(song->mtime))) { + song->tag = mp4TagDup(utf8file); + } #endif if(!song->tag || song->tag->time<0) return -1; |