mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Watch next improvements, clear queue buttons
This commit is contained in:
@@ -66,4 +66,12 @@ struct PlayerQueueItem: Hashable, Identifiable, Defaults.Serializable {
|
||||
func hash(into hasher: inout Hasher) {
|
||||
hasher.combine(id)
|
||||
}
|
||||
|
||||
var contentItem: ContentItem {
|
||||
.init(video: contentItemVideo)
|
||||
}
|
||||
|
||||
var contentItemVideo: Video {
|
||||
video ?? Video(app: app ?? .invidious, instanceURL: instanceURL, videoID: videoID, length: videoDuration ?? 0)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user