MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / QueueSongOrder

Method QueueSongOrder

src/queue/Playlist.cxx:49–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49inline void
50playlist::QueueSongOrder(PlayerControl &pc, unsigned order) noexcept
51
52{
53 assert(queue.IsValidOrder(order));
54
55 queued = order;
56
57 const DetachedSong &song = queue.GetOrder(order);
58
59 FmtDebug(playlist_domain, "queue song {}:{:?}",
60 queued, song.GetURI());
61
62 pc.LockEnqueueSong(std::make_unique<DetachedSong>(song));
63}
64
65void
66playlist::SongStarted() noexcept

Callers

nothing calls this directly

Calls 2

LockEnqueueSongMethod · 0.80
GetURIMethod · 0.45

Tested by

no test coverage detected