decoder/mad, ...: more libfmt logging
This commit is contained in:
@@ -71,8 +71,8 @@ playlist::QueueSongOrder(PlayerControl &pc, unsigned order) noexcept
|
||||
|
||||
const DetachedSong &song = queue.GetOrder(order);
|
||||
|
||||
FormatDebug(playlist_domain, "queue song %i:\"%s\"",
|
||||
queued, song.GetURI());
|
||||
FmtDebug(playlist_domain, "queue song {}:\"{}\"",
|
||||
queued, song.GetURI());
|
||||
|
||||
pc.LockEnqueueSong(std::make_unique<DetachedSong>(song));
|
||||
}
|
||||
@@ -178,7 +178,7 @@ playlist::PlayOrder(PlayerControl &pc, unsigned order)
|
||||
|
||||
const DetachedSong &song = queue.GetOrder(order);
|
||||
|
||||
FormatDebug(playlist_domain, "play %u:\"%s\"", order, song.GetURI());
|
||||
FmtDebug(playlist_domain, "play {}:\"{}\"", order, song.GetURI());
|
||||
|
||||
current = order;
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ playlist::Stop(PlayerControl &pc) noexcept
|
||||
|
||||
assert(current >= 0);
|
||||
|
||||
FormatDebug(playlist_domain, "stop");
|
||||
LogDebug(playlist_domain, "stop");
|
||||
pc.LockStop();
|
||||
queued = -1;
|
||||
playing = false;
|
||||
|
||||
Reference in New Issue
Block a user