@ -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 ( " megam edia" ) ,
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 ( " MegaM edia" ) ,
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 ( " megam edia status:" ) )
s = m : section ( SimpleSection , translate ( " Service Status " ) , translate ( " MegaM edia 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