minidlna

Ansible Role: miniDLNA

Build Status

Installs miniDLNA - a lightweight DLNA/UPnP media server.

Requirements

None

Role Variables

minidlna:
  user: minidlna
  port: 8200
  media_dirs:
    - "/var/lib/minidlna"
    - "A,/var/lib/minidlna/music"
    - "P,/var/lib/minidlna/photos"
    - "V,/var/lib/minidlna/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 provides some defaults for the properties listed below:

  • friendly_name: "hostname: username"
  • model_name: "Windows Media Connect compatible (MiniDLNA)"

There is no default value for the following properties:

  • network_interface/network_interfaces: default behavior binds to all; network_interfaces appends to (does not override) network_interface
  • listening_ip/listening_ips: default behavior binds to all; listening_ips appends to (does not override) listening_ip

media_dirs follows the standard miniDLNA format of a fully qualified path to a directory to share. By prepending one of the values A, P or V, you can limit the type of media to share from the subsequent directory to audio, photo, or video (respectively).

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
     - { role: robgmills.minidlna }

License

BSD

Author Information

This role was created in 2016 by Rob Mills.

About

Installs and configures a miniDLNA server

Install
ansible-galaxy install robgmills/ansible-role-minidlna
GitHub repository
License
Unknown
Downloads
138
Owner
I like scaling people, process and technology. Engineering @ShipBob. Formerly of @spothero, @UptakeOpenSource, @peapod.