[LEDE-DEV] [PATCH] luci-app-minidlna: add allow wide links option

James Christopher Adduono jc at adduono.com
Fri Sep 22 22:25:43 PDT 2017


Signed-off-by: James Christopher Adduono <jc at adduono.com>
---
 applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua | 4 ++++
 applications/luci-app-minidlna/po/ca/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/cs/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/de/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/el/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/en/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/es/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/fr/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/he/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/hu/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/it/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/ja/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/ms/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/no/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/pl/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/pt-br/minidlna.po          | 3 +++
 applications/luci-app-minidlna/po/pt/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/ro/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/ru/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/sk/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/sv/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/templates/minidlna.pot     | 3 +++
 applications/luci-app-minidlna/po/tr/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/uk/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/vi/minidlna.po             | 3 +++
 applications/luci-app-minidlna/po/zh-cn/minidlna.po          | 3 +++
 applications/luci-app-minidlna/po/zh-tw/minidlna.po          | 3 +++
 27 files changed, 82 insertions(+)

diff --git a/applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua b/applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua
index 99ef68cbc..bc467fde4 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
diff --git a/applications/luci-app-minidlna/po/ca/minidlna.po b/applications/luci-app-minidlna/po/ca/minidlna.po
index bf160080e..5b2915dc7 100644
--- a/applications/luci-app-minidlna/po/ca/minidlna.po
+++ b/applications/luci-app-minidlna/po/ca/minidlna.po
@@ -17,6 +17,9 @@ msgstr "Ajusts avançats"
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/cs/minidlna.po b/applications/luci-app-minidlna/po/cs/minidlna.po
index bf5a7f442..3f0f87ccb 100644
--- a/applications/luci-app-minidlna/po/cs/minidlna.po
+++ b/applications/luci-app-minidlna/po/cs/minidlna.po
@@ -17,6 +17,9 @@ msgstr "Pokročilé nastavení"
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/de/minidlna.po b/applications/luci-app-minidlna/po/de/minidlna.po
index 22cb0f7e9..3d866e882 100644
--- a/applications/luci-app-minidlna/po/de/minidlna.po
+++ b/applications/luci-app-minidlna/po/de/minidlna.po
@@ -17,6 +17,9 @@ msgstr "Erweiterte Einstellungen"
 msgid "Album art names:"
 msgstr "Dateinamen für Cover-Bilder:"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "Angekündigte Modellnummer:"
 
diff --git a/applications/luci-app-minidlna/po/el/minidlna.po b/applications/luci-app-minidlna/po/el/minidlna.po
index 48c618839..b6780c3ce 100644
--- a/applications/luci-app-minidlna/po/el/minidlna.po
+++ b/applications/luci-app-minidlna/po/el/minidlna.po
@@ -14,6 +14,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/en/minidlna.po b/applications/luci-app-minidlna/po/en/minidlna.po
index 5934d42e9..ef1ebe2f6 100644
--- a/applications/luci-app-minidlna/po/en/minidlna.po
+++ b/applications/luci-app-minidlna/po/en/minidlna.po
@@ -14,6 +14,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr "Album art names:"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "Announced model number:"
 
diff --git a/applications/luci-app-minidlna/po/es/minidlna.po b/applications/luci-app-minidlna/po/es/minidlna.po
index 5f6b3964f..ea0605624 100644
--- a/applications/luci-app-minidlna/po/es/minidlna.po
+++ b/applications/luci-app-minidlna/po/es/minidlna.po
@@ -17,6 +17,9 @@ msgstr "Configuración avanzada"
 msgid "Album art names:"
 msgstr "Imágenes de álbumes:"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "Número de modelo declarado:"
 
diff --git a/applications/luci-app-minidlna/po/fr/minidlna.po b/applications/luci-app-minidlna/po/fr/minidlna.po
index d638b0cba..dde8f1bce 100644
--- a/applications/luci-app-minidlna/po/fr/minidlna.po
+++ b/applications/luci-app-minidlna/po/fr/minidlna.po
@@ -14,6 +14,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/he/minidlna.po b/applications/luci-app-minidlna/po/he/minidlna.po
index 48c618839..b6780c3ce 100644
--- a/applications/luci-app-minidlna/po/he/minidlna.po
+++ b/applications/luci-app-minidlna/po/he/minidlna.po
@@ -14,6 +14,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/hu/minidlna.po b/applications/luci-app-minidlna/po/hu/minidlna.po
index 52fbe749e..dcb6064eb 100644
--- a/applications/luci-app-minidlna/po/hu/minidlna.po
+++ b/applications/luci-app-minidlna/po/hu/minidlna.po
@@ -17,6 +17,9 @@ msgstr "Haladó beállítások"
 msgid "Album art names:"
 msgstr "Borító album nevek:"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "Közölt modellszám:"
 
diff --git a/applications/luci-app-minidlna/po/it/minidlna.po b/applications/luci-app-minidlna/po/it/minidlna.po
index 1c0abc672..3adb8c1e9 100644
--- a/applications/luci-app-minidlna/po/it/minidlna.po
+++ b/applications/luci-app-minidlna/po/it/minidlna.po
@@ -17,6 +17,9 @@ msgstr "Opzioni avanzate"
 msgid "Album art names:"
 msgstr "Nome Copertina Album:"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "Numero modello annunciato:"
 
diff --git a/applications/luci-app-minidlna/po/ja/minidlna.po b/applications/luci-app-minidlna/po/ja/minidlna.po
index 4cfc3385b..c29c10d75 100644
--- a/applications/luci-app-minidlna/po/ja/minidlna.po
+++ b/applications/luci-app-minidlna/po/ja/minidlna.po
@@ -17,6 +17,9 @@ msgstr "詳細設定"
 msgid "Album art names:"
 msgstr "アルバムアートワーク・ファイル名:"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "通知するモデル番号:"
 
diff --git a/applications/luci-app-minidlna/po/ms/minidlna.po b/applications/luci-app-minidlna/po/ms/minidlna.po
index 8df98a821..f0e6bb25e 100644
--- a/applications/luci-app-minidlna/po/ms/minidlna.po
+++ b/applications/luci-app-minidlna/po/ms/minidlna.po
@@ -13,6 +13,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/no/minidlna.po b/applications/luci-app-minidlna/po/no/minidlna.po
index 4b24712f7..dac9c4be4 100644
--- a/applications/luci-app-minidlna/po/no/minidlna.po
+++ b/applications/luci-app-minidlna/po/no/minidlna.po
@@ -17,6 +17,9 @@ msgstr "Avanserte Innstillinger"
 msgid "Album art names:"
 msgstr "Albumbilder navn:"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "Annonsert modellnummer:"
 
diff --git a/applications/luci-app-minidlna/po/pl/minidlna.po b/applications/luci-app-minidlna/po/pl/minidlna.po
index b4a8a6f67..c06bfc3cd 100644
--- a/applications/luci-app-minidlna/po/pl/minidlna.po
+++ b/applications/luci-app-minidlna/po/pl/minidlna.po
@@ -18,6 +18,9 @@ msgstr "Ustawienia zaawansowane"
 msgid "Album art names:"
 msgstr "Nazwy okładek albumów:"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "Rozgłaszany model:"
 
diff --git a/applications/luci-app-minidlna/po/pt-br/minidlna.po b/applications/luci-app-minidlna/po/pt-br/minidlna.po
index 3d53abd46..583bb3d80 100644
--- a/applications/luci-app-minidlna/po/pt-br/minidlna.po
+++ b/applications/luci-app-minidlna/po/pt-br/minidlna.po
@@ -14,6 +14,9 @@ msgstr "Configuração Avançada"
 msgid "Album art names:"
 msgstr "Nomes do Álbum artistico: "
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "numero de modelo anunciado:"
 
diff --git a/applications/luci-app-minidlna/po/pt/minidlna.po b/applications/luci-app-minidlna/po/pt/minidlna.po
index 96132cdf6..30b4e1ddf 100644
--- a/applications/luci-app-minidlna/po/pt/minidlna.po
+++ b/applications/luci-app-minidlna/po/pt/minidlna.po
@@ -17,6 +17,9 @@ msgstr "Definições Avançadas"
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "Número modelo anunciado:"
 
diff --git a/applications/luci-app-minidlna/po/ro/minidlna.po b/applications/luci-app-minidlna/po/ro/minidlna.po
index cba5fe6a7..65737c400 100644
--- a/applications/luci-app-minidlna/po/ro/minidlna.po
+++ b/applications/luci-app-minidlna/po/ro/minidlna.po
@@ -18,6 +18,9 @@ msgstr "Setări avansate"
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/ru/minidlna.po b/applications/luci-app-minidlna/po/ru/minidlna.po
index 539e8ca03..f97ed05cc 100644
--- a/applications/luci-app-minidlna/po/ru/minidlna.po
+++ b/applications/luci-app-minidlna/po/ru/minidlna.po
@@ -20,6 +20,9 @@ msgstr "Расширенные настройки"
 msgid "Album art names:"
 msgstr "Имена обложек альбома:"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "Номер модели:"
 
diff --git a/applications/luci-app-minidlna/po/sk/minidlna.po b/applications/luci-app-minidlna/po/sk/minidlna.po
index 19c3e536d..8ae7cb3ae 100644
--- a/applications/luci-app-minidlna/po/sk/minidlna.po
+++ b/applications/luci-app-minidlna/po/sk/minidlna.po
@@ -14,6 +14,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/sv/minidlna.po b/applications/luci-app-minidlna/po/sv/minidlna.po
index 51a3f3a63..714055504 100644
--- a/applications/luci-app-minidlna/po/sv/minidlna.po
+++ b/applications/luci-app-minidlna/po/sv/minidlna.po
@@ -15,6 +15,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/templates/minidlna.pot b/applications/luci-app-minidlna/po/templates/minidlna.pot
index 2b35d1e71..033dfa526 100644
--- a/applications/luci-app-minidlna/po/templates/minidlna.pot
+++ b/applications/luci-app-minidlna/po/templates/minidlna.pot
@@ -7,6 +7,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgstr ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/tr/minidlna.po b/applications/luci-app-minidlna/po/tr/minidlna.po
index 070d64c4e..a819da5b4 100644
--- a/applications/luci-app-minidlna/po/tr/minidlna.po
+++ b/applications/luci-app-minidlna/po/tr/minidlna.po
@@ -14,6 +14,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/uk/minidlna.po b/applications/luci-app-minidlna/po/uk/minidlna.po
index 7df732fb0..2eb83bd75 100644
--- a/applications/luci-app-minidlna/po/uk/minidlna.po
+++ b/applications/luci-app-minidlna/po/uk/minidlna.po
@@ -15,6 +15,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/vi/minidlna.po b/applications/luci-app-minidlna/po/vi/minidlna.po
index 070d64c4e..a819da5b4 100644
--- a/applications/luci-app-minidlna/po/vi/minidlna.po
+++ b/applications/luci-app-minidlna/po/vi/minidlna.po
@@ -14,6 +14,9 @@ msgstr ""
 msgid "Album art names:"
 msgstr ""
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr ""
 
diff --git a/applications/luci-app-minidlna/po/zh-cn/minidlna.po b/applications/luci-app-minidlna/po/zh-cn/minidlna.po
index 998975689..bd569344e 100644
--- a/applications/luci-app-minidlna/po/zh-cn/minidlna.po
+++ b/applications/luci-app-minidlna/po/zh-cn/minidlna.po
@@ -17,6 +17,9 @@ msgstr "高级设置"
 msgid "Album art names:"
 msgstr "专辑封面名称:"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "通告型号:"
 
diff --git a/applications/luci-app-minidlna/po/zh-tw/minidlna.po b/applications/luci-app-minidlna/po/zh-tw/minidlna.po
index 1af328099..c563adbb3 100644
--- a/applications/luci-app-minidlna/po/zh-tw/minidlna.po
+++ b/applications/luci-app-minidlna/po/zh-tw/minidlna.po
@@ -17,6 +17,9 @@ msgstr "進階設定值"
 msgid "Album art names:"
 msgstr "專輯名稱"
 
+msgid "Allow wide links:"
+msgid ""
+
 msgid "Announced model number:"
 msgstr "已宣告型號數量"
 
-- 
2.14.1




More information about the Lede-dev mailing list