Add-on:Library Node Editor: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (Addon-Bot repo category update)
m (Addon-Bot Update)
(18 intermediate revisions by the same user not shown)
Line 3: Line 3:
|provider-name=Unfledged, Team-Kodi
|provider-name=Unfledged, Team-Kodi
|ID=plugin.library.node.editor
|ID=plugin.library.node.editor
|latest-version=1.0.11
|latest-version=2.0.5
|extension point=xbmc.python.pluginsource
|extension point=xbmc.python.pluginsource
|provides=executable
|provides=executable
Line 16: Line 16:
|Email=
|Email=
|broken=
|broken=
|icon url=http://mirrors.kodi.tv/addons/leia/plugin.library.node.editor/icon.png}}
|icon url=http://mirrors.kodi.tv/addons/matrix/plugin.library.node.editor/icon.png}}


== About ==
== About ==
Line 79: Line 79:
[[Category:All add-ons]]
[[Category:All add-ons]]
[[Category:Program add-ons]]
[[Category:Program add-ons]]
[[Category:Isengard add-on repository]]
[[Category:Jarvis add-on repository]]
[[Category:Krypton add-on repository]]
[[Category:Krypton add-on repository]]
[[Category:Isengard add-on repository]]
[[Category:Leia add-on repository]]
[[Category:Leia add-on repository]]
[[Category:Jarvis add-on repository]]
[[Category:Matrix add-on repository]]
[[Category:Nexus add-on repository]]

Revision as of 03:00, 2 January 2022

Library Node Editor
icon.png

See this add-on on the kodi.tv showcase

Author: Unfledged, Team-Kodi

Type: Program
Repo: Kodi.tv repo v20
Kodi.tv repo v19

License: GPL-2.0-only
Source: Source code
Summary: Manage custom library nodes.
Home icon grey.png   ▶ Add-ons ▶ Library Node Editor
Attention talk.png Need help with this add-on? See here.

Create and edit custom library nodes.

Installing

This add-on is installed from the Add-on browser located in Kodi as follows:

  1. Settings
  2. Add-ons
  3. Install from repository
  4. Program Add-ons
  5. Library Node Editor
  6. Install

About

The Library Node Editor allows you to create and customise custom video nodes and music nodes within Kodi.

Anatomy of a Custom Node

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'. If you select 'Content', then you will be able to create a node based on various rules. If you select 'Path', you will be able to create a node which links directly to a library path with various path components specified within the editor.

Content

Set content to the type of media that Kodi will display in this node. Either Movies, TV Shows, Episodes or Music Videos for a video node; Artists, Albums or Songs for a music node. 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:// or musicdb:// address provided by Kodi. For example, for recently added movies, videodb://recentlyaddedmovies/. You will then be able to specify additional components of the path to customise what content will be available.

Examples

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...'
    1. Select 'Title' and change this to 'Last played'
    2. Select 'ascending' and change this to 'Descending'
    3. Back out of the 'Order' property by clicking '..' or pressing Back

Limit content by path

To add a new Parent Node for video nodes 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 'Video Library'
  2. Select 'New parent node...'
    1. Type a title which corresponds to the type of media you want to display, for example 'Anime'
    2. 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
  3. Open the new Parent Node you just added
  4. Select 'Add Rules...'
    1. Select 'Title' and change to 'Path'
    2. Select 'contains' and change to 'starts with'
    3. Select '<No value>' 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.