refactoring volgens skill

This commit is contained in:
2026-08-29 22:25:06 +02:00
parent 09121df0d7
commit b3a5a0b345
20 changed files with 1043 additions and 998 deletions
+4 -4
View File
@@ -278,7 +278,7 @@
(hash-ref!
(player-playlist-contexts value)
normalized
(lambda () (new-playlist-context value normalized))))
(λ () (new-playlist-context value normalized))))
(define (context-tracks context)
(playlist-tab-tracks
@@ -324,7 +324,7 @@
(define context (playlist-context-for! value normalized))
(with-state-lock
value
(lambda ()
(λ ()
(set-player-tabs! value (playlist-context-tabs context))
(set-player-current-tab-index!
value
@@ -1649,7 +1649,7 @@
(define item
(call-with-semaphore
(player-command-lock value)
(lambda ()
(λ ()
(define context
(playlist-context-for!
value
@@ -1659,7 +1659,7 @@
(player-tracks value)
(append-map playlist-tab-tracks
(playlist-context-tabs context))))
(findf (lambda (candidate)
(findf (λ (candidate)
(string=? (track-cache-key candidate) artwork-id))
candidates))))
(and item (track-artwork item)))