]> Sergey Matveev's repositories - dotfiles.git/commitdiff
No "none" collection
authorSergey Matveev <stargrave@stargrave.org>
Thu, 26 Jan 2023 21:48:39 +0000 (00:48 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 26 Jan 2023 21:48:39 +0000 (00:48 +0300)
bin/bin/music-indexer

index 9c1d5d106d06bf404d8c0b0e18f7fa894820c2d5..02e38230c155363d18afe4dd2c6e6c2df58926bb 100755 (executable)
@@ -43,6 +43,5 @@ for name (*~cols) {
     print "Album: ${(j/-/)album:gs/_/ /}"
     [[ -n $lossless ]] && print "Lossless: yes"
     for col ($cols) print "Collection: $col"
-    [[ ${#cols} -eq 0 ]] && print "Collection: unsorted"
     print
 }