mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-15 16:28:03 +00:00
Add music to Jellyfin volumes
This commit is contained in:
parent
1929f4411e
commit
317de049a2
3 changed files with 8 additions and 4 deletions
|
@ -10,7 +10,7 @@ similar functionality.
|
|||
## Usage
|
||||
|
||||
Set `jellyfin_enabled: true` in your `inventories/<your_inventory>/nas.yml` file. There are further
|
||||
parameters you can edit such as `movies_root` and `tv_root` lower down.
|
||||
parameters you can edit such as `movies_root`, `tv_root` or `music_root` lower down.
|
||||
|
||||
## Specific Configuration
|
||||
|
||||
|
@ -18,12 +18,13 @@ The jellyfin web interface can be found at port 8896 (http) or 8928 (https, if
|
|||
configured) of your NAS.
|
||||
|
||||
By default, Ansible-NAS gives jellyfin read/write access to the folders where your
|
||||
movies and TV shows are stored. To change this to read-only, edit the following
|
||||
movies, TV shows and music are stored. To change this to read-only, edit the following
|
||||
lines in `all.yml`:
|
||||
|
||||
```
|
||||
jellyfin_movies_permissions: "rw"
|
||||
jellyfin_tv_permissions: "rw"
|
||||
jellyfin_music_permissions: "rw"
|
||||
```
|
||||
|
||||
so that they end in `ro` instead of `rw`. Note that jellyfin will not be able to
|
||||
|
@ -68,4 +69,4 @@ Unfortunately, there are number of special cases, especially related to split
|
|||
movies and older series. See the [movie
|
||||
naming](https://github.com/MediaBrowser/Wiki/wiki/Movie%20naming) and [TV
|
||||
naming](https://github.com/MediaBrowser/Wiki/wiki/TV-naming) guides for further
|
||||
information.
|
||||
information.
|
||||
|
|
|
@ -805,6 +805,8 @@ jellyfin_movies_directory: "{{ movies_root }}"
|
|||
jellyfin_movies_permissions: "rw"
|
||||
jellyfin_tv_directory: "{{ tv_root }}"
|
||||
jellyfin_tv_permissions: "rw"
|
||||
jellyfin_music_directory: "{{ music_root }}"
|
||||
jellyfin_music_permissions: "rw"
|
||||
jellyfin_user_id: "0"
|
||||
jellyfin_group_id: "0"
|
||||
jellyfin_port_http: "8896"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
- "{{ jellyfin_config_directory }}:/config:rw"
|
||||
- "{{ jellyfin_movies_directory }}:/movies:{{ jellyfin_movies_permissions }}"
|
||||
- "{{ jellyfin_tv_directory }}:/tv:{{ jellyfin_tv_permissions }}"
|
||||
- "{{ jellyfin_music_directory }}:/music:{{ jellyfin_music_permissions }}"
|
||||
ports:
|
||||
- "{{ jellyfin_port_http }}:8096"
|
||||
- "{{ jellyfin_port_https }}:8920"
|
||||
|
@ -27,4 +28,4 @@
|
|||
traefik.backend: "jellyfin"
|
||||
traefik.frontend.rule: "Host:jellyfin.{{ ansible_nas_domain }}"
|
||||
traefik.enable: "{{ jellyfin_available_externally }}"
|
||||
traefik.port: "8096"
|
||||
traefik.port: "8096"
|
||||
|
|
Loading…
Reference in a new issue