PlayerThread: log the last song that was played
This commit is contained in:
parent
c05691b546
commit
91fed47648
@ -1081,8 +1081,11 @@ Player::Run()
|
|||||||
|
|
||||||
delete cross_fade_tag;
|
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();
|
song->Free();
|
||||||
|
}
|
||||||
|
|
||||||
pc.Lock();
|
pc.Lock();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user