Skip to content

Commit 4789bc4

Browse files
Document Lidarr cue splits for FLAC and APE.
split_flac covers both images, and ape_format plus ape_compression choose what an APE image becomes. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 2a41ec3 commit 4789bc4

3 files changed

Lines changed: 27 additions & 1 deletion

File tree

‎docs/install/configuration.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,27 @@ Env: `UN_FOLDER_<key>_WAIT_EXTENSION_0=.part`.
136136
**Empty folders:** `skip_empty` (env `UN_FOLDER_<key>_SKIP_EMPTY`) drops
137137
archive-free folders after `start_delay` with no history row and no webhook.
138138

139+
### Lidarr cue sheets
140+
141+
Lidarr only. `split_flac` splits a completed download that has a CUE sheet.
142+
It splits both FLAC and APE images into one file per track, then asks Lidarr
143+
to import those tracks. Sonarr, Radarr, and Readarr ignore this setting.
144+
A watched folder does not split cue sheets.
145+
146+
When the image is APE, `ape_format` chooses the files those tracks become:
147+
148+
- `ape` keeps Monkey's Audio. This is the default, and an empty value means the same.
149+
- `wav` and `flac` decode the audio. FLAC cannot store 32-bit or float PCM.
150+
151+
`ape_compression` applies only when the format is APE. The choices are `1000`,
152+
`2000`, `3000`, `4000`, and `5000`. A default of `0` is set to `2000` (normal).
153+
WAV and FLAC ignore compression.
154+
155+
A lone `.ape` file that has no cue sheet is left for Lidarr to import as-is.
156+
157+
Environment variables use the instance key: `UN_LIDARR_<key>_SPLIT_FLAC`,
158+
`UN_LIDARR_<key>_APE_FORMAT`, and `UN_LIDARR_<key>_APE_COMPRESSION`.
159+
139160
{/* The Global content is generated from here: https://github.com/Unpackerr/unpackerr/tree/main/init/config */}
140161
<Global />
141162

‎docs/install/upgrading.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ If you are on 0.16.x or earlier today, read this page before you pull `latest`.
3737
- Watched-folder extracts resume from history after a restart. Incomplete
3838
downloads can wait on `wait_extensions`; archive-free folders can be
3939
skipped with `skip_empty`.
40+
- Lidarr `split_flac` splits FLAC and APE cue sheets into tracks. APE tracks
41+
can be written as APE, WAV, or FLAC (`ape_format`). A compression of `0` is
42+
set to normal (`2000`). See
43+
[Lidarr cue sheets](configuration#lidarr-cue-sheets).
4044

4145
The extractor and Starr polling work as they did. Folder watch picked up a
4246
few v1 changes (per-path poll, restore after restart, wait/skip). See

‎docs/introduction.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ of these types:
6262
- Other compressors: `lz4`, `lz`, `lzip`, `lzma`, `lzma2`, `z`, `br`, `brotli`,
6363
`s2`, `snappy`, `sz`, `zlib`, `zz`
6464
- Packages and images: `iso`, `cpio`, `cpio.gz`, `cpgz`, `ar`, `deb`, `rpm`
65-
- Cue sheets (FLAC splits): `cue`, `cue.txt`
65+
- Cue sheets: `cue`, `cue.txt`. Lidarr's `split_flac` splits FLAC and APE
66+
images into tracks. See [Lidarr cue sheets](/docs/install/configuration#lidarr-cue-sheets).
6667
- Multi-file archives are supported with RAR and 7-Zip.
6768
- Password protected archives are supported with RAR and 7-Zip.
6869
- Archives are detected by the file extension. ISO is disabled by default

0 commit comments

Comments
 (0)