2022-07-15 17:01:30 +00:00
# [lidarr-on-steroids](https://github.com/youegraillot/lidarr-on-steroids/)
2022-07-15 12:38:34 +00:00
2023-09-09 10:37:54 +00:00
```I'm looking for maintainers, pm me if you're interested !```
2022-07-15 12:41:46 +00:00
[![GitHub last commit ](https://img.shields.io/github/last-commit/youegraillot/lidarr-on-steroids?style=for-the-badge&logo=github )](https://github.com/youegraillot/lidarr-on-steroids)
[![Latest tag ](https://img.shields.io/docker/v/youegraillot/lidarr-on-steroids?style=for-the-badge&logo=docker )](https://hub.docker.com/r/youegraillot/lidarr-on-steroids)
[![Docker pulls ](https://img.shields.io/docker/pulls/youegraillot/lidarr-on-steroids?style=for-the-badge&logo=docker )](https://hub.docker.com/r/youegraillot/lidarr-on-steroids)
2022-07-15 12:38:34 +00:00
This repository bundles a modded version of Lidarr and Deemix into a docker image featuring :
2022-07-15 18:59:52 +00:00
- Native Deemix integration as an indexer and downloader for Lidarr
2022-07-15 12:38:34 +00:00
- Automatic Lidarr and Deemix configuration
- Automatic conversion from any format with ffmpeg
- Podman compatibility with rootless mode
2022-07-15 18:59:52 +00:00
This allows an easy deployment, with the advantage of having a direct control over Deemix indexing and downloader capacities into Lidarr :
2022-07-15 21:14:41 +00:00
!["Lidarr indexers" ](https://github.com/youegraillot/lidarr-on-steroids/raw/main/.assets/lidarr-indexers.png "Lidarr indexers" )
2022-07-15 18:59:52 +00:00
2022-07-15 12:38:34 +00:00
## Usage
### Parameters
| Parameter | Function |
| :----: | --- |
| `-p 8686` | Lidarr WebUI |
| `-p 6595` | Deemix WebUI |
| `-e PUID=1000` | for UserID |
| `-e PGID=1000` | for GroupID |
| `-e AUTOCONFIG=true` | Enable automatic configuration - see below for explanation |
2023-09-10 17:15:08 +00:00
| `-e FLAC2CUSTOM_ARGS=""` | Sets arguments used when calling flac2custom.sh |
| `-e CLEAN_DOWNLOADS=true` | Enable cleaning empty folders in /downloads |
2022-07-15 12:38:34 +00:00
| `-v /config` | Configuration files for Lidarr. |
| `-v /config_deemix` | Configuration files for Deemix. |
| `-v /downloads` | Path to your download folder for music. |
| `-v /music` | Music files. |
### Docker Run
2022-07-16 10:31:16 +00:00
```sh
2022-07-15 12:38:34 +00:00
docker run \
--name lidarr \
-p 8686:8686 \
-p 6595:6595 \
-v < path > :/config \
-v < path > :/config_deemix \
-v < path > :/downloads \
-v < path > :/music \
--restart unless-stopped \
youegraillot/lidarr-on-steroids
```
### Docker Compose
```yml
version: "3"
services:
lidarr:
2022-07-15 17:01:30 +00:00
image: youegraillot/lidarr-on-steroids
2022-07-15 12:38:34 +00:00
restart: unless-stopped
ports:
- "8686:8686" # Lidarr web UI
- "6595:6595" # Deemix web UI
volumes:
- < path > :/config
- < path > :/config_deemix
- < path > :/downloads
- < path > :/music
```
## Automatic configuration
Deemix comes with optimal settings allowing Lidarr integration, in particular regarding the folder structure ("createCDFolder" is required for this to work). `DEEMIX_SINGLE_USER` environment variable is also set to `true` to allow the `setup` script to read the corresponding ARL.
The `setup` service will install the Deemix plugin. This requires Lidarr to be restarted once.
2022-07-16 10:37:43 +00:00
In `AUTOCONFIG` mode (default), the only manual manipulation you'll only have to fill your Deezer credentials in Deemix web UI (port [6595 ](http://localhost:6595 ) by default). Once the `/config_deemix/login.json` is filled with the resulting ARL, the `setup` will be able to create the following :
2022-07-15 12:38:34 +00:00
- /music root folder if no other root folder is configured
- Delay profile allowing Deemix to be used by automatic search
- Deemix as an indexer
- Deemix as a download client
2022-07-16 10:31:16 +00:00
- Flac2Custom script connection if `FLAC2CUSTOM_ARGS` is set
2022-07-16 22:20:38 +00:00
- clean-downloads script connection to keep your downloads folder *clean* after each imports
2022-07-15 12:38:34 +00:00
In case you don't want the automagical part (which is really the only value of this image), just set `AUTOCONFIG` environment variable to `false` .
## Audio files conversion
2022-07-15 21:03:25 +00:00
The image uses a modded version of lidarr-flac2mp3 allowing conversion from any format.
2022-07-15 12:38:34 +00:00
2022-07-16 10:31:16 +00:00
To enable conversion on Lidarr import, create a new Connection to a Custom Script. You can also provide your own custom conversion script, see [lidarr-flac2mp3 ](https://github.com/youegraillot/lidarr-flac2mp3 ) for more information.
2022-07-16 10:37:43 +00:00
In `AUTOCONFIG` , if `FLAC2CUSTOM_ARGS` is set and no other connection to flac2* is found, this step done for you :
2022-07-15 12:38:34 +00:00
2022-07-15 21:14:41 +00:00
!["Lidarr custom script settings" ](https://github.com/youegraillot/lidarr-on-steroids/raw/main/.assets/lidarr-custom-script.png "Lidarr custom script settings" )
2022-07-15 12:38:34 +00:00
2022-07-15 13:46:15 +00:00
## Acknowledgment
2022-07-15 12:38:34 +00:00
2022-07-16 10:31:16 +00:00
This project is just a compilation of various tools made possible by these projects :
2022-07-15 12:38:34 +00:00
- [Lidarr ](https://github.com/Lidarr/Lidarr ) and especially [ta264 ](https://github.com/ta264 ) for the plugin integration
- [lidarr-flac2mp3 ](https://github.com/TheCaptain989/lidarr-flac2mp3 ) for the format conversion script
- [Deemix ](https://deemix.app/ ) for the downloader backend
- [hotio ](https://hotio.dev/ ) for the base docker image
2022-07-15 13:46:15 +00:00
Alternatively, you could use [Deemixrr ](https://github.com/TheUltimateC0der/deemixrr ) which pretty much offers the same functionalities without the *starr of the various Sonarr forks.