mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 11:38:47 +00:00
lidarr support
This commit is contained in:
parent
956a8d33ab
commit
7903648129
7 changed files with 60 additions and 2 deletions
|
@ -12,7 +12,7 @@ Ansible config and a bunch of Docker containers.
|
||||||
* Any number of Samba shares or NFS exports for you to store your stuff
|
* Any number of Samba shares or NFS exports for you to store your stuff
|
||||||
* A BitTorrent client
|
* A BitTorrent client
|
||||||
* A Usenet downloader
|
* A Usenet downloader
|
||||||
* Various media management tools - Sonarr, Sickchill, CouchPotato, Radarr, Bazarr
|
* Various media management tools - Sonarr, Sickchill, CouchPotato, Radarr, Bazarr, Lidarr
|
||||||
* Media streaming via Plex or Emby
|
* Media streaming via Plex or Emby
|
||||||
* Music streaming with Airsonic
|
* Music streaming with Airsonic
|
||||||
* An RSS newsfeed reader - Miniflux
|
* An RSS newsfeed reader - Miniflux
|
||||||
|
@ -47,6 +47,7 @@ Ansible config and a bunch of Docker containers.
|
||||||
* [Home Assistant](https://www.home-assistant.io) - Open source home automation
|
* [Home Assistant](https://www.home-assistant.io) - Open source home automation
|
||||||
* [InfluxDB](https://github.com/influxdata/influxdb) - Time series database used for stats collection
|
* [InfluxDB](https://github.com/influxdata/influxdb) - Time series database used for stats collection
|
||||||
* [Jackett](https://github.com/Jackett/Jackett) - API Support for your favorite torrent trackers
|
* [Jackett](https://github.com/Jackett/Jackett) - API Support for your favorite torrent trackers
|
||||||
|
* [Lidarr](https://github.com/lidarr/Lidarr) - Music collection manager for Usenet and BitTorrent users
|
||||||
* [MiniDlna](https://sourceforge.net/projects/minidlna/) - simple media server which is fully compliant with DLNA/UPnP-AV clients
|
* [MiniDlna](https://sourceforge.net/projects/minidlna/) - simple media server which is fully compliant with DLNA/UPnP-AV clients
|
||||||
* [Miniflux](https://miniflux.app/) - An RSS news reader
|
* [Miniflux](https://miniflux.app/) - An RSS news reader
|
||||||
* [Mosquitto](https://mosquitto.org) - An open source MQTT broker
|
* [Mosquitto](https://mosquitto.org) - An open source MQTT broker
|
||||||
|
|
12
docs/applications/lidarr.md
Normal file
12
docs/applications/lidarr.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Lidarr music collection manager
|
||||||
|
|
||||||
|
Homepage: [https://lidarr.audio/](https://lidarr.audio/)
|
||||||
|
|
||||||
|
|
||||||
|
Lidarr is a music collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new tracks from your favorite artists and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Set `lidarr_enabled: true` in your `group_vars/all.yml` file.
|
|
@ -22,6 +22,7 @@ By default, applications can be found on the ports listed below.
|
||||||
| Heimdall | 10080 | |
|
| Heimdall | 10080 | |
|
||||||
| Home Assistant | 8123 | |
|
| Home Assistant | 8123 | |
|
||||||
| Jackett | 9117 | |
|
| Jackett | 9117 | |
|
||||||
|
| Lidarr | 8686 | |
|
||||||
| MiniDLNA | 8201 | |
|
| MiniDLNA | 8201 | |
|
||||||
| Miniflux | 8070 | |
|
| Miniflux | 8070 | |
|
||||||
| Mosquitto | 1883 | MQTT |
|
| Mosquitto | 1883 | MQTT |
|
||||||
|
|
|
@ -43,6 +43,7 @@ bazarr_enabled: false
|
||||||
# Music
|
# Music
|
||||||
airsonic_enabled: false
|
airsonic_enabled: false
|
||||||
mymediaforalexa_enabled: false
|
mymediaforalexa_enabled: false
|
||||||
|
lidarr_enabled: false
|
||||||
|
|
||||||
# News
|
# News
|
||||||
miniflux_enabled: false
|
miniflux_enabled: false
|
||||||
|
@ -403,6 +404,16 @@ bazarr_movies_directory: "{{ movies_root }}"
|
||||||
bazarr_user_id: "0"
|
bazarr_user_id: "0"
|
||||||
bazarr_group_id: "0"
|
bazarr_group_id: "0"
|
||||||
|
|
||||||
|
###
|
||||||
|
### lidarr
|
||||||
|
###
|
||||||
|
lidarr_available_externally: "false"
|
||||||
|
lidarr_data_directory: "{{ docker_home }}/lidarr/config"
|
||||||
|
lidarr_music_directory: "{{ music_root }}"
|
||||||
|
lidarr_downloads_directory: "{{ downloads_root }}"
|
||||||
|
lidarr_user_id: 0
|
||||||
|
lidarr_group_id: 0
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
### Couchpotato
|
### Couchpotato
|
||||||
|
|
4
nas.yml
4
nas.yml
|
@ -188,4 +188,6 @@
|
||||||
when: (openhab_enabled | default(False))
|
when: (openhab_enabled | default(False))
|
||||||
tags: openhab
|
tags: openhab
|
||||||
|
|
||||||
|
- import_tasks: tasks/lidarr.yml
|
||||||
|
when: (lidarr_enabled | default(False))
|
||||||
|
tags: lidarr
|
30
tasks/lidarr.yml
Normal file
30
tasks/lidarr.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
---
|
||||||
|
- name: Create lidarr Directories
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- "{{ lidarr_data_directory }}"
|
||||||
|
|
||||||
|
- name: lidarr
|
||||||
|
docker_container:
|
||||||
|
name: lidarr
|
||||||
|
image: linuxserver/lidarr
|
||||||
|
pull: true
|
||||||
|
volumes:
|
||||||
|
- "{{ lidarr_music_directory }}:/music:rw"
|
||||||
|
- "{{ lidarr_downloads_directory }}:/downloads:rw"
|
||||||
|
- "{{ lidarr_data_directory }}:/config:rw"
|
||||||
|
ports:
|
||||||
|
- "8686:8686"
|
||||||
|
env:
|
||||||
|
TZ: "{{ ansible_nas_timezone }}"
|
||||||
|
PUID: "{{ lidarr_user_id }}"
|
||||||
|
PGID: "{{ lidarr_group_id }}"
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
memory: 1g
|
||||||
|
labels:
|
||||||
|
traefik.backend: "lidarr"
|
||||||
|
traefik.frontend.rule: "Host:lidarr.{{ ansible_nas_domain }}"
|
||||||
|
traefik.enable: "{{ lidarr_available_externally }}"
|
||||||
|
traefik.port: "8686"
|
|
@ -194,6 +194,7 @@ onDemand = false # create certificate when container is created
|
||||||
"heimdall.{{ ansible_nas_domain }}",
|
"heimdall.{{ ansible_nas_domain }}",
|
||||||
"homeassistant.{{ ansible_nas_domain }}",
|
"homeassistant.{{ ansible_nas_domain }}",
|
||||||
"jackett.{{ ansible_nas_domain }}",
|
"jackett.{{ ansible_nas_domain }}",
|
||||||
|
"lidarr.{{ ansible_nas_domain }}",
|
||||||
"miniflux.{{ ansible_nas_domain }}",
|
"miniflux.{{ ansible_nas_domain }}",
|
||||||
"netdata.{{ ansible_nas_domain }}",
|
"netdata.{{ ansible_nas_domain }}",
|
||||||
"nextcloud.{{ ansible_nas_domain }}",
|
"nextcloud.{{ ansible_nas_domain }}",
|
||||||
|
|
Loading…
Reference in a new issue