Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Custom Video Nodes
#1
So I'm trying to set up a custom video node so I can keep my home movies separate from (regular) movies...

I followed the Video Nodes page.

I was able to create a new top level menu item and point it to the file:

LIBRARY://VIDEO/HOMEMOVIES.XML

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="10" type="filter">
 <label>Home Movies</label>
 <content>movies</content>
 <match>all</match>
 <icon>DefaultCars.png</icon>
 <rule field="path" operator="doesnotcontain"><value>/movies/</value></rule>
</node>

which lives in /userdata/library/video

That works great and only my home movies show up.

Next I want to prevent the home movies from showing up with the movies. So I copied the movies folder structure as directed from /usr/share/kodi/system/library/video

I then edited /userdata/library/video/movies/titles.xml

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="2" type="filter">
  <label>369</label>
  <icon>DefaultMovieTitle.png</icon>
  <content>movies</content>
  <order direction="ascending">sorttitle</order>
  <match>all</match>
    <rule field="path" operator="doesnotcontain"><value>/Home Movies/</value></rule>
</node>

At First I didn't see any changes but I noticed that the Action for the menu item is:

HTML:
ACTIVATEWINDOW(VIDEOS,MOVIETITLES,RETURN)

So I guess i need to explicitly point it to my modified file?

HTML:
ACTIVATEWINDOW(VIDEOS,LIBRARY://VIDEO/MOVIES/TITLES.XML,RETURN)

it work as expected when I did that... but that literally only applies to when I click the Movies menu and doesn't filter out any of the Categories and Widgets...

I tried to do something silimar with the "recentlyaddedmovies.xml" file:

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="10" type="folder" visible="Library.HasContent(Movies)">
  <label>20386</label>
  <icon>DefaultRecentlyAddedMovies.png</icon>
  <path>videodb://recentlyaddedmovies/</path>
    <match>all</match>
    <rule field="path" operator="doesnotcontain"><value>/Home Movies/</value></rule>
</node>

but I guess this syntax isn't correct or something (type is "folder" here the other one has "filter")

Either way it sounds like I need to edit each XML file and then also edit each menu item? I assume there is an XML file for the menu somewhere so I can edit it directly?

Is this the right approach? Is there an easier way to pull this off?
Reply
#2
Hi team - does anyone have a list of all the descriptors you can have in a node xml file (label/order etc)

I was wanting to know if there is an option to include a "description" of the node so that description shows up in aspects like LoveFilm.  

I also want to know if you can have a parent node of other parent nodes??  I can't seem to get this to work

Any help would be great
Reply
#3
@khargy  I don't have library nodes set up, but I have seen posts around the web talking about kinda doing this with smart playlists. but I haven't done it myself.
Are you using Aura? or AuraMod? v18 or v19?

And I think this is more of a library node question than a aura/mod skin specific question, because it's about library node implementation.
You might have better luck in the General sub.
Reply

Logout Mark Read Team Forum Stats Members Help
Custom Video Nodes0