Add-on:Video Node Editor

About
The Video Node Editor allows you to create and customise custom video nodes within Kodi.

Parent nodes
Parent nodes act like folders - they contain nodes, and can contain parent nodes. You can also add rules to a parent node, which will be applied to all nodes immediately within it.

Nodes
Nodes describe views of your media. They can include multiple elements which describe what media Kodi will display, and how it will filter it. A new node will let you set one of two parameters, either 'Content' or 'Path'

Content
Set content to the type of media that Kodi will display in this node. Either Movies, TV Shows, Episodes or Music Videos. Once content is set, new options become available.

Order
Set the property of the media that it will be ordered by in the view. You can select the property (title, year, director, etc) and the direction that it will be ordered (ascending, descending)

Grouping
Group media be a given property (genre, actor, director, etc)

Limit
Limit the number of results that will be returned

Rule
A rule that must be matched by any content that will be returned. Rules are made of three parts - the property of the media that is being queried (title, year, director, etc); the operator (Is, Is Not, etc) and the value that must be matched.

Path
Set content to a particular videodb:// address provided by Kodi. For example, for recently added movies, videodb://recentlyaddedmovies/

Add a 'Recently Viewed' node
To add a new 'Recently Viewed' node which shows the last 20 watched items to an existing parent node:
 * 1) Open the Parent Node you wish to add the Recently Viewed node to
 * 2) Select 'New Node...' and give it the title 'Recently Viewed'
 * 3) Open the 'Recently Added' node you just added
 * 4) Select 'Add content...' and choose the content that matched the Parent Node you are using
 * 5) Select 'Add limit...' and type 20 in the dialog
 * 6) Select 'Add order...'
 * 7) Select 'Title' and change this to 'Last played'
 * 8) Select 'ascending' and change this to 'Descending'
 * 9) Back out of the 'Order' property by clicking '..' or pressing Back

Limit content by path
To add a new Parent Node which only shows movies from a particular path. (This presumes that differing types of media you want to display are kept in different sources. In this example, the source is smb://anime/)
 * 1) Select 'New parent node...'
 * 2) Type a title which corresponds to the type of media you want to display, for example 'Anime'
 * 3) Choose 'Movies' when asked which defaults to start with. This will give you all the nodes you will find under the default 'Movies' Parent Node
 * 4) Open the new Parent Node you just added
 * 5) Select 'Add Rules...'
 * 6) Select 'Title' and change to 'Path'
 * 7) Select 'contains' and change to 'starts with'
 * 8) Select '' and type in 'smb://anime/' OR select 'Browse for value', open the source containing your media and click OK.

All nodes within your new Parent Node will now be limited to content from that path.