Add-on:Skin Widgets/RecentItems: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Martijn
(Fix dead end page and replace tables with definition lists)
 
Line 1: Line 1:
{{Mininav|[[Add-on:Skin Widgets]]}}
== RecentItems ==
== RecentItems ==
Use: Window(Home).Property(*)
Use: Window(Home).Property(*)


=== Movies ===
=== Movies ===
 
''Available labels for'' <code>Property(Movies)</code>
{| class="wikitable" border="1"
{{Glossary}}
|+ '''Available labels'''
{{Term|RecentMovie.%d.Title}}
! Property: Movies !! Description
{{Defn|Movie title}}
|-
{{Term|RecentMovie.%d.Year}}
| RecentMovie.%d.Title || movie title
{{Defn|Year of release}}
|-
{{Term|RecentMovie.%d.Genre}}
| RecentMovie.%d.Year || year of release
{{Defn|Movie genre}}
|-
{{Term|RecentMovie.%d.Studio}}
| RecentMovie.%d.Genre || movie genre
{{Defn|Movie studio}}
|-
{{Term|RecentMovie.%d.Plot}}
| RecentMovie.%d.Studio || movie studio
{{Defn|Movie plot}}
|-
{{Term|RecentMovie.%d.PlotOutline}}
| RecentMovie.%d.Plot || movie plot
{{Defn|Movie plot outline}}
|-
{{Term|RecentMovie.%d.Tagline}}
| RecentMovie.%d.PlotOutline || movie plotoutline
{{Defn|Movie tagline}}
|-
{{Term|RecentMovie.%d.Runtime}}
| RecentMovie.%d.Tagline || movie tagline
{{Defn|Duration of the movie}}
|-
{{Term|RecentMovie.%d.Rating}}
| RecentMovie.%d.Runtime || duration of the movie
{{Defn|Movie rating}}
|-
{{Term|RecentMovie.%d.Trailer}}
| RecentMovie.%d.Rating || movie rating
{{Defn|Movie trailer}}
|-
{{Term|RecentMovie.%d.Art(poster)}}
| RecentMovie.%d.Trailer || movie trailer
{{Defn|Movie poster}}
|-
{{Term|RecentMovie.%d.Art(fanart)}}
| RecentMovie.%d.Art(poster) || movie poster
{{Defn|Movie fanart}}
|-
{{Term|RecentMovie.%d.Art(clearlogo)}}
| RecentMovie.%d.Art(fanart) || movie fanart
{{Defn|Movie clearlogo}}
|-
{{Term|RecentMovie.%d.Art(clearart)}}
| RecentMovie.%d.Art(clearlogo) || movie clearlogo
{{Defn|Movie clearart}}
|-
{{Term|RecentMovie.%d.Art(landscape)}}
| RecentMovie.%d.Art(clearart) || movie clearart
{{Defn|Movie 16:9 landscape image}}
|-
{{Term|RecentMovie.%d.Art(banner)}}
| RecentMovie.%d.Art(landscape) || movie 16:9 landscape image
{{Defn|Movie banner}}
|-
{{Term|RecentMovie.%d.Art(discart)}}
| RecentMovie.%d.Art(banner) || movie banner
{{Defn|Movie disc}}
|-
{{Term|RecentMovie.%d.Resume}}
| RecentMovie.%d.Art(discart) || movie disc
{{Defn|Movie resume true/false}}
|-
{{Term|RecentMovie.%d.PercentPlayed}}
| RecentMovie.%d.Resume|| movie resume true/false
{{Defn|Movie percentage played}}
|-
{{Term|RecentMovie.%d.Watched}}
| RecentMovie.%d.PercentPlayed|| movie percentage played
{{Defn|Movie watched true/false}}
|-
{{Term|RecentMovie.%d.File}}
| RecentMovie.%d.Watched|| movie watched true/false
{{Defn|Movie filename and path}}
|-
{{Term|RecentMovie.%d.Path}}
| RecentMovie.%d.File|| movie filename and path
{{Defn|Movie path}}
|-
{{Term|RecentMovie.%d.VideoCodec}}
| RecentMovie.%d.Path || movie path
{{Defn|Movie video codec}}
|-
{{Term|RecentMovie.%d.VideoResolution}}
| RecentMovie.%d.VideoCodec || movie codec
{{Defn|Movie resolution}}
|-
{{Term|RecentMovie.%d.VideoAspect}}
| RecentMovie.%d.VideoResolution || movie resolution
{{Defn|Movie aspect ratio}}
|-
{{Term|RecentMovie.%d.AudioCodec}}
| RecentMovie.%d.VideoAspect || movie aspect ratio
{{Defn|Movie audio codec}}
|-
{{Term|RecentMovie.%d.AudioChannels}}
| RecentMovie.%d.AudioCodec || movie codec
{{Defn|Movie audio channels}}
|-
{{Glossary end}}
| RecentMovie.%d.AudioChannels || movie audio channels
|-
|}


=== Episodes ===
=== Episodes ===
 
''Available labels for'' <code>Property(Episodes)</code>
 
{{Glossary}}
{| class="wikitable" border="1"
{{Term|RecentEpisode.%d.Title}}
|+ '''Available labels'''
{{Defn|Episode title}}
! Property: Episodes !! Description
{{Term|RecentEpisode.%d.Episode}}
|-
{{Defn|Episode number}}
| RecentEpisode.%d.Title ||episode title
{{Term|RecentEpisode.%d.EpisodeNo}}
|-
{{Defn|Season/Episode (SxxExx)}}
| RecentEpisode.%d.Episode || episode number
{{Term|RecentEpisode.%d.Season}}
|-
{{Defn|Season number}}
| RecentEpisode.%d.EpisodeNo || season/episode (sxxexx)
{{Term|RecentEpisode.%d.Plot}}
|-
{{Defn|Episode plot}}
| RecentEpisode.%d.Season || season number
{{Term|RecentEpisode.%d.TVshowTitle}}
|-
{{Defn|TV show title}}
| RecentEpisode.%d.Plot ||episode plot
{{Term|RecentEpisode.%d.Rating}}
|-
{{Defn|Episode rating}}
| RecentEpisode.%d.TVshowTitle || tv show title
{{Term|RecentEpisode.%d.Art(thumb)}}
|-
{{Defn|Episode thumbnail}}
| RecentEpisode.%d.Rating || episode rating
{{Term|RecentEpisode.%d.Art(tvshow.fanart)}}
|-
{{Defn|TV show fanart}}
| RecentEpisode.%d.Art(thumb) ||episode thumbnail
{{Term|RecentEpisode.%d.Art(tvshow.poster)}}
|-
{{Defn|TV show poster}}
| RecentEpisode.%d.Art(tvshow.fanart) || tv show fanart
{{Term|RecentEpisode.%d.Art(tvshow.banner)}}
|-
{{Defn|TV show banner}}
| RecentEpisode.%d.Art(tvshow.poster) || tv show poster
{{Term|RecentEpisode.%d.Art(tvshow.clearlogo)}}
|-
{{Defn|TV show clearlogo}}
| RecentEpisode.%d.Art(tvshow.banner) || tv show banner
{{Term|RecentEpisode.%d.Art(tvshow.clearart)}}
|-
{{Defn|TV show clearart}}
| RecentEpisode.%d.Art(tvshow.clearlogo) || tv show clearlogo
{{Term|RecentEpisode.%d.Art(tvshow.landscape)}}
|-
{{Defn|TV show landscape}}
| RecentEpisode.%d.Art(tvshow.clearart) || tv show clearart
{{Term|RecentEpisode.%d.Resume}}
|-
{{Defn|Indicates if it's a partially watched episode (true/false)}}
| RecentEpisode.%d.Art(tvshow.landscape) || tv show landscape
{{Term|RecentEpisode.%d.PercentPlayed}}
|-
{{Defn|Percentage played}}
| RecentEpisode.%d.Resume || indicates if it's a partially watched episode (true/false)
{{Term|RecentEpisode.%d.File}}
|-
{{Defn|Episode filename and path}}
| RecentEpisode.%d.PercentPlayed || percentage played
{{Term|RecentEpisode.%d.Path}}
|-
{{Defn|TV show path}}
| RecentEpisode.%d.File || episode filename and path
{{Term|RecentEpisode.%d.VideoCodec}}
|-
{{Defn|Episode video codec}}
| RecentEpisode.%d.Path || TV show path
{{Term|RecentEpisode.%d.VideoResolution}}
|-
{{Defn|Episode resolution}}
| RecentEpisode.%d.VideoCodec || episode video codec
{{Term|RecentEpisode.%d.VideoAspect}}
|-
{{Defn|Episode aspect ratio}}
| RecentEpisode.%d.VideoResolution || episode resolution
{{Term|RecentEpisode.%d.AdioCodec}}
|-
{{Defn|Episode audio codec}}
| RecentEpisode.%d.VideoAspect || episode aspect ratio
{{Term|RecentEpisode.%d.AudioChannels}}
|-
{{Defn|Episode audio channels}}
| RecentEpisode.%d.AdioCodec || episode audio codec
{{Glossary end}}
|-
| RecentEpisode.%d.AudioChannels || episode audio channels
|-
|}


=== MusicVideo ===
=== MusicVideo ===
 
''Available labels for'' <code>Property(MusicVideo)</code>
 
{{Glossary}}
{| class="wikitable" border="1"
{{Term|RecentMusicVideo.%d.Title}}
|+ '''Available labels'''
{{Defn|Video name}}
! Property: MusicVideo !! Description
{{Term|RecentMusicVideo.%d.Artist}}
|-
{{Defn|Artist name}}
| RecentMusicVideo.%d.Title || video name
{{Term|RecentMusicVideo.%d.Year}}
|-
{{Defn|Release year}}
| RecentMusicVideo.%d.Artist || artist name
{{Term|RecentMusicVideo.%d.Plot}}
|-
{{Defn|Video plot}}
| RecentMusicVideo.%d.Year || release year
{{Term|RecentMusicVideo.%d.Genre}}
|-
{{Defn|Video genre}}
| RecentMusicVideo.%d.Plot || video plot
{{Term|RecentMusicVideo.%d.Runtime}}
|-
{{Defn|Runtime}}
| RecentMusicVideo.%d.Genre || video genre
{{Term|RecentMusicVideo.%d.Thumb}}
|-
{{Defn|Video thumb}}
| RecentMusicVideo.%d.Runtime || runtime
{{Term|RecentMusicVideo.%d.Fanart}}
|-
{{Defn|Video fanart}}
| RecentMusicVideo.%d.Thumb || video thumb
{{Term|RecentMusicVideo.%d.File}}
|-
{{Defn|Video path + filename}}
| RecentMusicVideo.%d.Fanart || video fanart
{{Term|RecentMusicVideo.%d.Path}}
|-
{{Defn|Video path}}
| RecentMusicVideo.%d.File || video path + file
{{Glossary end}}
|-
| RecentMusicVideo.%d.Path || video path
|-
|}
 


=== Albums ===
=== Albums ===
''Available labels for'' <code>Property(Album)</code>
{{Glossary}}
{{Term|RecentAlbum.%d.Title}}
{{Defn|Album name}}
{{Term|RecentAlbum.%d.Artist}}
{{Defn|Album artist}}
{{Term|RecentAlbum.%d.Genre}}
{{Defn|Album genre}}
{{Term|RecentAlbum.%d.Year}}
{{Defn|Year of release}}
{{Term|RecentAlbum.%d.RecordLabel}}
{{Defn|Record label}}
{{Term|RecentAlbum.%d.Description}}
{{Defn|Album description}}
{{Term|RecentAlbum.%d.Rating}}
{{Defn|Rating of the album}}
{{Term|RecentAlbum.%d.Thumb}}
{{Defn|Album thumbnail}}
{{Term|RecentAlbum.%d.Fanart}}
{{Defn|Artist fanart}}
{{Term|RecentAlbum.%d.Play}}
{{Defn|Can be used to play the album}}
{{Glossary end}}


 
=== Play/Open ===
{| class="wikitable" border="1"
|+ '''Available labels'''
! Property: Albums !! Description
|-
| RecentAlbum.%d.Title ||name of the album
|-
| RecentAlbum.%d.Artist || album artist
|-
| RecentAlbum.%d.Genre || album genre
|-
| RecentAlbum.%d.Year || year of release
|-
| RecentAlbum.%d.RecordLabel || recordlabel
|-
| RecentAlbum.%d.Description || album description
|-
| RecentAlbum.%d.Rating || rating of the album
|-
| RecentAlbum.%d.Thumb || album thumbnail
|-
| RecentAlbum.%d.Fanart || artist fanart
|-
| RecentAlbum.%d.Play || can be used to play the album
|-
|}
 
 
=== Play or open ===
 
Code example to play album:
Code example to play album:
    <onclick>$INFO[Window(Home).Property(RecentAlbum.%d.Play)]</onclick>
<syntaxhighlight lang="xml">
<onclick>$INFO[Window(Home).Property(RecentAlbum.%d.Play)]</onclick>
</syntaxhighlight>

Latest revision as of 11:03, 11 October 2021

Home icon grey.png   ▶ Add-on:Skin Widgets ▶ RecentItems

RecentItems

Use: Window(Home).Property(*)

Movies

Available labels for Property(Movies)

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

Episodes

Available labels for Property(Episodes)

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

MusicVideo

Available labels for Property(MusicVideo)

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

Albums

Available labels for Property(Album)

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

Play/Open

Code example to play album:

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