MusicVideosView
struct MusicVideosView : View
SwiftUI View
for all Music Videos of an Artist; grouped by optional Album (shared)
-
The selected artist
Declaration
Swift
let artist: Audio.Details.Artist
-
The KodiConnector model
Declaration
Swift
@Environment private var kodi: KodiConnector { get }
-
The SceneState model
Declaration
Swift
@Environment private var scene: SceneState { get }
-
The collection to show in this view. Can be a single Music Video or an album with Music Videos
Declaration
Swift
@State private var collection: [AnyKodiItem] { get nonmutating set }
-
The sorting
Declaration
Swift
@State private var sorting: List.Sort { get nonmutating set }
-
The body of the
View
Declaration
Swift
var body: some View { get }
-
The content of the
view
Declaration
Swift
@ViewBuilder var content: some View { get }
-
Get all items from the library
Declaration
Swift
private func getItems()