PlayerThread: log the last song that was played

This commit is contained in:
Max Kellermann 2013-12-24 11:58:10 +01:00
parent c05691b546
commit 91fed47648

View File

@ -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();