summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-minidlna/luasrc/model
diff options
context:
space:
mode:
authorJames Christopher Adduono <jc@adduono.com>2017-09-23 00:07:36 -0400
committerJames Christopher Adduono <jc@adduono.com>2017-09-24 14:21:10 -0400
commit27a50752900b9b19a01fdbf2e2edcf4f689deb6a (patch)
tree12dcd6fc816967b1f91d142eac7a7ebda0644260 /applications/luci-app-minidlna/luasrc/model
parenta2ea9fd95f4d723650481877cb183124f9ba931e (diff)
luci-app-minidlna: add allow wide links option
This option was added to minidlna in version 1.2.0 and is set to no by default. Signed-off-by: James Christopher Adduono <jc@adduono.com>
Diffstat (limited to 'applications/luci-app-minidlna/luasrc/model')
-rw-r--r--applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua b/applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua
index 99ef68cbca..bc467fde40 100644
--- a/applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua
+++ b/applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua
@@ -91,6 +91,10 @@ s:taboption("advanced", Flag, "enable_tivo", translate("Enable TIVO:"),
translate("Set this to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO."))
o.rmempty = true
+s:taboption("advanced", Flag, "wide_links", translate("Allow wide links"),
+ translate("Set this to allow serving content outside the media root (via symlinks)."))
+o.rmempty = true
+
o = s:taboption("advanced", Flag, "strict_dlna", translate("Strict to DLNA standard:"),
translate("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."))
o.rmempty = true