This commit is contained in:
nixo 2019-05-17 20:58:10 +02:00
parent 11393c242b
commit 3d5510cedb
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ function getArtists()
artists = unique(beetsdb) artists = unique(beetsdb)
# albums = group_albums_as_artists() # albums = group_albums_as_artists()
# .|> does not work in a macro. What to do? # .|> does not work in a macro. What to do?
for index in unique(first.(filter(isempty, for index in unique(first.(filter(!isempty,
getfield.(artists, Ref(:name)))) .|> uppercase) getfield.(artists, Ref(:name)))) .|> uppercase)
indexXML = new_child(indexes, "index") indexXML = new_child(indexes, "index")
set_attribute(indexXML, "name", string(index)) set_attribute(indexXML, "name", string(index))