Add get_iplayer

This commit is contained in:
Andrew Burrows 2019-03-01 20:59:43 +00:00
parent 183fee31d6
commit 3a5821cd3c
7 changed files with 53 additions and 1 deletions

View file

@ -30,6 +30,7 @@ just a stock Ubuntu install, some clever Ansible config and a bunch of Docker co
* [CouchPotato](https://couchpota.to/) - for downloading and managing movies
* [Duplicati](https://www.duplicati.com/) - for backing up your stuff
* [Emby](https://emby.media/) - Media streaming and management
* [get_iplayer](https://github.com/get-iplayer/get_iplayer) - download programmes from BBC iplayer
* [Gitea](https://gitea.io/en-us/) - Self-hosted Github clone
* [Glances](https://nicolargo.github.io/glances/) - for seeing the state of your system via a web browser
* [Grafana](https://github.com/grafana/grafana) - Dashboarding tool

View file

@ -0,0 +1,11 @@
# get_iplayer
Homepage: [https://github.com/get-iplayer/get_iplayer](https://github.com/get-iplayer/get_iplayer)
Downloads TV and radio programmes from BBC iPlayer.
## Usage
Set `get_iplayer_enabled: true` in your `group_vars/all.yml` file.
The get_iplayer web interface can be found at http://ansible_nas_host_or_ip:8182.

View file

@ -8,6 +8,7 @@ By default, applications can be found on the ports listed below.
| Duplicati | 8200 | |
| Emby | 8096 | HTTP |
| Emby | 8920 | HTTPS |
| get_iplayer | 8182 | |
| Gitea | 3001 | Web |
| Gitea | 222 | SSH |
| Glances | 61208 | SSH |

View file

@ -27,6 +27,7 @@ sonarr_enabled: false
sickrage_enabled: false
couchpotato_enabled: false
radarr_enabled: false
get_iplayer_enabled: false
# Music
airsonic_enabled: false
@ -419,3 +420,9 @@ timemachine_volume_size_limit: 0
timemachine_password: timemachine
timemachine_share_name: TimeMachine
timemachine_log_level: error
###
### get_iplayer
###
get_iplayer_config_directory: "{{ docker_home }}/get_iplayer"
get_iplayer_download_directory: "{{ tv_root }}/iplayer_downloads"

View file

@ -121,4 +121,8 @@
- import_tasks: tasks/cloudflare_ddns.yml
when: cloudflare_ddns_enabled
tags: cloudflare_ddns
tags: cloudflare_ddns
- import_tasks: tasks/get_iplayer.yml
when: get_iplayer_enabled
tags: get_iplayer

21
tasks/get_iplayer.yml Normal file
View file

@ -0,0 +1,21 @@
- name: Create get_iplayer Directories
file:
path: "{{ item }}"
state: directory
with_items:
- "{{ get_iplayer_config_directory }}"
- "{{ get_iplayer_download_directory }}"
- name: get_iplayer Docker Container
docker_container:
name: get_iplayer
image: kolonuk/get_iplayer
pull: true
volumes:
- "{{ get_iplayer_config_directory }}:/root/.get_iplayer:rw"
- "{{ get_iplayer_download_directory }}:/root/output:rw"
ports:
- "8182:8181"
restart_policy: unless-stopped
memory: 1g

View file

@ -27,6 +27,7 @@ sonarr_enabled: false
sickrage_enabled: false
couchpotato_enabled: false
radarr_enabled: false
get_iplayer_enabled: false
# Music
airsonic_enabled: false
@ -419,3 +420,9 @@ timemachine_volume_size_limit: 0
timemachine_password: timemachine
timemachine_share_name: TimeMachine
timemachine_log_level: error
###
### get_iplayer
###
get_iplayer_config_directory: "{{ docker_home }}/get_iplayer"
get_iplayer_download_directory: "{{ tv_root }}/iplayer_downloads"