diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-06 20:34:00 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-06 20:34:00 +0000 |
commit | 81720da06dbcaa156bab5d3283df0faaa0334b63 (patch) | |
tree | 17b7316462528c5f4c903b8179053d3f792990bc /src/playlist.c | |
parent | b29f73c819ff8445b71963d883364e315b7a12d8 (diff) | |
download | mpd-81720da06dbcaa156bab5d3283df0faaa0334b63.tar.gz mpd-81720da06dbcaa156bab5d3283df0faaa0334b63.tar.xz mpd-81720da06dbcaa156bab5d3283df0faaa0334b63.zip |
slightly safer copying of metadataChunk to MpdTag
git-svn-id: https://svn.musicpd.org/mpd/trunk@1359 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/playlist.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/playlist.c b/src/playlist.c index 4b6fa5205..dd261cfd2 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -802,19 +802,15 @@ void syncCurrentPlayerDecodeMetadata() { songNum = playlist.order[playlist.current]; song = playlist.songs[songNum]; - printf("HERE 1\n"); - if(song->type == SONG_TYPE_URL && 0 == strcmp(song->utf8url, songPlayer->utf8url) && !mpdTagsAreEqual(song->tag, songPlayer->tag)) { - printf("HERE 1-1\n"); if(song->tag) freeMpdTag(song->tag); song->tag = mpdTagDup(songPlayer->tag); playlist.songMod[songNum] = playlist.version; incrPlaylistVersion(); } - printf("HERE 2\n"); } void syncPlayerAndPlaylist() { |