[HOW TO] Library Node Examples
Hi there...

I've got the following question:

I have 2 main music paths (/media/music & /media/audioplays) which are all in one DB. The library has multiple sources for those 2 paths (Reggae, Pop, Soundtrack as examples for Music & Comedy, Audiobooks, Podcasts as examples for Audioplays).

I'd like to split up those 2 main paths within Kodi for to not have Music cluttered with Audioplays and vice versa.

I created nodes like this:
Code:
<?xml version='1.0' encoding='UTF-8'?>
<node order="20" type="filter">
       <label>Interpreten</label>
       <icon>DefaultMusicArtists.png</icon>
       <content>artists</content>
       <rule field="path" operator="contains">
               <value>audioplay</value>
       </rule>
</node>

Problem is, as this is a "filter" type, it creates a query on the DB which takes ages (multiple minutes) as it's a large DB (250MB).

Together with this, the above node results in duplicate artists with exactly the same albums underneath!?

I tried using folder type nodes, but don't know how to restrict them by path?!

Together with this, the standard nodes sometimes have 
Code:
visible="Library.HasContent(Music)"
or 
Code:
visible="Library.HasContent(Compilations)"
Question: what's it about with these "visible" flags? Where and when to use them? Can't find any info on it.

So, what would your approach be to split the audio DB into 2 without creating everlasting queries?
Reply
 
Thread Rating:
  • 5 Vote(s) - 3.8 Average


Messages In This Thread
[HOW TO] Library Node Examples - by zag - 2016-01-22, 11:47
RE: Library Node Examples - by DaveBlake - 2016-01-22, 13:13
RE: Library Node Examples - by zag - 2016-01-22, 15:13
RE: Library Node Examples - by DaveBlake - 2016-01-24, 11:36
RE: Library Node Examples - by tkgafs - 2016-01-26, 11:21
RE: Library Node Examples - by DarkHelmet - 2016-01-26, 13:09
RE: Library Node Examples - by zag - 2016-01-26, 13:14
RE: Library Node Examples - by DarkHelmet - 2016-01-26, 14:42
RE: Library Node Examples - by zag - 2016-01-26, 14:52
RE: Library Node Examples - by annejones101 - 2020-02-15, 11:03
RE: Library Node Examples - by tkgafs - 2016-01-31, 12:06
RE: Library Node Examples - by DaveBlake - 2016-01-31, 12:34
RE: Library Node Examples - by DarkHelmet - 2016-01-31, 14:38
RE: Library Node Examples - by DaveBlake - 2016-01-31, 14:43
RE: Library Node Examples - by DaveBlake - 2016-01-31, 14:45
RE: Library Node Examples - by zag - 2016-01-31, 14:49
RE: Library Node Examples - by YamYam - 2020-03-10, 11:08
RE: [HOW TO] Library Node Examples - by zag - 2016-01-31, 15:33
RE: [HOW TO] Library Node Examples - by zag - 2016-01-31, 16:08
RE: [HOW TO] Library Node Examples - by zag - 2016-02-03, 10:45
RE: [HOW TO] Library Node Examples - by zag - 2016-02-24, 13:43
RE: [HOW TO] Library Node Examples - by zag - 2016-02-26, 17:36
RE: [HOW TO] Library Node Examples - by zag - 2016-02-27, 15:41
RE: [HOW TO] Library Node Examples - by zag - 2016-03-30, 22:12
RE: [HOW TO] Library Node Examples - by zag - 2016-03-31, 11:04
RE: [HOW TO] Library Node Examples - by zag - 2016-05-23, 21:29
RE: [HOW TO] Library Node Examples - by zag - 2016-05-23, 22:07
RE: [HOW TO] Library Node Examples - by Zani - 2017-10-25, 14:45
RE: [HOW TO] Library Node Examples - by Zani - 2017-10-30, 14:38
RE: [HOW TO] Library Node Examples - by Zani - 2017-10-31, 15:56
RE: [HOW TO] Library Node Examples - by Er1c - 2018-05-12, 07:02
RE: [HOW TO] Library Node Examples - by DaVu - 2018-11-06, 15:53
RE: [HOW TO] Library Node Examples - by Alion - 2018-11-06, 18:09
RE: [HOW TO] Library Node Examples - by ronie - 2019-02-08, 12:20
RE: [HOW TO] Library Node Examples - by ronie - 2019-02-08, 13:19
RE: [HOW TO] Library Node Examples - by PatK - 2019-06-13, 19:49
RE: [HOW TO] Library Node Examples - by PatK - 2019-06-16, 05:31
RE: [HOW TO] Library Node Examples - by PatK - 2019-06-17, 16:40
[HOW TO] Library Node Examples - by Finchy - 2019-06-21, 10:34
[HOW TO] Library Node Examples - by Finchy - 2019-06-21, 20:46
RE: [HOW TO] Library Node Examples - by PatK - 2019-06-23, 04:51
RE: [HOW TO] Library Node Examples - by PatK - 2019-06-24, 00:04
RE: [HOW TO] Library Node Examples - by PatK - 2019-06-24, 18:38
RE: [HOW TO] Library Node Examples - by TimoJ - 2020-01-01, 19:58
RE: [HOW TO] Library Node Examples - by Uatschitchun - 2019-12-08, 14:07
RE: [HOW TO] Library Node Examples - by PatK - 2019-12-08, 22:38
RE: [HOW TO] Library Node Examples - by TimoJ - 2020-01-05, 15:21


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