adjustment to the new audio-player module of racket-audio

This commit is contained in:
2026-05-19 15:01:32 +02:00
parent e60ecaeaef
commit 2f04cf2ff4
4 changed files with 59 additions and 20 deletions
+8
View File
@@ -51,6 +51,14 @@
(define/public (get-length) length)
(define/public (get-id) my-id)
(define/public (booklet-file)
(let* ((dir (path-only file))
(booklet-file (build-path dir "booklet.pdf")))
booklet-file))
(define/public (has-booklet?)
(file-exists? (send this booklet-file)))
(define/public (track< t2)
(if (string-ci<? album (send t2 get-album))
#t