mirror of
https://github.com/yattee/yattee.git
synced 2025-12-21 12:10:14 +00:00
Initial functionality of player items queue
Fix environment objects Hide video player placeholder on tvOS Queue improvements
This commit is contained in:
14
Model/PlayerQueueItem.swift
Normal file
14
Model/PlayerQueueItem.swift
Normal file
@@ -0,0 +1,14 @@
|
||||
import AVFoundation
|
||||
import Foundation
|
||||
|
||||
struct PlayerQueueItem: Hashable, Identifiable {
|
||||
var id = UUID()
|
||||
var video: Video
|
||||
|
||||
init(_ video: Video) {
|
||||
self.video = video
|
||||
}
|
||||
|
||||
var playerItems = [AVPlayerItem]()
|
||||
var compositions = [Stream: AVMutableComposition]()
|
||||
}
|
||||
Reference in New Issue
Block a user