[HOW TO] Library Node Examples
Ok, what works is the following:

If I have the following sources added within "files"
  • /media/audioplay/comedy => As "comedy" (Sourceid=1)
  • /media/audioplay/audiobooks => As "audiobooks" (Sourceid=2)
  • /media/music/pop => As "pop" (Sourceid=3)
  • /media/music/rock => As "rock" (Sourceid=4)
Each as individual source, those 4 sources appear in music->sources node. So far so good..

If I add another 2 (combined) sources within "files":
  • /media/audioplay/comedy & /media/audioplay/audiobooks => As "Audioplays" (Sourceid=5)
  • /media/music/pop => As "pop" & /media/music/rock => As "Music" (Sourceid=6)
I have a total of 6 sources.

The standard music nodes give "Artists", "Albums", "Genre", "Recentlyadded", etc. for all sources.

This one gives "Artists" for "comedy"
Code:
<?xml version='1.0' encoding='UTF-8'?>
<node order="20" type="folder">
       <label>Artists Comedy</label>
       <icon>DefaultMusicGenres.png</icon>
       <path>musicdb://artists/?sourceid=1</path>
</node>
and this one for "Audioplays"
Code:
<?xml version='1.0' encoding='UTF-8'?>
<node order="20" type="folder">
       <label>Artists Audioplays</label>
       <icon>DefaultMusicGenres.png</icon>
       <path>musicdb://artists/?sourceid=5</path>
</node>
Same works for "Albums" by using
Code:
<path>musicdb://albums/?sourceid=5</path>
So with this one's able to separate "Music" from "Audioplays" for artists, albums & songs

Not working is this one:
Code:
<path>musicdb://genres/?sourceid=5</path>
it delivers all existent genres where the ones not appearing in "sourceid=5" (Audioplays) are simply empty ;(

Also not able to filter by sourceid are: 
  • musicdb://recentlyaddedalbums/ (using musicdb://recentlyaddedalbums/?sourceid=5 is equal to using musicdb://recentlyaddedalbums/)
  • musicdb://years/ (it delivers the same result as musicdb://genres/ filtered by sourceid => a list with all years in DB with empty entries)

I've searched, but could not find any documentation (besides this one: https://kodi.wiki/view/Opening_Windows_a...logs#Music) in regards to folder type nodes using musicdb:// paths and the filtering options...
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 PatK - 2019-12-08, 22:38
RE: [HOW TO] Library Node Examples - by Uatschitchun - 2019-12-09, 15:07
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.