feat: sync-music: only replace extensions with trailing quotes in cue files

This commit is contained in:
eriedaberrie 2024-11-13 00:26:48 -08:00
parent 5fc881156e
commit ef21e69ac3

View file

@ -59,8 +59,8 @@ Pushes status message about this action to QUEUE if given."))
:element-type 'octet)
(setf buf (make-array (file-length input) :element-type 'octet))
(read-sequence buf input))
(setf buf (replace-text-buffer buf ".flac" ".opus"))
(setf buf (replace-text-buffer buf ".wav" ".opus"))
(setf buf (replace-text-buffer buf ".flac\"" ".opus\""))
(setf buf (replace-text-buffer buf ".wav\"" ".opus\""))
(with-open-file (output
(action-target a)
:element-type 'octet