Merge branch 'dev' into musikr-patches
This commit is contained in:
commit
0e2efe2c88
1 changed files with 5 additions and 1 deletions
|
@ -94,7 +94,11 @@ constructor(
|
||||||
override val parent: MusicParent?,
|
override val parent: MusicParent?,
|
||||||
override val queue: List<Song>,
|
override val queue: List<Song>,
|
||||||
override val shuffled: Boolean
|
override val shuffled: Boolean
|
||||||
) : PlaybackCommand
|
) : PlaybackCommand {
|
||||||
|
// Only show queue count to reduce memory use
|
||||||
|
override fun toString() =
|
||||||
|
"PlaybackCommand(song=$song, parent=$parent, queue=${queue.size} songs, shuffled=$shuffled)"
|
||||||
|
}
|
||||||
|
|
||||||
override fun song(song: Song, shuffle: ShuffleMode) =
|
override fun song(song: Song, shuffle: ShuffleMode) =
|
||||||
newCommand(song, null, listOf(song), shuffle)
|
newCommand(song, null, listOf(song), shuffle)
|
||||||
|
|
Loading…
Reference in a new issue