

The extension may be prefixed by a dot (".") or not. WARNING: Invalid options could result in script failure! WARNING: You must specify an audio codec (by including a -c:a ffmpeg option) or the resulting file will contain no audio! Note: Requires the -e option to also be specified. See FFmpeg Options for details on valid options, and Guidelines for high quality audio encoding for suggested usage. The options value must be enclosed in quotes. The specified options replace all script defaults and are sent directly to ffmpeg. Note: May not be specified with -b, -a, or -e. See the FFmpeg MP3 Encoding Guide for more details. Specify a value between 0 and 9, with 0 being the highest quality. Note: May not be specified with -v, -a, or -e. Sets the output quality in constant bits per second (CBR). The script may be called with optional command line arguments.įlac2mp3 Įnables debug logging. To supply arguments to the script, you must either use one of the included wrapper scripts, create a custom wrapper script, or set the FLAC2MP3_ARGS environment variable. Note: The Arguments field for Custom Scripts was removed in Lidarr release v0.

This behavior may be modified with the -keep-file option. NOTE: If you have not configured the Recycle Bin, the original FLAC audio file(s) will be deleted and permanently lost.

Existing files with the same track name will be overwritten.īy default, if you've configured Lidarr's Recycle Bin path correctly, the original audio file will be moved there. New file(s) will be placed in the same directory as the original FLAC file(s) (unless redirected with the -output option below) and have the same owner and permissions.
#Convert m4a to flac 320kbps#
This will use the defaults to create a 320Kbps MP3 file.įor any other setting, you must use one of the supported methods to pass arguments to the script. e DOCKER_MODS=linuxserver/mods:lidarr-flac2mp3 \Ĭonfigure a custom script from Lidarr's Settings > Connect screen and type the following in the Path field:
#Convert m4a to flac mod#
AboutĪ Docker Mod for the LinuxServer.io Lidarr Docker container that uses ffmpeg and a script to automatically convert downloaded FLAC (or other format) files to MP3s. Visit the production repository and branch for stable/production releases.
