summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-minidlna/luasrc/model
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-10-21 09:50:01 +0300
committerGitHub <noreply@github.com>2017-10-21 09:50:01 +0300
commit59a4e4065d7ba5711028e03de0f05a60f7130e23 (patch)
tree6ea956522e24bf5ce50cc98f4a50ae5757af4268 /applications/luci-app-minidlna/luasrc/model
parenta742e708b6ecaa3cc9c37f0ecfabc226e5637064 (diff)
parent27a50752900b9b19a01fdbf2e2edcf4f689deb6a (diff)
Merge pull request #1380 from jcadduono/minidlna
luci-app-minidlna: add allow wide links option
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 347f7f656b..3f59e53643 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