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

main
ben 1 year ago
parent 9c61a8ec35
commit ff22c121a8

@ -30,15 +30,16 @@ o:depends("hostnet", 0)
o = s:option(Value, "image_name", translate("Image").."<b>*</b>")
o.rmempty = false
o.datatype = "string"
o:value("lscr.io/linuxserver/emby:latest", "lscr.io/linuxserver/emby:latest")
o:value("emby/embyserver", "emby/embyserver")
o:value("emby/embyserver_arm32v7", "emby/embyserver_arm32v7")
o:value("emby/embyserver_arm64v8", "emby/embyserver_arm64v8")
o.default = "emby/embyserver"
o.default = "lscr.io/linuxserver/emby:latest"
local blocks = emby_model.blocks()
local home = emby_model.home()
o = s:option(Value, "config_path", translate("Config path").."<b>*</b>")
o = s:option(Value, "config_path", translate("Media path").."<b>*</b>")
o.rmempty = false
o.datatype = "string"
@ -48,7 +49,7 @@ for _, val in pairs(paths) do
end
o.default = default_path
o = s:option(Value, "media_path", translate("Media path"), translate("Not required, all disk is mounted in") .. " <a href='/cgi-bin/luci/admin/services/emby/file/?path=/root/mnt' target='_blank'>/mnt</a>")
o = s:option(Value, "media_path", translate("Media path"), translate("Not required, all disk is mounted in") .. " <a href='/cgi-bin/luci/admin/services/emby/file/?path=/opt/docker2/compose/emby' target='_blank'>/opt</a>")
o.datatype = "string"
o = s:option(Value, "cache_path", translate("Transcode cache path"), translate("Default use 'transcodes' in 'config path' if not set, please make sure there has enough space"))

Loading…
Cancel
Save