robgmills.minidlna
Ansible Role: miniDLNA
This role installs miniDLNA, which is a simple media server that supports DLNA/UPnP.
Requirements
No specific requirements.
Role Variables
minidlna:
user: minidlna
port: 8200
media_dirs:
- "/var/lib/minidlna"
- "A,/var/lib/minidlna/music" # A for audio
- "P,/var/lib/minidlna/photos" # P for photos
- "V,/var/lib/minidlna/videos" # V for videos
network_interface: "eth0"
network_interfaces:
- "eth1"
- "wlan0"
listening_ip: "192.168.0.0/24"
listening_ips:
- "192.168.1.0/8"
- "10.0.0.0/16"
friendly_name: "Home DLNA Server"
model_name: "Windows Media Connect compatible (MiniDLNA)"
miniDLNA automatically sets some values for:
friendly_name
: "hostname: username"model_name
: "Windows Media Connect compatible (MiniDLNA)"
The following properties do not have default values:
network_interface
/network_interfaces
: By default, it uses all available interfaces. You can add tonetwork_interfaces
without replacingnetwork_interface
.listening_ip
/listening_ips
: By default, it listens on all; you can add tolistening_ips
without replacinglistening_ip
.
The media_dirs
must have full paths to the directories you want to share. You can specify the type of media by adding A
, P
, or V
at the beginning of the directory path for audio, photos, or videos, respectively.
Dependencies
None.
Example Playbook
- hosts: servers
roles:
- { role: robgmills.minidlna }
License
BSD
Author Information
This role was created in 2016 by Rob Mills.
Installa
ansible-galaxy install robgmills.minidlna
Licenza
Unknown
Download
159
Proprietario
I like scaling people, process and technology.
Engineering @ShipBob. Formerly of @spothero, @UptakeOpenSource, @peapod.