2011-04-17, 14:49
if your skin is eden-pre / nightly build compatible, please note:
as of today the recentlyadded script is not needed anymore.
the functionality has been moved to xbmc itself (thanx firnsy & amet)!
there hardly shouldn't be any need to update your skins for this change
as all infolabels stay the same.
the only thing that needs to be done is to remove the code you use to launch the script
and remove the dependency from your addon.xml!
Available labels:
Totals
Movies
TV Shows
MusicVideos
Songs
Albums (these are new!)
as you can see Songs and Albums have been separated and this is the only change compared to the recently added script.
you can use the Latest*.[1-5].Path to play Movies, Episodes and Songs this way:
for albums, use this code:
as of today the recentlyadded script is not needed anymore.
the functionality has been moved to xbmc itself (thanx firnsy & amet)!
there hardly shouldn't be any need to update your skins for this change
as all infolabels stay the same.
the only thing that needs to be done is to remove the code you use to launch the script
and remove the dependency from your addon.xml!
Available labels:
Totals
Code:
Movies.Count
Movies.Watched
Movies.UnWatched
TVShows.Count
TVShows.Watched
TVShows.UnWatched
Episodes.Count
Episodes.Watched
Episodes.UnWatched
MusicVideos.Count
MusicVideos.Watched
MusicVideos.UnWatched
Music.SongsCount
Music.AlbumsCount
Music.ArtistsCount
Movies
Code:
LatestMovie.[1-10].Title
LatestMovie.[1-10].Year
LatestMovie.[1-10].RunningTime
LatestMovie.[1-10].Rating
LatestMovie.[1-10].Plot
LatestMovie.[1-10].Trailer
LatestMovie.[1-10].Thumb
LatestMovie.[1-10].Fanart
LatestMovie.[1-10].Path
TV Shows
Code:
LatestEpisode.[1-10].ShowTitle
LatestEpisode.[1-10].EpisodeTitle
LatestEpisode.[1-10].EpisodeNo
LatestEpisode.[1-10].EpisodeSeason
LatestEpisode.[1-10].EpisodeNumber
LatestEpisode.[1-10].Rating
LatestEpisode.[1-10].Plot
LatestEpisode.[1-10].Thumb
LatestEpisode.[1-10].Fanart
LatestEpisode.[1-10].Path
MusicVideos
Code:
LatestMusicVideo.[1-10].Title
LatestMusicVideo.[1-10].Thumb
LatestMusicVideo.[1-10].Year
LatestMusicVideo.[1-10].Plot
LatestMusicVideo.[1-10].RunningTime
LatestMusicVideo.[1-10].Path
LatestMusicVideo.[1-10].Artist
LatestMusicVideo.[1-10].Fanart
Songs
Code:
LatestSong.[1-10].Title
LatestSong.[1-10].Artist
LatestSong.[1-10].Album
LatestSong.[1-10].Year
LatestSong.[1-10].Rating
LatestSong.[1-10].Thumb
LatestSong.[1-10].Fanart
LatestSong.[1-10].Path
Albums (these are new!)
Code:
LatestAlbum.[1-10].Title
LatestAlbum.[1-10].Artist
LatestAlbum.[1-10].Year
LatestAlbum.[1-10].Rating
LatestAlbum.[1-10].Thumb
LatestAlbum.[1-10].Fanart
LatestAlbum.[1-10].Path
as you can see Songs and Albums have been separated and this is the only change compared to the recently added script.
you can use the Latest*.[1-5].Path to play Movies, Episodes and Songs this way:
Code:
<onclick>PlayMedia("$INFO[Window.Property(Latest*.1.Path)]")</onclick>
for albums, use this code:
Code:
<onclick>PlayList.Clear</onclick>
<onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.1.Path)]")</onclick>