changed comment
This commit is contained in:
@@ -405,8 +405,9 @@ func (p *PlaybackManager) LoadItems(items []mediaprovider.MediaItem, insertQueue
|
|||||||
p.cmdQueue.LoadItems(items, insertQueueMode, shuffle)
|
p.cmdQueue.LoadItems(items, insertQueueMode, shuffle)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load items into the currently active queue. (shuffledPlayQueue/playQueue)
|
// Replaces the specified queue (PlayQueue/ShuffledPlayQueue) with the given tracks.
|
||||||
// If replacing the current queue (!appendToQueue), playback will be stopped.
|
// This is used when starting supersonic to load the queue state and directly overrides any previous data.
|
||||||
|
// For replacing the queue while supersonic is running, use LoadTracks
|
||||||
func (p *PlaybackManager) SetQueueState(tracks []*mediaprovider.Track, queueType QueueType) {
|
func (p *PlaybackManager) SetQueueState(tracks []*mediaprovider.Track, queueType QueueType) {
|
||||||
p.cmdQueue.SetQueueState(tracks, queueType)
|
p.cmdQueue.SetQueueState(tracks, queueType)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user