Kodi Community Forum
[HOW TO] Library Node Examples - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
+--- Thread: [HOW TO] Library Node Examples (/showthread.php?tid=257378)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


RE: [HOW TO] Library Node Examples - Zani - 2017-10-25

I need to filter by external source, my movies placed in different HDD. Is there a way to make it by Library node? Thanx


RE: [HOW TO] Library Node Examples - bowlofred - 2017-10-25

Was trying to create a tag movie node and I have some problems.  Should this work?


Code:
$ cat video/movies/kids.xml
<?xml version='1.0' encoding='UTF-8'?>
<node order="2" type="filter">
       <label>Kids</label>
       <icon>DefaultMovieTitle.png</icon>
       <content>movies</content>
       <order direction="ascending">sorttitle</order>
       <rule field="tag" operator="contains">
               <value>Children</value>
       </rule>
</node>

Sometimes I can see such a node, but most of the time I cannot.  I go to "Movies" (which dumps me into Movies/Title), then I go up one level and I see all the "Movies" nodes, but this one is not shown. 

I do have movies with this tag (and I have sometimes seen the node and it is populated correctly), but most of the time I can't get to it.  Am I doing something wrong to see the node? 

Not knowing what it's for exactly, I tried setting "visibility = 1", but that seemed to have no effect.


RE: [HOW TO] Library Node Examples - repulse - 2017-10-27

Sorry for my ignorance, but is that very different of what can be done with a smart playlist ?


RE: [HOW TO] Library Node Examples - docwra - 2017-10-29

(2017-10-25, 14:45)Zani Wrote: I need to filter by external source, my movies placed in different HDD. Is there a way to make it by Library node? Thanx

Use a PATH filer. Just type the drive letter as the path rule and it should work pretty well.


RE: [HOW TO] Library Node Examples - Zani - 2017-10-30

(2017-10-29, 16:26)docwra Wrote:
(2017-10-25, 14:45)Zani Wrote: I need to filter by external source, my movies placed in different HDD. Is there a way to make it by Library node? Thanx

Use a PATH filer. Just type the drive letter as the path rule and it should work pretty well.

Thx. I'll try it..
P.S. I think i'll try Label filter indeed, 'cause i connect only one HDD at a time


RE: [HOW TO] Library Node Examples - docwra - 2017-10-30

There is actually an example in the 1st post of this thread

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="1" type="filter">
<label>External Drive Movies</label>
<content>movies</content>
<match>all</match>
<icon>disk.png</icon>
<rule field="path" operator="contains"><value>S:</value></rule>
</node>

For example: This would only show movies from a drive called S:.


RE: [HOW TO] Library Node Examples - Zani - 2017-10-31

(2017-10-30, 16:32)docwra Wrote: There is actually an example in the 1st post of this thread

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="1" type="filter">
<label>External Drive Movies</label>
<content>movies</content>
<match>all</match>
<icon>disk.png</icon>
<rule field="path" operator="contains"><value>S:</value></rule>
</node>

For example: This would only show movies from a drive called S:.

And in Android ( I've got an Nvidia shield ) how can I do it? Drives aren't called by letters Sad


RE: [HOW TO] Library Node Examples - docwra - 2017-10-31

You can use any part of the drive or share location to match to. So if its in a folder called /share/specialmovies then just use the "specialmovies" as the path filter


RE: [HOW TO] Library Node Examples - Mike_Doc - 2018-03-27

Hi,

Here's examples of 2 nodes I've created to interact with my Music Library.

The 1st is to display albums by the series they are part of, I created /library/Albums Series and placed along with index.xml an xml per album series and here is the example for albums in the 'Global Underground' series:

Global Underground.xml

Code:
<?xml version='1.0' encoding='UTF-8'?>
<node order="1" type="filter">
    <label>Global Underground</label>
    <content>albums</content>
    <rule field="album" operator="contains">
        <value>Global Underground</value>
    </rule>
    <order direction="ascending">album</order>
    <icon>L:\Kodi\Icons\GU.png</icon>
</node> 

The 2nd node I've created is for Record Labels, again new folder /library/Record Labels with index.xml and an xml per record label, here is the 'Hooj Choons' xml:

[syntax<?xml version='1.0' encoding='UTF-8'?>
<node order="1" type="filter">
    <label>Hooj Choons</label>
    <content>albums</content>
    <rule field="label" operator="contains">
        <value>Hooj Choons</value>
    </rule>
    <order direction="ascending">album</order>
    <icon>L:\Kodi\Icons\hooj.jpg</icon>
</node> [/syntax]

I've added each node as a menu item and then used these in conjunction with a modified 'Infowall' in Madnox to allow me to go through the various xmls and see the 1st 16 cds for each xml.

Mike.


RE: [HOW TO] Library Node Examples - Don_black00 - 2018-04-04

Can someone please show me how I can get this view using node editor add-on

I want to create a node for Recently add movies but they should start from the current year as such below


Recently added>>>2018,2017,2016,2015


RE: [HOW TO] Library Node Examples - Er1c - 2018-05-12

I have similar situation with TV Shows, like above with albums. Please help me build right lists\nodes.
My situation :
Image
Actually there are more than one xxSAMBA.SRV.NET in SOURCE.SMB therefore operator "contains"


RE: [HOW TO] Library Node Examples - stephen147 - 2018-05-17

How would one migrate the settings files to a new kodi build. Which files should I copy?

Thanks.


RE: [HOW TO] Library Node Examples - docwra - 2018-05-17

(2018-05-17, 03:50)stephen147 Wrote: How would one migrate the settings files to a new kodi build. Which files should I copy?

Thanks.
 Everything in userdata


RE: [HOW TO] Library Node Examples - stephen147 - 2018-05-17

(2018-05-17, 09:59)docwra Wrote: Everything in userdata 
videorules.xml just?


RE: [HOW TO] Library Node Examples - teriyaki - 2018-06-25

Hi, was hoping someone could help me with a node. I'd like, if possible, to list the 20 newest shows added that match the path "/mnt/nfs/media/tv/kids/*". I don't want to use genre matching or tag matching, only matching that path.

Thanks in advance!