2016-03-18, 19:08
I wanted the composers on the first level (together with albums etc.) and not hidden in the roles. Krypton offers a simple way to have it, step by step:
- enter node editor (options panel on the left)
- new node, give it a name ("Compositori" for me; I live in Italy)
- still in the editor click the new node
- add path (add content doesn't work, because it doesn't offer neither roles nor composers): musicdb://artists/?role=Composer
I found the path clicking (in the editor) Roles -> Composers
It works!
UPDATE:
Since the node editor currently does not work ( ? A problem of the alpha version ? ) , I opened the xml file and I found that thus the purpose of having e.g. composers on the first level may be reached in an even better way :
- Open the file .kodi / userdata / library / music / musicroles / Composers.xml
< ? Xml version = ' 1.0 ' encoding = ' UTF - 8 ' ? >
<Node order = " 1 " type = "folder" visible = " Library.HasContent (Role , Composer ) " >
<Label > Composers < / label>
<Icon > DefaultMusicGenres.png < / icon >
< Path> musicdb : // artists / ? Role = Composer < / path>
< / Node >
- Delete the "visible " in the second line that the file looks like this
<?xml version='1.0' encoding='UTF-8'?>
<node order="1" type="folder">
<label>Compositori</label>
<icon>DefaultMusicGenres.png</icon>
<path>musicdb://artists/?role=Composer</path>
</node>
- Save it on the first level .kodi / userdata / library / music / Composers.xml
Done!
- enter node editor (options panel on the left)
- new node, give it a name ("Compositori" for me; I live in Italy)
- still in the editor click the new node
- add path (add content doesn't work, because it doesn't offer neither roles nor composers): musicdb://artists/?role=Composer
I found the path clicking (in the editor) Roles -> Composers
It works!
UPDATE:
Since the node editor currently does not work ( ? A problem of the alpha version ? ) , I opened the xml file and I found that thus the purpose of having e.g. composers on the first level may be reached in an even better way :
- Open the file .kodi / userdata / library / music / musicroles / Composers.xml
< ? Xml version = ' 1.0 ' encoding = ' UTF - 8 ' ? >
<Node order = " 1 " type = "folder" visible = " Library.HasContent (Role , Composer ) " >
<Label > Composers < / label>
<Icon > DefaultMusicGenres.png < / icon >
< Path> musicdb : // artists / ? Role = Composer < / path>
< / Node >
- Delete the "visible " in the second line that the file looks like this
<?xml version='1.0' encoding='UTF-8'?>
<node order="1" type="folder">
<label>Compositori</label>
<icon>DefaultMusicGenres.png</icon>
<path>musicdb://artists/?role=Composer</path>
</node>
- Save it on the first level .kodi / userdata / library / music / Composers.xml
Done!