Add-on:Watchlist

= Introduction =

This script will return:
 * a list containing the first unwatched episode of TV Shows you are watching.
 * a list of movies that are partially watched.
 * a list of most played albums

The episode list is sorted by watch date of the previous episode: if you've watched 'South Park' yesterday and 'House' the day before, 'South Park' will be the first item on the list and 'House' the second one.

The movie list is also sorted by watch date.

The album list is sorted by playcount.

= Skin integration =

Here you can find the information needed on how to integrate this script into your skin.

Dependency
Add this to your addon.xml to make it install along with your skin.  

Note: Please check on what minimum version you need and change it accordingly

Running the addon
To run the script with the options you need: RunScript(script.watchlist,movies=true&amp;amp;episodes=true&amp;amp;albums=true&amp;amp;limit=25)

Available options:
 * movies=[true|false]
 * epsiodes=[true|false]
 * albums=[true|false]

Limit:

This is the number of items returned by watchlist

Updating

The script will initiate an updated when:
 * A movie was played, script is running with movies = true, container is movies and path+filename doesn't contain http:// and/or -trailer
 * An episode was played and script is running with episodes = true
 * A song is playing and playback ends and script is running with albums = true
 * At least one song was played completely if user stops playback manually and script is running with albums = true

= Available infolabels =


 * Window(Home).Property(*)

Code example to play album: $INFO[Window(Home).Property(WatchList_Album.%d.Path)]