fix: sync-music: also patch cue files for .wav -> .opus
This commit is contained in:
parent
3adb38248e
commit
117325d1ef
|
@ -25,11 +25,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1729880355,
|
||||
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
|
||||
"lastModified": 1730531603,
|
||||
"narHash": "sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
|
||||
"rev": "7ffd9ae656aec493492b44d0ddfb28e79a1ea25d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -49,6 +49,7 @@ Pushes status message about this action to QUEUE if given."))
|
|||
(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"))
|
||||
(with-open-file (output
|
||||
(action-target a)
|
||||
:element-type 'octet
|
||||
|
|
Loading…
Reference in a new issue