Kodi Community Forum

Full Version: Custom Node filter on first character of SortName not possible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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...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??
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.
.