Kodi Community Forum
Custom Node filter on first character of SortName not possible? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Music Support (https://forum.kodi.tv/forumdisplay.php?fid=263)
+--- Thread: Custom Node filter on first character of SortName not possible? (/showthread.php?tid=374370)



Custom Node filter on first character of SortName not possible? - jojaspi - 2023-09-07

I'm trying to break up my artists, following the example of zag (A-Z first letter nodes, https://forum.kodi.tv/showthread.php?tid=257378&pid=2222418#pid2222418).
It works, but the filter is based on the artist-name.
The following rule:
 
Code:
<?xml version='1.0' encoding='UTF-8'?>
<node order="1" type="filter">
<label>A</label>
<content>artists</content>
<rule field="artist" operator="startswith">
<value>A</value>
</rule>
</node>
selects for instance the composer Alban Berg.

I would like to change the rule to select the first character of the SortName (a "B" for Alban Berg).

It seems that I cannot use the field SortName in Smart Playlists or filter nodes??


RE: Custom Node filter on first character of SortName not possible? - scott967 - 2023-09-08

Correct.  Not currently defined as a filter field.  I don't see any record of it coming up as an issue when sort artists were added, so don't know if it was intentional, an oversight, or just not considered.

scott s.
.


This forum uses Lukasz Tkacz MyBB addons.