VideoLibrary
public enum VideoLibrary
Video Library information (Kodi Namespace)
-
getEpisodes(tvshowID:Asynchronous)
-
getEpisodeDetails(episodeID:Asynchronous)
-
setEpisodeDetails(episode:Asynchronous) Update the given episode with the given details (Kodi API)
Declaration
Swift
public static func setEpisodeDetails(episode: Video.Details.Episode) asyncParameters
episodeThe
Video/Details/Episodeitem
-
getGenres(type:Asynchronous)
-
getMovieSets()AsynchronousRetrieve all movie sets (Kodi API)
Declaration
Swift
public static func getMovieSets() async -> [Video.Details.MovieSet]Return Value
All movie sets in an
Video/Details/MovieSetarray
-
getMovieSetDetails(setID:Asynchronous)
-
getMovies()AsynchronousRetrieve all movies (Kodi API)
Declaration
Swift
public static func getMovies() async -> [Video.Details.Movie]Return Value
All movies in an
Video/Details/Moviearray
-
getMovieDetails(movieID:Asynchronous)
-
setMovieDetails(movie:Asynchronous) Update the given movie with the given details (Kodi API)
Declaration
Swift
public static func setMovieDetails(movie: Video.Details.Movie) asyncParameters
movieThe
Video/Details/MovieItem
-
getMusicVideos()AsynchronousRetrieve all music videos (Kodi API)
Declaration
Swift
public static func getMusicVideos() async -> [Video.Details.MusicVideo]Return Value
All music videos in an
Video/Details/MusicVideoarray
-
getMusicVideoDetails(musicVideoID:Asynchronous)
-
setMusicVideoDetails(musicVideo:Asynchronous) Update the given music video with the given details (Kodi API)
Declaration
Swift
public static func setMusicVideoDetails(musicVideo: Video.Details.MusicVideo) asyncParameters
musicVideoThe
Video/Details/MusicVideoitem
-
refreshMusicVideo(musicVideo:Asynchronous) Refresh the given music video in the library (Kodi API)
Declaration
Swift
public static func refreshMusicVideo(musicVideo: Video.Details.MusicVideo) asyncParameters
musicVideoThe
Video/Details/MusicVideoitem
-
getTVShows()AsynchronousRetrieve all TV shows (Kodi API)
Declaration
Swift
public static func getTVShows() async -> [Video.Details.TVShow]Return Value
All TV shows in an
Video/Details/TVShowarray
-
getTVShowDetails(tvshowID:Asynchronous)
-
setTVShowDetails(tvshow:Asynchronous) Update the given tv show with the given details (Kodi API)
Note
Kodi does not send a notification if a TV show is changed
Declaration
Swift
public static func setTVShowDetails(tvshow: Video.Details.TVShow) asyncParameters
tvshowThe
Video/Details/TVShowItem
-
getAllVideoGenres()AsynchronousGet all video genres from the Kodi host (SwiftlyKodi API)
Declaration
Swift
public static func getAllVideoGenres() async -> [Library.Details.Genre]Return Value
All video genres from the Kodi host
-
Get all Music Video Artists (SwiftlyKodi API)
If the artist is not know in the Music database, a new Artist item will be created
Declaration
Swift
public static func getMusicVideoArtists() -> [Audio.Details.Artist]Return Value
All artists
-
getVideoLibraryStatus()AsynchronousGet the status of the Video Library (SwiftlyKodi API)
Declaration
Swift
public static func getVideoLibraryStatus() async -> Library.StatusReturn Value
Current status of all video items
View on GitHub
VideoLibrary Enumeration Reference