You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

133 lines
6.2 KiB

2 years ago
# [RandomNinjaAtk/lidarr-extended](https://github.com/RandomNinjaAtk/docker-lidarr-extended)
[![Docker Build](https://img.shields.io/docker/cloud/automated/randomninjaatk/lidarr-extended?style=flat-square)](https://hub.docker.com/r/randomninjaatk/lidarr-extended)
[![Docker Pulls](https://img.shields.io/docker/pulls/randomninjaatk/lidarr-extended?style=flat-square)](https://hub.docker.com/r/randomninjaatk/lidarr-extended)
[![Docker Stars](https://img.shields.io/docker/stars/randomninjaatk/lidarr-extended?style=flat-square)](https://hub.docker.com/r/randomninjaatk/lidarr-extended)
[![Docker Hub](https://img.shields.io/badge/Open%20On-DockerHub-blue?style=flat-square)](https://hub.docker.com/r/randomninjaatk/lidarr-extended)
[![Discord](https://img.shields.io/discord/747100476775858276.svg?style=flat-square&label=Discord&logo=discord)](https://discord.gg/JumQXDc "realtime support / chat with the community." )
2 years ago
[![lidarr](https://github.com/linuxserver/docker-templates/raw/master/linuxserver.io/img/lidarr.png)](https://lidarr.audio/)
## Supported Architectures
The architectures supported by this image are:
| Architecture | Tag |
| :----: | --- |
| x86-64 | amd64-latest |
## Version Tags
| Tag | Description |
| :----: | --- |
| latest | Lidarr nightly + Extended Scripts |
## Application Setup
Access the webui at `<your-ip>:8686`, for more information check out [Lidarr](https://lidarr.audio/).
2 years ago
## Parameters
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container. See the [wiki](https://github.com/RandomNinjaAtk/docker-amd/wiki) to understand how it works.
| Parameter | Function |
| --- | --- |
| `-p 8686` | The port for the Lidarr webinterface |
2 years ago
| `-v /config` | Configuration files for Lidarr. |
| `-v /downloads` | Path to your download folder location. (<strong>required path</strong>)|
2 years ago
| `-v /music` | Path to your music folder location.|
2 years ago
| `-v /music-videos` | Path to your music-videos folder location.|
2 years ago
| `-e TZ=America/New_York` | Specify a timezone to use EG America/New_York. |
2 years ago
| `-e PUID=1000` | for UserID - see below for explanation |
| `-e PGID=1000` | for GroupID - see below for explanation |
| `-e autoStart=true` | true = enabled :: Runs script automatically on startup |
2 years ago
| `-e configureLidarrWithOptimalSettings=true` | true = enabled :: Automatically configures Lidarr with optimal settings |
2 years ago
| `-e audioFormat=native` | native or alac or mp3 or aac or opus :: native is the native download client file type, selected by the matching audio bitrate |
| `-e audioBitrate=lossless` | lossless or high or low or ### :: lossless = flac files, high = 320K, low = 128k/96k, ### = the output bitrate of converted lossless files to selected audioFormat that is not native, example: 192... |
2 years ago
| `-e dlClientSource=both` | deezer, tidal or both :: set to both, to use both clients, tidal requires extra steps, view logging output |
| `-e arlToken=` | User ARL token for deemix client |
| `-e addDeezerTopArtists=false` | true = enabled :: Enabling this will enable the extended script to automatically add artists that are on the Deezer Top Artist Chart to your existing Lidarr instance |
2 years ago
| `-e addDeezerTopAlbumArtists=false` | true = enabled :: Enabling this will enable the extended script to automatically add artists that are on the Deezer Top Album Chart to your existing Lidarr instance |
| `-e addDeezerTopTrackArtists=false` | true = enabled :: Enabling this will enable the extended script to automatically add artists that are on the Deezer Top Track Chart to your existing Lidarr instance |
2 years ago
| `-e topLimit=10` | This setting controls the amount of Top Artist (Albums/Tracks/Artists) to add to Lidarr from Deezer |
| `-e addRelatedArtists=false` | true = enabled :: WARNING !!! WARNING !!! Enabling this can cause an endless loop of additional artists.... Enabling this will enable the extended script to automatically add artists that are related to your existing Lidarr artists from Deezer |
2 years ago
| `-e plexUrl=http://x.x.x.x:32400` | ONLY used if PlexNotify.bash is used...|
| `-e plexToken=` | ONLY used if PlexNotify.bash is used... |
## Usage
Here are some example snippets to help you get started creating a container.
### docker
```
docker create \
--name=lidarr-extended \
2 years ago
-v /path/to/config/files:/config \
-v /path/to/downloads:/downloads \
-v /path/to/music:/music \
-v /path/to/music-videos:/music-videos \
-p 8686:8686 \
-e TZ=America/New_York \
-e PUID=1000 \
-e PGID=1000 \
-e autoStart=true \
-e configureLidarrWithOptimalSettings=true \
-e audioFormat=native \
-e audioBitrate=lossless \
-e dlClientSource=both \
-e arlToken=Token_Goes_Here \
-e addDeezerTopArtists=true \
-e addDeezerTopAlbumArtists=true \
-e addDeezerTopTrackArtists=true \
-e topLimit=10 \
-e addRelatedArtists=true \
-e plexUrl=http://x.x.x.x:32400 \
-e plexToken=Token_Goes_Here \
--restart unless-stopped \
randomninjaatk/lidarr-extended
```
### docker-compose
Compatible with docker-compose v2 schemas.
```
version: "2.1"
services:
lidarr-extended:
image: randomninjaatk/lidarr-extended
container_name: lidarr-extended
volumes:
- /path/to/config/files:/config
- /path/to/downloads:/downloads
- /path/to/music:/music
- /path/to/music-videos:/music-videos
environment:
2 years ago
- TZ=America/New_York
- PUID=1000
- PGID=1000
- autoStart=true
- configureLidarrWithOptimalSettings=true
- audioFormat=native
- audioBitrate=lossless
- dlClientSource=both
- arlToken=Token_Goes_Here
- addDeezerTopArtists=true
- addDeezerTopAlbumArtists=true
- addDeezerTopTrackArtists=true
- topLimit=10
- addRelatedArtists=true
- plexUrl=http://x.x.x.x:32400
- plexToken=Token_Goes_Here
2 years ago
ports:
- 8686:8686
restart: unless-stopped
```
2 years ago
# Credits
- [Deemix download client](https://deemix.app/)
- [Musicbrainz](https://musicbrainz.org/)
- [Lidarr](https://lidarr.audio/)
- [Tidal-Media-Downloader client](https://github.com/yaronzz/Tidal-Media-Downloader)