Custom Video Nodes
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:


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="10" type="filter">
 <label>Home Movies</label>
 <rule field="path" operator="doesnotcontain"><value>/movies/</value></rule>

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 version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="2" type="filter">
  <order direction="ascending">sorttitle</order>
    <rule field="path" operator="doesnotcontain"><value>/Home Movies/</value></rule>

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


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


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 version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="10" type="folder" visible="Library.HasContent(Movies)">
    <rule field="path" operator="doesnotcontain"><value>/Home Movies/</value></rule>

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?

Messages In This Thread
Custom Video Nodes - by khargy - 2020-05-16, 17:16
RE: Custom Video Nodes - by taylorn84 - 2021-03-29, 16:53
RE: Custom Video Nodes - by jojobro - 2021-05-24, 14:47

Logout Mark Read Team Forum Stats Members Help
Custom Video Nodes0
This forum uses Lukasz Tkacz MyBB addons.