aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/PlayerThread.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
index 6fb41bf35..356559e37 100644
--- a/src/PlayerThread.cxx
+++ b/src/PlayerThread.cxx
@@ -1081,8 +1081,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();