shntool: added bugfix

master
tiyn 11 months ago
parent 80441cce1e
commit 632dfaa388

@ -15,4 +15,4 @@ Another possible tagging software is [MusicBrainz Picard](../picard.md)
### Splitting Flac file according to cue file
`shnsplit` can be used to split flac files.
In the [shnsplit article](/wiki/linux/shnsplit.md) an explanation on this is given.
In the [shnsplit article](/wiki/linux/shntool.md) an explanation on this is given.

@ -28,6 +28,10 @@ cuebreakpoints '<cue file>' | shnsplit -o '<codec>' '<audio file>'
Omitting of the `-o` flag will result in output files with the `.wav` filetype.
Alternatively the usage of `cuebreakpoints` can be avoided with the following
command.
Sometimes `cuebreakpoints` outputs incorrect timestamps.
They are usually missing a `0` at the end.
To fix this the output of the `cuebreakpoints` command can be piped into `sed s/$/0/` which can be
piped into shnsplit just as in the example before.
```sh
shnsplit -f '<cue file>' -o '<codec>' '<audio file>'

Loading…
Cancel
Save