aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-10 02:38:55 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-10 02:38:55 +0000
commit2d87ffa863b5eaa24862e925e767eb9a36bd58fe (patch)
tree98028112defc0aedfe282b88c8ba81b15ffdd53b /src/song.c
parent92a75471505391edd2f8f9af23188b4f7b17bbcb (diff)
downloadmpd-2d87ffa863b5eaa24862e925e767eb9a36bd58fe.tar.gz
mpd-2d87ffa863b5eaa24862e925e767eb9a36bd58fe.tar.xz
mpd-2d87ffa863b5eaa24862e925e767eb9a36bd58fe.zip
now we only allocate unique metadata items
git-svn-id: https://svn.musicpd.org/mpd/branches/r2562-metadata-handling-rewrite@2568 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/song.c')
-rw-r--r--src/song.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/song.c b/src/song.c
index 85a49ecbb..462a434cc 100644
--- a/src/song.c
+++ b/src/song.c
@@ -59,7 +59,6 @@ Song * newSong(char * utf8url, SONG_TYPE type) {
if((plugin = isMusic(utf8url,&(song->mtime)))) {
song->tag = plugin->tagDupFunc(
rmp2amp(utf8ToFsCharset(utf8url)));
- if(song->tag) validateUtf8Tag(song->tag);
}
if(!song->tag || song->tag->time<0) {
freeSong(song);
@@ -267,7 +266,6 @@ int updateSongInfo(Song * song) {
if((plugin = isMusic(utf8url,&(song->mtime)))) {
song->tag = plugin->tagDupFunc(
rmp2amp(utf8ToFsCharset(utf8url)));
- if(song->tag) validateUtf8Tag(song->tag);
}
if(!song->tag || song->tag->time<0) return -1;
}