4 (c) 2008 Yanira <forum-2008@email.de>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
16 m = Map("ushare", translate("uShare"),
17 translate("uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server component that provides UPnP media devices with information on available multimedia files."))
19 s = m:section(TypedSection, "ushare", translate("Settings"))
23 s:option(Flag, "enabled", translate("Enable"))
25 s:option(Value, "username", translate("Username"))
27 s:option(Value, "servername", translate("Servername"))
29 dif = s:option( Value, "interface", translate("Interface"))
30 for _, nif in ipairs(luci.sys.net.devices()) do
31 if nif ~= "lo" then dif:value(nif) end
34 s:option(DynamicList, "content_directories", translate("Content directories"))
36 s:option(Flag, "disable_webif", translate("Disable webinterface"))
38 s:option(Flag, "disable_telnet", translate("Disable telnet console"))
40 s:option(Value, "options", translate("Options"))