merge changes from metadata-rewrite branch
git-svn-id: https://svn.musicpd.org/mpd/trunk@2589 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -158,10 +158,6 @@ int waitOnDecode(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb,
|
||||
}
|
||||
|
||||
if((tag = metadataChunkToMpdTagDup(&(pc->fileMetadataChunk)))) {
|
||||
/* lets put the filename in the title if no tag info */
|
||||
if(!tag->title && !tag->artist && !tag->album) {
|
||||
tag->title = strdup(pc->currentUrl);
|
||||
}
|
||||
sendMetadataToAudioDevice(tag);
|
||||
freeMpdTag(tag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user