Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 16
  • 17
  • 18(current)
  • 19
  • 20
  • 22
[HOW TO] Library Node Examples
Thanks for confirming this. I'll have to come up with a solution. I'll let you know if I get a workaround
Check out my Fanart.tv stuff!
...........I also accept disc requests if image not on fanart.tv database !!!!
Reply
(2021-08-24, 15:37)leepenny Wrote: Thanks for confirming this. I'll have to come up with a solution. I'll let you know if I get a workaround
Solution was simple create a playlist for all letters and numbers and create a node rule IS NOT playlist.
Check out my Fanart.tv stuff!
...........I also accept disc requests if image not on fanart.tv database !!!!
Reply
Wink 
(2021-06-17, 11:49)Offsprin Wrote:
(2021-01-24, 17:20)Offsprin Wrote:
(2021-01-24, 11:20)OnyxCody Wrote: @ronie Thanks for this. The way you explained this earlier was great, and this simple example you gave was just thing I needed to know. This is information which should be added to the Video Nodes wiki page. Blush
I was having trouble with getting my custom "Genre" submenu to work because I didn't have the right syntax for the "change action" section to have it properly use my custom genre nodes I created.  Thanks to your example I now have it working perfectly.

The goal I've been going for is to create a custom home menu and associated submenus for all "adult" content, and then edit the existing default "Movies" home menu and associated submenues which removes all "adult" content. This way I can more easily keep the two different movie types completely separate (and block none-adult access accounts from browsing through the adult content) in the home menu and all related submenus while still keeping the same standard submenus like "Recently Added", "Unwatched", "in Progress", Genre", "Years", "Sets", etc.  I've also done the same thing with my Movie Trailers by separating them completely out into their own menu with submenues; yet the Movie Trailers can also be watched directly form the main movie by selecting the "trailer" option in the movie's information section.

If anyone wants the layout, along with the smart playlists and custom nodes I've created to get the menu layout in the Aeon Nox Silvo skin just the way I want, let me know, and I'll share it here.

Thanks again...finding out about nodes was the final missing piece I needed to complete my custom home menu layout. Plex could learn a lot form the Kodi Team regarding user customized UI layout. Cool
I would love to see how you did it, though for use with Amber instead of Aeon Knox Silvio. I'm starting to think I need to use a combination of smart playlists and custom nodes like you're doing to achieve the results I want, so looking at what you've got would be a huge help.
Thanks this is super helpful, but I have a follow-up question that I don't know if I asked previously. I've got my 4K and SD/HD libraries split in terms of folders, and I can get the movies to separate properly outside of the "Recently Added", but I can't for the life of me figure out how to split the TV shows apart so that the both have the metadata AND they are separate. Were you able to do something similar?

Good afternoon @Offsprin .  Sorry I'm just now seeing this message. I had a busy summer. Blush
If you haven't already got this figured out for yourself, regarding your statement, I'm assuming that you want to separate out your SD (standard def), HD (high & full high def) and 4K (ultra high def) TV Shows content each into their own main menu item. If that is the case, you should be able to go through by way of using nodes and/or smart playlists where you utilize the "video aspect" and/or "video codec" rule fields to break up your TV Shows content those various buckets.

Thanks
Reply
[font][font]Bonjour, je suis nouveau [/font][/font]
[font][font]@Zapper merci pour toutes vos informations ça m'aide beaucoup[/font][/font]
Reply
@PamelaFields

We are an English forum. Please post a translation. Google Translate
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
Thanks Onyx. It turns out, with the help of Karellen, that I needed to change how the episodes/shows were imported, and which default metadata scraper to use to actually break them apart. I've since done that, but I'm running into an issue where the nodes for In Progress and Recently Added are including all of the shows, and not respecting the rules I added to try and make it so it's only the SD/HD/FHD episodes. This is what my inprogress.xml looks like:

Code:
<node order="20" type="folder">
    <label>575</label>
    <icon>DefaultInProgressShows.png</icon>
    <path>videodb://inprogresstvshows/</path>
    <match>all</match>
    <rule field="videoresolution" operator="lessthan">
        <value>1100</value>
    </rule>
    <rule field="path" operator="doesnotcontain">
        <value>uhd</value>
    </rule>
    <rule field="title" operator="doesnotcontain">
        <value>2160p</value>
    </rule>
</node>

But as I said, it's including all of the episodes, which I'm trying to not do.
Reply
Ok, so If I dont want to include library:// (becouse I want everything included in skin) and yet keep those library buttons at the top, I need to just present those icons as clickable icons somehow?
 <icon>DefaultRecentlyAddedMovies.png</icon>
Reply
Is it possible to add a node for a single addon to video nodes? And, even better, a folder containing a customized selection of addons (something like an addons set, but in nodes not in the main menu)?
Reply
(2016-01-26, 14:42)DarkHelmet Wrote:
Code:
<smartplaylist type="songs">
    <name>Songs longer than 30 minutes</name>
    <match>all</match>
    <rule field="time" operator="greaterthan">
        <value>30:00</value>
    </rule>
</smartplaylist>

Put that in a text file, name it "songs longer than 30 minutes.xsp" and put in the userdata/playlist folder under music. It works for me.

this is the closest to what I want to do.  what I would like to do is exclude any files shorter that a set duration.  I would like to just add the correct line(s) of code to the titles.xml file.  I just don't know what exactly to add.
I thank you in advance for your help.
Reply
(2022-03-04, 23:08)CornBread96 Wrote:
(2016-01-26, 14:42)DarkHelmet Wrote:
Code:
<smartplaylist type="songs">
    <name>Songs longer than 30 minutes</name>
    <match>all</match>
    <rule field="time" operator="greaterthan">
        <value>30:00</value>
    </rule>
</smartplaylist>

Put that in a text file, name it "songs longer than 30 minutes.xsp" and put in the userdata/playlist folder under music. It works for me.

this is the closest to what I want to do.  what I would like to do is exclude any files shorter that a set duration.  I would like to just add the correct line(s) of code to the titles.xml file.  I just don't know what exactly to add.
I thank you in advance for your help.
Sorry I meant to mention that this is for local movie library
Reply
(2022-03-04, 23:08)CornBread96 Wrote: what I would like to do is exclude any files shorter that a set duration
Something like this?

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="songs">
<name>Songs of duration</name>
<match>all</match>
<rule field="time" operator="greaterthan">
<value>03:30</value>
</rule>
<rule field="time" operator="lessthan">
<value>03:45</value>
</rule>
</smartplaylist>
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
(2022-03-04, 23:15)CornBread96 Wrote: Sorry I meant to mention that this is for local movie library
Ah, movies...

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Movies of length</name>
<match>all</match>
<rule field="time" operator="greaterthan">
<value>01:30:00</value>
</rule>
<rule field="time" operator="lessthan">
<value>02:00:00</value>
</rule>
</smartplaylist>
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
Code:

    <match>all</match>
    <rule field="time" operator="greaterthan">
        <value>04:00:00</value>
    </rule>
    <rule field="time" operator="lessthan">
        <value>00:45:00</value>
    </rule>
Can I add this to the titles.xml file and it would only show files between 45 min and 4 hours?
Reply
(2022-03-05, 04:35)CornBread96 Wrote: and it would only show files between 45 min and 4 hours?
Nope, you have your rules backwards.

This will work. Change the values to what you need.

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="6" type="filter">
<label>Duration</label>
<icon>DefaultMovieTitle.png</icon>
<content>movies</content>
<order direction="ascending">sorttitle</order>
<match>all</match>
<rule field="time" operator="greaterthan">
<value>01:30:00</value>
</rule>
<rule field="time" operator="lessthan">
<value>02:10:00</value>
</rule>
</node>
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
(2022-02-26, 14:57)DiMag Wrote: [1] Is it possible to add a node for a single addon to video nodes?
[2] And, even better, a folder containing a customized selection of addons (something like an addons set, but in nodes not in the main menu)?
[ANSWER AFTER TESTING WITH LIBRARY NODES EDITOR:]

[1] YES; provided this addon is a plugin. Most --if not all-- video addons are of this type. The node is of type "folder".

[2] I suppose it is possible to create a parent node and populate it with a selection of single-plugin nodes. (I won't try it myself because I use flat video nodes). But creating a node pointing to a pre-selected set of addons, NO, it is not possible.
I suppose it could be done if it were possible to create a custom group of addons. Presently, there are only two such groups: installed (My Addons) and recently updated.
Reply
  • 1
  • 16
  • 17
  • 18(current)
  • 19
  • 20
  • 22

Logout Mark Read Team Forum Stats Members Help
[HOW TO] Library Node Examples5