summaryrefslogtreecommitdiff
path: root/src/PlayerThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-24 12:20:24 +0100
committerMax Kellermann <max@duempel.org>2013-12-24 12:20:24 +0100
commit64e898f6dbcfe5e584cb308dd3eca411bfd7667d (patch)
tree6b0e7ea929ad019a8591cc54a3b88febc74e8983 /src/PlayerThread.cxx
parent1732166328f3e2db3d959b60bbe46f85d36d8e77 (diff)
parentfb34519b96629291d0f26990931ec89c47a4ade2 (diff)
Merge tag 'release-0.18.6'
Diffstat (limited to 'src/PlayerThread.cxx')
-rw-r--r--src/PlayerThread.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
index 42c7120f0..aa42eed49 100644
--- a/src/PlayerThread.cxx
+++ b/src/PlayerThread.cxx
@@ -1080,8 +1080,11 @@ Player::Run()
delete cross_fade_tag;
- if (song != nullptr)
+ if (song != nullptr) {
+ const auto uri = song->GetURI();
+ FormatDefault(player_domain, "played \"%s\"", uri.c_str());
song->Free();
+ }
pc.Lock();