MiniDLNA add-on
This commit is contained in:
+5
-6
@@ -3,13 +3,12 @@ FROM debian:stretch
|
|||||||
RUN apt-get update && apt-get upgrade && apt-get install -y minidlna net-tools nano
|
RUN apt-get update && apt-get upgrade && apt-get install -y minidlna net-tools nano
|
||||||
ADD ./minidlna.conf /etc/minidlna.conf
|
ADD ./minidlna.conf /etc/minidlna.conf
|
||||||
|
|
||||||
RUN service minidlna force-reload
|
#RUN service minidlna force-reload
|
||||||
|
#RUN tail -f /dev/null
|
||||||
|
|
||||||
RUN tail -f /dev/null
|
ADD ./run.sh /run.sh
|
||||||
|
RUN chmod a+x /run.sh
|
||||||
#ADD ./run.sh /run.sh
|
ENTRYPOINT ["/run.sh"]
|
||||||
#RUN chmod a+x /run.sh
|
|
||||||
#ENTRYPOINT ["/run.sh"]
|
|
||||||
|
|
||||||
# Labels
|
# Labels
|
||||||
LABEL \
|
LABEL \
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "MiniDLNA",
|
"name": "MiniDLNA",
|
||||||
"version": "0.0.28",
|
"version": "0.0.29",
|
||||||
"slug": "minidlna",
|
"slug": "minidlna",
|
||||||
"description": "RedyMedia MiniDLNA daemon serves media files (music, pictures, and video) to clients on a network",
|
"description": "RedyMedia MiniDLNA daemon serves media files (music, pictures, and video) to clients on a network",
|
||||||
"url": "https://github.com/bvlaicu/home-assistant-addons/tree/master/minidlna",
|
"url": "https://github.com/bvlaicu/home-assistant-addons/tree/master/minidlna",
|
||||||
|
|||||||
+106
-73
@@ -1,91 +1,124 @@
|
|||||||
# port for HTTP (descriptions, SOAP, media transfer) traffic
|
# This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media
|
||||||
port=8200
|
# server.
|
||||||
|
#
|
||||||
|
# Unless otherwise noted, the commented out options show their default value.
|
||||||
|
#
|
||||||
|
# On Debian, you can also refer to the minidlna.conf(5) man page for
|
||||||
|
# documentation about this file.
|
||||||
|
|
||||||
# network interfaces to serve, comma delimited
|
# Specify the user name or uid to run as.
|
||||||
#network_interface=eth0
|
user=root
|
||||||
|
|
||||||
# specify the user account name or uid to run as
|
|
||||||
#user=jmaggard
|
|
||||||
|
|
||||||
# set this to the directory you want scanned.
|
# Path to the directory you want scanned for media files.
|
||||||
# * if you want multiple directories, you can have multiple media_dir= lines
|
#
|
||||||
# * if you want to restrict a media_dir to specific content types, you
|
# This option can be specified more than once if you want multiple directories
|
||||||
# can prepend the types, followed by a comma, to the directory:
|
# scanned.
|
||||||
# + "A" for audio (eg. media_dir=A,/home/jmaggard/Music)
|
#
|
||||||
# + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
|
# If you want to restrict a media_dir to a specific content type, you can
|
||||||
# + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
|
# prepend the directory name with a letter representing the type (A, P or V),
|
||||||
# + "PV" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera)
|
# followed by a comma, as so:
|
||||||
|
# * "A" for audio (eg. media_dir=A,/var/lib/minidlna/music)
|
||||||
|
# * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
|
||||||
|
# * "V" for video (eg. media_dir=V,/var/lib/minidlna/videos)
|
||||||
|
# * "PV" for pictures and video (eg. media_dir=PV,/var/lib/minidlna/digital_camera)
|
||||||
media_dir=/share/hdd
|
media_dir=/share/hdd
|
||||||
|
|
||||||
# set this to merge all media_dir base contents into the root container
|
# Set this to merge all media_dir base contents into the root container
|
||||||
# note: the default is no
|
# (The default is no.)
|
||||||
#merge_media_dirs=no
|
#merge_media_dirs=no
|
||||||
|
|
||||||
# set this if you want to customize the name that shows up on your clients
|
# Path to the directory that should hold the database and album art cache.
|
||||||
friendly_name=Mac Mini DLNA Server
|
|
||||||
|
|
||||||
# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
|
|
||||||
#db_dir=/var/cache/minidlna
|
#db_dir=/var/cache/minidlna
|
||||||
|
|
||||||
# set this if you would like to specify the directory where you want MiniDLNA to store its log file
|
# Path to the directory that should hold the log file.
|
||||||
#log_dir=/var/log
|
log_dir=/var/log
|
||||||
|
|
||||||
# set this to change the verbosity of the information that is logged
|
# Type and minimum level of importance of messages to be logged.
|
||||||
# each section can use a different level: off, fatal, error, warn, info, or debug
|
#
|
||||||
|
# The types are "artwork", "database", "general", "http", "inotify",
|
||||||
|
# "metadata", "scanner", "ssdp" and "tivo".
|
||||||
|
#
|
||||||
|
# The levels are "off", "fatal", "error", "warn", "info" or "debug".
|
||||||
|
# "off" turns of logging entirely, "fatal" is the highest level of importance
|
||||||
|
# and "debug" the lowest.
|
||||||
|
#
|
||||||
|
# The types are comma-separated, followed by an equal sign ("="), followed by a
|
||||||
|
# level that applies to the preceding types. This can be repeated, separating
|
||||||
|
# each of these constructs with a comma.
|
||||||
|
#
|
||||||
|
# The default is to log all types of messages at the "warn" level.
|
||||||
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
|
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
|
||||||
|
|
||||||
# this should be a list of file names to check for when searching for album art
|
# Use a different container as the root of the directory tree presented to
|
||||||
# note: names should be delimited with a forward slash ("/")
|
# clients. The possible values are:
|
||||||
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
|
# * "." - standard container
|
||||||
|
# * "B" - "Browse Directory"
|
||||||
# set this to no to disable inotify monitoring to automatically discover new files
|
# * "M" - "Music"
|
||||||
# note: the default is yes
|
# * "P" - "Pictures"
|
||||||
inotify=yes
|
# * "V" - "Video"
|
||||||
|
# * Or, you can specify the ObjectID of your desired root container
|
||||||
# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
|
# (eg. 1$F for Music/Playlists)
|
||||||
enable_tivo=no
|
# If you specify "B" and the client device is audio-only then "Music/Folders"
|
||||||
|
# will be used as root.
|
||||||
# set this to beacon to use legacy broadcast discovery method
|
|
||||||
# defauts to bonjour if avahi is available
|
|
||||||
tivo_discovery=bonjour
|
|
||||||
|
|
||||||
# set this to strictly adhere to DLNA standards.
|
|
||||||
# * This will allow server-side downscaling of very large JPEG images,
|
|
||||||
# which may hurt JPEG serving performance on (at least) Sony DLNA products.
|
|
||||||
strict_dlna=yes
|
|
||||||
|
|
||||||
# default presentation url is http address on port 80
|
|
||||||
#presentation_url=http://www.mylan/index.php
|
|
||||||
|
|
||||||
# notify interval in seconds. default is 895 seconds.
|
|
||||||
notify_interval=900
|
|
||||||
|
|
||||||
# serial and model number the daemon will report to clients
|
|
||||||
# in its XML description
|
|
||||||
serial=12345678
|
|
||||||
model_number=1
|
|
||||||
|
|
||||||
# specify the path to the MiniSSDPd socket
|
|
||||||
#minissdpdsocket=/var/run/minissdpd.sock
|
|
||||||
|
|
||||||
# use different container as root of the tree
|
|
||||||
# possible values:
|
|
||||||
# + "." - use standard container (this is the default)
|
|
||||||
# + "B" - "Browse Directory"
|
|
||||||
# + "M" - "Music"
|
|
||||||
# + "V" - "Video"
|
|
||||||
# + "P" - "Pictures"
|
|
||||||
# + Or, you can specify the ObjectID of your desired root container (eg. 1$F for Music/Playlists)
|
|
||||||
# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
|
|
||||||
#root_container=.
|
#root_container=.
|
||||||
|
|
||||||
# always force SortCriteria to this value, regardless of the SortCriteria passed by the client
|
# Network interface(s) to bind to (e.g. eth0), comma delimited.
|
||||||
#force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title
|
# This option can be specified more than once.
|
||||||
|
#network_interface=
|
||||||
|
|
||||||
|
# Port number for HTTP traffic (descriptions, SOAP, media transfer).
|
||||||
|
# This option is mandatory (or it must be specified on the command-line using
|
||||||
|
# "-p").
|
||||||
|
port=8200
|
||||||
|
|
||||||
|
# URL presented to clients (e.g. http://example.com:80).
|
||||||
|
#presentation_url=/
|
||||||
|
|
||||||
|
# Name that the DLNA server presents to clients.
|
||||||
|
# Defaults to "hostname: username".
|
||||||
|
friendly_name=Mac Hass MiniDLNA
|
||||||
|
|
||||||
|
# Serial number the server reports to clients.
|
||||||
|
# Defaults to 00000000.
|
||||||
|
serial=681019810597111
|
||||||
|
|
||||||
|
# Model name the server reports to clients.
|
||||||
|
#model_name=Windows Media Connect compatible (MiniDLNA)
|
||||||
|
|
||||||
|
# Model number the server reports to clients.
|
||||||
|
# Defaults to the version number of minidlna.
|
||||||
|
#model_number=
|
||||||
|
|
||||||
|
# Automatic discovery of new files in the media_dir directory.
|
||||||
|
#inotify=yes
|
||||||
|
|
||||||
|
# List of file names to look for when searching for album art.
|
||||||
|
# Names should be delimited with a forward slash ("/").
|
||||||
|
# This option can be specified more than once.
|
||||||
|
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
|
||||||
|
album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
|
||||||
|
album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
|
||||||
|
|
||||||
|
# Strictly adhere to DLNA standards.
|
||||||
|
# This allows server-side downscaling of very large JPEG images, which may
|
||||||
|
# decrease JPEG serving performance on (at least) Sony DLNA products.
|
||||||
|
#strict_dlna=no
|
||||||
|
|
||||||
|
# Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
|
||||||
|
#enable_tivo=no
|
||||||
|
|
||||||
|
# Notify interval, in seconds.
|
||||||
|
#notify_interval=895
|
||||||
|
|
||||||
|
# Path to the MiniSSDPd socket, for MiniSSDPd support.
|
||||||
|
#minissdpdsocket=/run/minissdpd.sock
|
||||||
|
|
||||||
|
# Always set SortCriteria to this value, regardless of the SortCriteria
|
||||||
|
# passed by the client
|
||||||
|
# e.g. force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title
|
||||||
|
#force_sort_criteria=
|
||||||
|
|
||||||
# maximum number of simultaneous connections
|
# maximum number of simultaneous connections
|
||||||
# note: many clients open several simultaneous connections while streaming
|
# note: many clients open several simultaneous connections while streaming
|
||||||
#max_connections=50
|
#max_connections=50
|
||||||
|
|
||||||
# set this to yes to allow symlinks that point outside user-defined media_dirs.
|
|
||||||
#wide_links=no
|
|
||||||
friendly_name=Hass.io-DLNA-Server
|
|
||||||
|
|||||||
Reference in New Issue
Block a user