Kodi Community Forum
Win Custom Video Node - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Win Custom Video Node (/showthread.php?tid=144427)



Custom Video Node - sprinjee - 2012-11-04

I've installed the latest nightly (XBMCSetup-20121103-52df23a-master.exe).

It should support "Custom video nodes". I've setup movies/titles.xml as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="2" type="folder">
<label>369</label>
<path>videodb://1/2</path>
<content>movies</content>
<icon>DefaultMovieTitle.png</icon>
<match>all</match>
<rule field="path" operator="doesnotcontain">E:\Documentaries</rule>
<rule field="path" operator="doesnotcontain">E:\Stand-up</rule>
</node>

Movies from the "E:\Documentaries" folder or "E:\Stand-up" folder are not excluded from when viewing movies from the home-menu or when browsing Videos/Titles. Am I missing something?


RE: Custom Video Node - jmarshall - 2012-11-05

Movies/titles.xml is used in the unflattened listing. You're possibly looking at the flattened listing.

Further, the home page links point to a different path, thus you'll need to update those to point to your library nodes instead.


RE: Custom Video Node - sprinjee - 2012-11-07

Not sure how to toggle between flattend and unflattened listing. Could you help me out.

"the home page links point to a different path" which path?


RE: Custom Video Node - jmarshall - 2012-11-08

It's on the left in Confluence video library views.

The home page links point to videodb:// paths rather than library://video/<your_node> paths.


RE: Custom Video Node - sprinjee - 2012-11-10

I've solved the issue for titles.xml. In my original XML:

<node order="2" type="folder">

I've changed it to:

<node order="2" type="filter">

Now it work for the title submenu. I'm still not sure how to get the same result directly from the home menu. I would assume the home-menu "Movies" item points to movies\index.xml. I've tried to edit this XML and added the rules:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="1" visible="Library.HasContent(Movies)" type="filter">
<!-- a virtual folder -->
<label>342</label>
<icon>DefaultMovies.png</icon>
<match>all</match>
<rule field="path" operator="doesnotcontain">E:\Documentaries</rule>
<rule field="path" operator="doesnotcontain">E:\Stand-up</rule>
</node>

OR

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="1" visible="Library.HasContent(Movies)" type="filter">
<!-- a virtual folder -->
<label>342</label>
<icon>DefaultMovies.png</icon>
<path>videodb://1/2</path>
<content>movies</content>
<match>all</match>
<rule field="path" operator="doesnotcontain">E:\Documentaries</rule>
<rule field="path" operator="doesnotcontain">E:\Stand-up</rule>
</node>

This does not produce the expected result. Could anyone give me some pointers?





RE: Custom Video Node - jmarshall - 2012-11-10

No, it doesn't use index.xml. Index.xml is the overview node.

You need to edit the skin to point to the new paths as per my previous post. Find the ActivateWindow(Videos, MovieTitles) for example and change to ActivateWindow(Videos, library://video/movies/titles)