Merge pull request #161 from lmprice/plex_photos

Add photo support to Plex application
This commit is contained in:
David Stephens 2019-11-02 08:23:52 +00:00 committed by GitHub
commit f96bf924c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -157,6 +157,9 @@ podcasts_root: "{{ samba_shares_root }}/podcasts"
# Where your books are stored # Where your books are stored
books_root: "{{ samba_shares_root }}/books" books_root: "{{ samba_shares_root }}/books"
# Where photos are stored
photos_root: "{{ samba_shares_root }}/photos"
# The description that'll appear next to your Ansible-NAS box when browsing your network # The description that'll appear next to your Ansible-NAS box when browsing your network
samba_server_string: Ansible NAS samba_server_string: Ansible NAS
@ -355,6 +358,8 @@ plex_movies_directory: "{{ movies_root }}"
plex_movies_permissions: "rw" plex_movies_permissions: "rw"
plex_tv_directory: "{{ tv_root }}" plex_tv_directory: "{{ tv_root }}"
plex_tv_permissions: "rw" plex_tv_permissions: "rw"
plex_photos_directory: "{{ photos_root }}"
plex_photos_permissions: "rw"
plex_music_directory: "{{ music_root }}" plex_music_directory: "{{ music_root }}"
plex_music_permissions: "rw" plex_music_permissions: "rw"
plex_user_id: 0 plex_user_id: 0

View file

@ -15,6 +15,7 @@
- "{{ plex_config_directory }}:/config:rw" - "{{ plex_config_directory }}:/config:rw"
- "{{ plex_movies_directory }}:/movies:{{ plex_movies_permissions }}" - "{{ plex_movies_directory }}:/movies:{{ plex_movies_permissions }}"
- "{{ plex_tv_directory }}:/tv:{{ plex_tv_permissions }}" - "{{ plex_tv_directory }}:/tv:{{ plex_tv_permissions }}"
- "{{ plex_photos_directory }}:/photos:{{ plex_photos_permissions }}"
- "{{ plex_music_directory }}:/music:{{ plex_music_permissions }}" - "{{ plex_music_directory }}:/music:{{ plex_music_permissions }}"
network_mode: "host" network_mode: "host"
env: env: