aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player_thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 1507d11b5..75badbb56 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -213,6 +213,9 @@ playChunk(struct music_chunk *chunk, const struct audio_format *format,
pc.elapsedTime = chunk->times;
pc.bitRate = chunk->bit_rate;
+ if (chunk->tag != NULL)
+ sendMetadataToAudioDevice(chunk->tag);
+
pcm_volume(chunk->data, chunk->length,
format, pc.softwareVolume);