Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 22
[HOW TO] Library Node Examples
Can anybody confirm if the "Random" sort option is broken in Song Nodes for them? I recently created a node with the content of songs and set the display order to Random (I find nodes cleaner than playlists, so I'm basically using it as a smart playlist), but Kodi defaults to "Title" and doesn't seem to have a "Random" selection.
Reply
using nodes to create widgets can be used to add plugins to widgets estuary but should work with themes that use the widget

there are two types you can set up
WidgetListCategories is where you goto the folder library://video/widgets/skinsearch/row1
WidgetListPoster is where you goto the xml fole library://video/widgets/skinsearch/row1/row1.xml

you need to create node
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="20" type="folder">
 <label>575</label>
 <icon>DefaultInProgressShows.png</icon>
 <path>videodb://inprogresstvshows/</path>
</node>

then you do the widget to the way you need it
xml:
<include content="WidgetListCategories"  condition="Skin.HasSetting(HomeMenuNoswr1Button)">
       <param name="content_path" value="library://video/widgets/skinsearch/row1"/>
       <param name="widget_header" value="row1"/>
       <param name="widget_target" value="videos"/>
       <param name="list_id" value="30100"/>
       <param name="icon" value="$VAR[WidgetStudioIconVar]"/>
       <param name="icon_height" value="70"/>
       </include>
      <include content="WidgetListPoster" condition="!Skin.HasSetting(HomeMenuNoswr1Button) + !Skin.HasSetting(swidget1poster)">
       <param name="content_path" value="library://video/widgets/skinsearch/row1/row1.xml"/>
       <param name="widget_header" value="row1"/>
       <param name="widget_target" value="videos"/>
       <param name="list_id" value="30101"/>
       </include>
 
Image
Image
Reply
Is it possible to mix TV Shows and Movies together? Or is it one or the other?

Like this example?

Code:
<?xml version='1.0' encoding='UTF-8'?>
<node order="14" type="filter">
  <label>Movie &amp; TV - Non Favourites</label>
  <icon>Z:\Movies &amp; TV\Templates\Playlist Icons\movieTVFavouritesNon.png</icon>
  <match>any</match>
  <content>movies</content>
  <content>tvshows</content>
  <rule field="tag" operator="doesnotcontain">
    <value>favourite</value>
  </rule>
  <order direction="ascending">title</order>
</node>
Reply
You can mix within a node, but each is it's own sub-node no mixing at this point.

e.g. Image
Reply
How do I reset my user and password
Reply
@matt Scarpelli

Wrong thread for your question. Where are you being asked for your login details?
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
(2019-06-13, 19:49)PatK Wrote: You can mix within a node, but each is it's own sub-node no mixing at this point.
Just out of interest, how did you do the decades sub-node here? Have you an .xml done for each decade or is there a similar grouping for decade?

https://kodi.wiki/view/Smart_playlists#Grouping
Reply
(2019-06-14, 00:49)Matt Scarpelli Wrote: How do I reset my user and password

Sorry, we have no crystal ball here. What user and password?
Reply
(2019-06-15, 18:01)stephen147 Wrote:
(2019-06-13, 19:49)PatK Wrote: You can mix within a node, but each is it's own sub-node no mixing at this point.
Just out of interest, how did you do the decades sub-node here? Have you an .xml done for each decade or is there a similar grouping for decade?

https://kodi.wiki/view/Smart_playlists#Grouping  

you would do it like this
xml:
<?xml version='1.0' encoding='UTF-8'?>
<node order="80" type="filter">
<label>20434</label>
<icon>DefaultSets.png</icon>
<content>movies</content>
<order direction="ascending">year</order>
<rule field="year" operator="lessthan">
<value>1939</value>
</rule>
<rule field="year" operator="greaterthan">
<value>1930</value>
</rule>
</node>

EDIT greaterthan 1929 lessthan 1940
Image
Reply
One random movie
xml:
<?xml version='1.0' encoding='UTF-8'?>
<node type="filter">
 <label>row1</label>
 <content>movies</content>
 <limit>1</limit>
 <order direction="ascending">random</order>
</node>

you will need to make custom widget for this
includeshome.xml
xml:
<include name="MainFeature">
  <!-- <param name="main_label">$INFO[ListItem.Title]</param> -->
  <!-- <param name="sub_label">$INFO[ListItem.TVShowTitle]</param> -->
  <!-- <param name="thumb_label">$INFO[ListItem.Season,,x]$INFO[ListItem.Episode]</param> -->
  <param name="sortby"></param>
  <param name="visible">true</param>
  <param name="sortorder">ascending</param>
  <param name="widget_limit">1</param>
  <definition>
   <include content="CategoryLabel">
    <!-- <param name="label">$PARAM[widget_header]</param> -->
    <param name="list_id" value="$PARAM[list_id]"/>
   </include>
   <include content="BusyListSpinner">
    <param name="list_id" value="$PARAM[list_id]"/>
    <param name="posy" value="100"/>
   </include>
   <control type="panel" id="$PARAM[list_id]">
    <left>400</left>
    <top>0</top>
    <right>0</right>
    <width>720</width>
    <height>500</height>
    
    <!-- <include content="WidgetListCommon"> -->
     <!-- <param name="list_id" value="$PARAM[list_id]"/> -->
    <!-- </include> -->
    <visible>$PARAM[visible]</visible>
    <visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,0) | Container($PARAM[list_id]).IsUpdating</visible>
    <itemlayout width="80%" height="480">
    
     <control type="group">
      <left>2</left>
      <top>15</top>
      <control type="image">
    <left>0</left>
    <top>0</top>
    <width>720</width>
    <height>480</height>
    <texture fallback="$PARAM[fallback_image]" background="true">$VAR[HomeFanartVar]</texture>
    <bordertexture border="21">overlays/shadow.png</bordertexture>
     <bordersize>20</bordersize>
   
   </control>
     </control>
     </itemlayout>
    
    <focusedlayout width="100%" height="480">
     <control type="group">
      <depth>DepthContentPopout</depth>
      <left>2</left>
      <top>15</top>
      <control type="image">
    <left>0</left>
    <top>0</top>
    <width>720</width>
    <height>480</height>
    <texture fallback="$PARAM[fallback_image]" background="true">$VAR[HomeFanartVar]</texture>
    <bordertexture border="21">overlays/shadow.png</bordertexture>
     <bordersize>20</bordersize>
   
   </control>
     </control>
     
    </focusedlayout>
    <content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" target="$PARAM[widget_target]" limit="$PARAM[widget_limit]">$PARAM[content_path]</content>
   </control>
  </definition>
 </include>

Image
Reply
(2019-06-15, 18:01)stephen147 Wrote:
(2019-06-13, 19:49)PatK Wrote: You can mix within a node, but each is it's own sub-node no mixing at this point.
Just out of interest, how did you do the decades sub-node here? Have you an .xml done for each decade or is there a similar grouping for decade?

https://kodi.wiki/view/Smart_playlists#Grouping 
Image

I used one .xml for each decade, Not wanting a complete duplication of my library I chose to filter and pull the best few forward for each decade, and then rounded out at the end with a combined filtered list.
Reply
Q is there a way to add fanart to a node ?
Reply
(2019-06-17, 02:53)the_other_guy Wrote: Q is there a way to add fanart to a node ?
Node is a work in progress, it takes the fanart from the 'video' background defined in the skin. This could be a feature request. There has been work-round in the form of 3d party add-ons, but I'm unsure if SF is still supported.
Reply
Sorry if it has been asked before, but I can't find the answer on here or via Google.....

What is the difference between a node and a parent node? Does it matter which I use? I want to create so custom nodes such as pre 2000s movies, a number of TV nodes based on path,etc and I'm not sure which I should be using.

Thanks
Reply
(2019-06-21, 10:34)Finchy Wrote: I want to create so custom nodes such as pre 2000s movies, a number of TV nodes based on path
How do you intend to use the Nodes once created? Maybe consider a Smart Playlist instead?
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
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 22

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