From 2d87ffa863b5eaa24862e925e767eb9a36bd58fe Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Wed, 10 Nov 2004 02:38:55 +0000 Subject: 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 --- src/song.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/song.c') 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; } -- cgit v1.2.3