Add support for single audio files with embedded CUE sheets

This post by a member of the Roon team may help: Splitting tracks (FLAC + CUE files) [Answered - Use Cue Splitter]

and you may wish to consider this:

[quote]$ ls -la
total 41088
drwxr-xr-x 2 x users 4096 Apr 2 08:28 .
drwxrwxr-x 8 x users 4096 Apr 2 08:25 …
-rw-rw-rw- 1 x users 42065564 Apr 2 08:21 test.wav
$ md5sum test.wav
6037ed10ab8cb478b5aa49f6712649a5 test.wav
$ flac -8 --delete-input-file *.wav

flac 1.3.2
Copyright © 2000-2009 Josh Coalson, 2011-2016 Xiph.Org Foundation
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac’ for details.

test.wav: wrote 28141103 bytes, ratio=0.669
$ ls -la
total 27492
drwxr-xr-x 2 x users 4096 Apr 2 08:29 .
drwxrwxr-x 8 x users 4096 Apr 2 08:25 …
-rw-rw-rw- 1 x users 28141103 Apr 2 08:21 test.flac
$ flac -d *.flac

flac 1.3.2
Copyright © 2000-2009 Josh Coalson, 2011-2016 Xiph.Org Foundation
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac’ for details.

test.flac: done
$ ls -la
total 68572
drwxr-xr-x 2 x users 4096 Apr 2 08:29 .
drwxrwxr-x 8 x users 4096 Apr 2 08:25 …
-rw-rw-rw- 1 x users 28141103 Apr 2 08:21 test.flac
-rw-rw-rw- 1 x users 42065564 Apr 2 08:21 test.wav
$ md5sum test.wav
6037ed10ab8cb478b5aa49f6712649a5 test.wav
$[/quote]

and then finally this:

[quote]$ ls -la
total 41092
drwxr-xr-x 2 x users 4096 Apr 2 08:34 .
drwxrwxr-x 8 x users 4096 Apr 2 08:25 …
-rw-rw-rw- 1 x users 42065564 Apr 2 08:21 test.wav
$ flac -8 --delete-input-file *.wav

flac 1.3.2
Copyright © 2000-2009 Josh Coalson, 2011-2016 Xiph.Org Foundation
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac’ for details.

test.wav: wrote 28141103 bytes, ratio=0.669
$ ls -la
total 27492
drwxr-xr-x 2 x users 4096 Apr 2 08:34 .
drwxrwxr-x 8 x users 4096 Apr 2 08:25 …
-rw-rw-rw- 1 x users 28141103 Apr 2 08:21 test.flac
$ metaflac --show-md5sum test.flac
69abf9a1e2accdbee036f086c0021191
$ flac -d *.flac

flac 1.3.2
Copyright © 2000-2009 Josh Coalson, 2011-2016 Xiph.Org Foundation
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac’ for details.

test.flac: done
$ rm *.flac
$ ls -la
total 41088
drwxr-xr-x 2 x users 4096 Apr 2 08:36 .
drwxrwxr-x 8 x users 4096 Apr 2 08:25 …
-rw-rw-rw- 1 x users 42065564 Apr 2 08:21 test.wav
$ flac -1 --delete-input-file *.wav

flac 1.3.2
Copyright © 2000-2009 Josh Coalson, 2011-2016 Xiph.Org Foundation
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac’ for details.

test.wav: wrote 29934159 bytes, ratio=0.712
$ ls -la
total 29244
drwxr-xr-x 2 x users 4096 Apr 2 08:36 .
drwxrwxr-x 8 x users 4096 Apr 2 08:25 …
-rw-rw-rw- 1 x users 29934159 Apr 2 08:21 test.flac
$ metaflac --show-md5sum test.flac
69abf9a1e2accdbee036f086c0021191
$[/quote]