bugfix and keys

bugfix: playing failed with tracks of unknown length
keys: added yank keys
This commit is contained in:
2025-09-11 13:59:27 +02:00
parent 56b8c73297
commit 3702bc54a8
4 changed files with 12 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ __generate_playlist() {
(."artist-credit" | map([.name, .joinphrase] | join("")) | join("")),
$deco
] | join("\t"),
length: (.length / 1000 | round | tostring),
length: (.length // 0 / 1000 | round | tostring),
$pos,
number: .number,
file: $filenames[.id]