Add-on:Skin Widgets/RandomItems

From Official Kodi Wiki
Jump to navigation Jump to search
Home icon grey.png   ▶ Add-on:Skin Widgets ▶ RandomItems

Use: Window(Home).Property(*)

1 Available labels


1.1 Property: Movies

RandomMovie.%d.Title
Movie title
RandomMovie.%d.Year
Year of release
RandomMovie.%d.Genre
Movie genre
RandomMovie.%d.Studio
Movie studio
RandomMovie.%d.Plot
Movie plot
RandomMovie.%d.PlotOutline
Movie plot outline
RandomMovie.%d.Tagline
Movie tagline
RandomMovie.%d.Runtime
Duration of the movie
RandomMovie.%d.Rating
Movie rating
RandomMovie.%d.Trailer
Movie trailer
RandomMovie.%d.Art(poster)
Movie poster
RandomMovie.%d.Art(fanart)
Movie fanart
RandomMovie.%d.Art(clearlogo)
Movie clearlogo
RandomMovie.%d.Art(clearart)
Movie clearart
RandomMovie.%d.Art(landscape)
Movie 16:9 landscape image
RandomMovie.%d.Art(banner)
Movie banner
RandomMovie.%d.Art(discart)
Movie disc
RandomMovie.%d.Resume
Movie resume true/false
RandomMovie.%d.PercentPlayed
Movie percentage played
RandomMovie.%d.Watched
Movie watched true/false
RandomMovie.%d.File
Movie filename and path
RandomMovie.%d.Path
Movie path
RandomMovie.%d.VideoCodec
Movie codec
RandomMovie.%d.VideoResolution
Movie resolution
RandomMovie.%d.VideoAspect
Movie aspect ratio
RandomMovie.%d.AudioCodec
Movie codec
RandomMovie.%d.AudioChannels
Movie audio channels



1.2 Property: Episodes

RandomEpisode.%d.Title
Episode title
RandomEpisode.%d.Episode
Episode number
RandomEpisode.%d.EpisodeNo
Season/Episode (SxxExx)
RandomEpisode.%d.Season
Season number
RandomEpisode.%d.Plot
Episode plot
RandomEpisode.%d.TVshowTitle
TV show title
RandomEpisode.%d.Rating
Episode rating
RandomEpisode.%d.Art(thumb)
Episode thumbnail
RandomEpisode.%d.Art(tvshow.fanart)
TV show fanart
RandomEpisode.%d.Art(tvshow.poster)
TV show poster
RandomEpisode.%d.Art(tvshow.banner)
TV show banner
RandomEpisode.%d.Art(tvshow.clearlogo)
TV show clearlogo
RandomEpisode.%d.Art(tvshow.clearart)
TV show clearart
RandomEpisode.%d.Art(tvshow.landscape)
TV show landscape
RandomEpisode.%d.Resume
Indicates if it's a partially watched episode (true/false)
RandomEpisode.%d.PercentPlayed
Percentage played
RandomEpisode.%d.File
Episode filename and path
RandomEpisode.%d.Path
TV show path
RandomEpisode.%d.VideoCodec
Episode video codec
RandomEpisode.%d.VideoResolution
Episode resolution
RandomEpisode.%d.VideoAspect
Episode aspect ratio
RandomEpisode.%d.AdioCodec
Episode audio codec
RandomEpisode.%d.AudioChannels
Episode audio channels



1.3 Property: MusicVideo

RandomMusicVideo.%d.Title
Video name
RandomMusicVideo.%d.Artist
Artist name
RandomMusicVideo.%d.Year
Release year
RandomMusicVideo.%d.Plot
Video plot
RandomMusicVideo.%d.Genre
Video genre
RandomMusicVideo.%d.Runtime
Runtime
RandomMusicVideo.%d.Thumb
Video thumb
RandomMusicVideo.%d.Fanart
Video fanart
RandomMusicVideo.%d.File
Video path + file
RandomMusicVideo.%d.Path
Video path



1.4 Property: Albums

RandomAlbum.%d.Title
Name of the album
RandomAlbum.%d.Artist
Album artist
RandomAlbum.%d.Genre
Album genre
RandomAlbum.%d.Year
Year of release
RandomAlbum.%d.RecordLabel
Record label
RandomAlbum.%d.Description
Album description
RandomAlbum.%d.Rating
Rating of the album
RandomAlbum.%d.Thumb
Album thumbnail
RandomAlbum.%d.Fanart
Artist fanart
RandomAlbum.%d.Play
Can be used to play the album



1.5 Property: Artist

RandomArtist.%d.Title
Artist name
RandomArtist.%d.Genre
Artist genre
RandomArtist.%d.Fanart
Artist fanart
RandomArtist.%d.Thumb
Artist thumb
RandomArtist.%d.Description
Artist description
RandomArtist.%d.LibraryPath
Open artist library path



1.6 Property: Song

RandomSong.%d.Title
Song name
RandomSong.%d.Artist
Song artist
RandomSong.%d.Year
Year of release
RandomSong.%d.Rating
Song rating
RandomSong.%d.Thumb
Song thumbnail
RandomSong.%d.Fanart
Song fanart
RandomSong.%d.File
File name



1.7 Property: Addon

RandomAddon.%d.Title
Add-on name
RandomAddon.%d.Author
Add-on author(s)
RandomAddon.%d.Summary
Add-on summary
RandomAddon.%d.Version
Add-on version
RandomAddon.%d.Path
Add-on id
RandomAddon.%d.Fanart
Add-on fanart
RandomAddon.%d.Thumb
Add-on thumb/icon
RandomAddon.%d.Type
Add-on type



1.8 Play or open

Code example to play album:

   <onclick>$INFO[Window(Home).Property(RandomAlbum.%d.Play)]</onclick>

Code example to open artist:

   <onclick>$INFO[Window(Home).Property(RandomArtist.%d.LibraryPath)]</onclick>