update 2026-07-27 22:20:34

This commit is contained in:
action
2026-07-27 22:20:34 +08:00
parent 079ea4f182
commit 20b786ab77
6243 changed files with 0 additions and 2850540 deletions
-19
View File
@@ -1,19 +0,0 @@
# Copyright 2019 Shun Li <riverscn@gmail.com>
# Licensed to the public under the GNU General Public License v3.
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-iptvhelper
PKG_VERSION:=0.1.1
PKG_RELEASE:=2
PKG_MAINTAINER:=Shun Li <riverscn@gmail.com>
PKG_LICENSE:=GPL-3.0
LUCI_TITLE:=LuCI support for iptvhelper
LUCI_DEPENDS:=+luci-compat +iptvhelper
LUCI_PKGARCH:=all
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature
@@ -1,14 +0,0 @@
-- Copyright 2019 Shun Li <riverscn@gmail.com>
-- Licensed to the public under the GNU General Public License v3.
module("luci.controller.iptvhelper", package.seeall)
function index()
if not nixio.fs.access("/etc/config/iptvhelper") then
return
end
local page = entry({"admin", "services", "iptvhelper"}, cbi("iptvhelper"), _("IPTV Helper"))
page.dependent = true
end
@@ -1,34 +0,0 @@
-- Copyright 2019 Shun Li <riverscn@gmail.com>
-- Licensed to the public under the GNU General Public License v3.
local sys = require "luci.sys"
m = Map("iptvhelper", translate("IPTV Helper"), translate("Help you configure IPTV easily. <a href=\"https://github.com/riverscn/openwrt-iptvhelper\">Github</a>"))
s = m:section(TypedSection, "tvbox", translate("IPTV topbox parameters"))
s.addremove = true
s.anonymous = false
enable=s:option(Flag, "disabled", translate("Enabled"))
enable.enabled = "0"
enable.disabled = "1"
enable.default = "1"
enable.rmempty = false
respawn=s:option(Flag, "respawn", translate("Respawn"))
respawn.default = false
ipset=s:option(Flag, "ipset", translate("Create ipset"),
translate("You can use it in mwan3."))
ipset.default = true
dns_redir=s:option(Flag, "dns_redir", translate("Redirect topbox's DNS"),
translate("You may need it to jailbreak your topbox."))
dns_redir.default = false
host = s:option(Value, "mac", translate("Topbox MAC Address"),
translate("It is usually on the bottom side of topbox."))
host.rmempty = false
host.datatype = "macaddr"
sys.net.mac_hints(function(mac, name)
host:value(mac, "%s (%s)" %{ mac, name })
end)
return m
@@ -1,49 +0,0 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:19
msgid "Create ipset"
msgstr ""
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:12
msgid "Enabled"
msgstr ""
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:6
msgid ""
"Help you configure IPTV easily. <a href=\"https://github.com/riverscn/"
"openwrt-iptvhelper\">Github</a>"
msgstr ""
#: luci-app-iptvhelper/luasrc/controller/iptvhelper.lua:11
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:6
msgid "IPTV Helper"
msgstr ""
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:8
msgid "IPTV topbox parameters"
msgstr ""
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:27
msgid "It is usually on the bottom side of topbox."
msgstr ""
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:22
msgid "Redirect topbox's DNS"
msgstr ""
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:17
msgid "Respawn"
msgstr ""
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:26
msgid "Topbox MAC Address"
msgstr ""
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:20
msgid "You can use it in mwan3."
msgstr ""
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:23
msgid "You may need it to jailbreak your topbox."
msgstr ""
@@ -1,50 +0,0 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:19
msgid "Create ipset"
msgstr "创建 ipset"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:12
msgid "Enabled"
msgstr "启用"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:6
msgid ""
"Help you configure IPTV easily. <a href=\"https://github.com/riverscn/"
"openwrt-iptvhelper\">Github</a>"
msgstr "帮助你轻松配置IPTV。<a href=\"https://github.com/riverscn/"
"openwrt-iptvhelper\">Github</a>"
#: luci-app-iptvhelper/luasrc/controller/iptvhelper.lua:11
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:6
msgid "IPTV Helper"
msgstr "IPTV 帮手"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:8
msgid "IPTV topbox parameters"
msgstr "IPTV 机顶盒参数"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:27
msgid "It is usually on the bottom side of topbox."
msgstr "它通常贴在机顶盒的底部"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:22
msgid "Redirect topbox's DNS"
msgstr "重定向机顶盒的DNS"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:17
msgid "Respawn"
msgstr "进程守护"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:26
msgid "Topbox MAC Address"
msgstr "机顶盒MAC地址"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:20
msgid "You can use it in mwan3."
msgstr "你可以在mwan3中使用它"
#: luci-app-iptvhelper/luasrc/model/cbi/iptvhelper.lua:23
msgid "You may need it to jailbreak your topbox."
msgstr "想要破解机顶盒可能会用到它"
@@ -1,12 +0,0 @@
#!/bin/sh
# needed for "Save and Apply" to restart iptvhelper
uci -q batch <<-EOF >/dev/null
delete ucitrack.@iptvhelper[-1]
add ucitrack iptvhelper
set ucitrack.@iptvhelper[-1].init="iptvhelper"
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0