1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-02 15:07:45 +02:00

shntool: added bugfix

This commit is contained in:
tiyn 2023-10-17 02:55:48 +02:00
parent 80441cce1e
commit 632dfaa388
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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>'