mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Add back Shuffle All and fix Play All
This commit is contained in:
@@ -8,7 +8,9 @@ extension PlayerModel {
|
||||
currentItem?.video
|
||||
}
|
||||
|
||||
func play(_ videos: [Video]) {
|
||||
func play(_ videos: [Video], shuffling: Bool = false) {
|
||||
playbackMode = shuffling ? .shuffle : .queue
|
||||
|
||||
videos.forEach { enqueueVideo($0, loadDetails: false) }
|
||||
|
||||
#if os(iOS)
|
||||
|
Reference in New Issue
Block a user