mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Restructure model
This commit is contained in:
13
Model/Player/PlayerQueueItem.swift
Normal file
13
Model/Player/PlayerQueueItem.swift
Normal file
@@ -0,0 +1,13 @@
|
||||
import AVFoundation
|
||||
import Foundation
|
||||
|
||||
struct PlayerQueueItem: Hashable, Identifiable {
|
||||
var id = UUID()
|
||||
var video: Video
|
||||
|
||||
init(_ video: Video) {
|
||||
self.video = video
|
||||
}
|
||||
|
||||
var playerItems = [AVPlayerItem]()
|
||||
}
|
Reference in New Issue
Block a user