MiniDLNA add-on
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "MiniDLNA",
|
"name": "MiniDLNA",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"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",
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
#source /usr/lib/hassio-addons/base.sh
|
#source /usr/lib/hassio-addons/base.sh
|
||||||
|
|
||||||
#if ! hass.directory_exists '/share/hdd'; then
|
if ! hass.directory_exists '/share/hdd'; then
|
||||||
# mkdir -p /share/hdd || hass.die 'Could not create hdd mount directory'
|
mkdir -p /share/hdd || hass.die 'Could not create hdd mount directory'
|
||||||
# chmod -R 0777 /share/hdd
|
chmod -R 0777 /share/hdd
|
||||||
#fi
|
fi
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ port=8200
|
|||||||
# + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
|
# + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
|
||||||
# + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
|
# + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
|
||||||
# + "PV" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera)
|
# + "PV" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera)
|
||||||
media_dir=/share/hdd/torrents
|
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
|
# note: the default is no
|
||||||
|
|||||||
Reference in New Issue
Block a user