SwiftUI
-
SwiftUI View with a player to stream a
KodiItem
(SwiftlyKodi Type)- It is using the Apple
AVplayer
so it only supports Apple Approved formats. - If your media is on a harddisk and it’s sleeping; the media wil sometimes not start because of a timeout. Try again and it will work.
Declaration
Swift
public struct KodiPlayerView : View
- It is using the Apple
-
SwiftUI View for a
KodiSetting
- It needs the
KodiConnector
in the environment - For tvOS, the View must be in a
NavigationStack
Declaration
Swift
public struct KodiSettingView : View
- It needs the
-
SwiftUI Views for Kodi art (SwiftlyKodi Type)
It will give the most fitting art for the
KodiItem
For example, when asking for a season poster; you will get the
See moreseasonPoster
Declaration
Swift
public enum KodiArt
-
SwiftUI Views for sorting of Kodi items (SwiftlyKodi Type)
See moreDeclaration
Swift
public enum KodiListSort
-
Collection of SwiftUI media buttons (SwiftlyKodi Type)
The Views require to have the
KodiPlayer
Observable Class in the ‘environment’ or else your Application will crashNote
The buttons are smart and will be disabled when not applicableDeclaration
Swift
public enum MediaButtons