•   
  • 1
  • 10
  • 11
  • 12
  • 13
  • 14(current)
[HOW TO] Library Node Examples
(2020-01-02, 15:21)jjd-uk Wrote: That sounds like a bug.

Looks like it does this if I use return parameter. Without it, two dots works, but you have to press it twice before the listing changes to the lower level. First press does nothing.
Reply
I'm using the system.date control to indicate node visibility:

<node order="1" visible="System.Date(01-03,01-04)">

Does anybody know how Kodi handles February 29th?

Or should I just make the visibility for the last Node of February to display as:

<node order="1" visible="System.Date(02-28,03-01)">

to avoid trouble?

ideally, I would want

<node order="1" visible="System.Date(02-28,02-29)">

and then the next day's node to be:

<node order="1" visible="System.Date(02-29,03-01)">
Reply
(2016-01-26, 14:52)zag Wrote: Thanks! So the corresponding node in music would be:

C:\Users\username\AppData\Roaming\Kodi\userdata\library\music\LongTracks.xml
Code:
<?xml version='1.0' encoding='UTF-8'?>
<node order="3" type="filter">
<label>Long Tracks</label>
<match>all</match>
<content>songs</content>
<rule field="time" operator="greaterthan"><value>30:00</value></rule>
</node>

Haven't tested it yet.

EDIT: works perfectly! Awesome, now we have a node for Live DJ sets Smile

Image 

Not working for me, it is returning the same error

Any other working solution or someone can help me out?

Thanks in advance
Reply
This one works for me:
Code:
<?xml version='1.0' encoding='UTF-8'?>
<node order="50" type="filter">
<label>Long Tracks</label>
<icon>DefaultAddonAlbumInfo.png</icon>
<content>songs</content>
<match>all</match>
<rule field="path" operator="startswith">
<value>/media/mp3/</value>
</rule>
<rule field="time" operator="greaterthan">
<value>30:00</value>
</rule>
<order direction="ascending">artist</order>
</node>
Reply
  •   
  • 1
  • 10
  • 11
  • 12
  • 13
  • 14(current)
 
Thread Rating:
  • 5 Vote(s) - 3.8 Average



Logout Mark Read Team Forum Stats Members Help
[HOW TO] Library Node Examples3.85
This forum uses Lukasz Tkacz MyBB addons.