Update 'luasrc/model/cbi/megamedia.lua'

main
ben 1 year ago
parent dc123c309e
commit c4c38c6812

@ -7,11 +7,11 @@ local megamedia_model = require "luci.model.megamedia"
local m, s, o
m = taskd.docker_map("megamedia", "megamedia", "/usr/libexec/apps/megamedia/megamedia.sh",
translate("megamedia"),
translate("MEGA MEDIA SERVER is a bundle of the most popular media manager apps qbittorrent, jellyfin, jackett, raadarr, sonarr, lidarr, and prowlarr. You're welcome.")
translate("MegaMedia"),
translate("MEGA MEDIA SERVER is a bundle of the most popular media manager apps qbittorrent, jellyfin, jackett, raadarr, sonarr, lidarr, and prowlarr.")
.. translate("Official website:") .. ' <a href=\"https://docs.linuxserver.io/images/docker-lidarr/\" target=\"_blank\">https://docs.linuxserver.io/images/docker-lidarr/</a>')
s = m:section(SimpleSection, translate("Service Status"), translate("megamedia status:"))
s = m:section(SimpleSection, translate("Service Status"), translate("MegaMedia status:"))
s:append(Template("megamedia/status"))
s = m:section(TypedSection, "megamedia", translate("Setup"), translate("Refresh to update settings."))
@ -35,8 +35,8 @@ local home = megamedia_model.home()
o = s:option(Value, "config_path", translate("Root Dir Path").."<b>*</b>")
o.rmempty = false
o.datatype = "string"
o:value("/opt/docker2/compose", "/opt/docker2/compose")
o.default = "/opt/docker2/compose"
o:value("/opt/docker2/compose/downloads", "/opt/docker2/compose/downloads")
o.default = "/opt/docker2/compose/downloads"
local paths, default_path = megamedia_model.find_paths(blocks, home, "Configs")
for _, val in pairs(paths) do

Loading…
Cancel
Save