clarify loadItems functionality
This commit is contained in:
@@ -401,6 +401,7 @@ func (p *PlaybackManager) LoadTracks(tracks []*mediaprovider.Track, insertQueueM
|
|||||||
|
|
||||||
// Load items into the currently active queue. (shuffledPlayQueue/playQueue)
|
// Load items into the currently active queue. (shuffledPlayQueue/playQueue)
|
||||||
// If replacing the current queue (!appendToQueue), playback will be stopped.
|
// If replacing the current queue (!appendToQueue), playback will be stopped.
|
||||||
|
// Loading items into the shuffledPlayQueue may also modify the playQueue
|
||||||
func (p *PlaybackManager) LoadItems(items []mediaprovider.MediaItem, insertQueueMode InsertQueueMode, shuffle bool) {
|
func (p *PlaybackManager) LoadItems(items []mediaprovider.MediaItem, insertQueueMode InsertQueueMode, shuffle bool) {
|
||||||
p.cmdQueue.LoadItems(items, insertQueueMode, shuffle)
|
p.cmdQueue.LoadItems(items, insertQueueMode, shuffle)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user