also, don't need the device open to send the metadata
git-svn-id: https://svn.musicpd.org/mpd/trunk@2347 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
547448eee9
commit
2a165ca826
@ -65,6 +65,6 @@ void finishAudioOutput(AudioOutput * audioOutput) {
|
||||
}
|
||||
|
||||
void sendMetadataToAudioOutput(AudioOutput * audioOutput, MpdTag * tag) {
|
||||
if(!audioOutput->open || !audioOutput->sendMetdataFunc) return;
|
||||
if(!audioOutput->sendMetdataFunc) return;
|
||||
audioOutput->sendMetdataFunc(audioOutput, tag);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user