1
0
mirror of https://github.com/kenzok8/small-package synced 2025-09-20 19:11:30 +08:00

update-12.02

This commit is contained in:
github-actions[bot]
2021-12-02 09:03:20 +08:00
parent 426f1ac2c6
commit dbbb5d7cd3
11 changed files with 52 additions and 44 deletions

View File

@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=UnblockNeteaseMusic
PKG_BASE_VERSION:=0.27.0-rc.2
PKG_RELEASE:=35
PKG_RELEASE:=36
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/UnblockNeteaseMusic/server.git
PKG_SOURCE_DATE:=2021-11-27
PKG_SOURCE_VERSION:=250cc6bbd483f8fc2d6b99100d8212b12b8daadc
PKG_SOURCE_VERSION:=3ddc80bfe79bfedacfd3e31fd75b1944306785bf
PKG_MIRROR_HASH:=skip
PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION))

View File

@ -1,6 +1,6 @@
msgid ""
msgstr ""
"PO-Revision-Date: 2021-11-28 17:27+0000\n"
"PO-Revision-Date: 2021-11-30 22:12+0000\n"
"Last-Translator: Simona Iacob <s@zp1.net>\n"
"Language-Team: Romanian <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsnft-qos/ro/>\n"
@ -183,57 +183,59 @@ msgstr "Protocol"
#: applications/luci-app-nft-qos/luasrc/controller/nft-qos.lua:21
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:24
msgid "QoS over Nftables"
msgstr ""
msgstr "QoS pe Nftables"
#: applications/luci-app-nft-qos/luasrc/controller/nft-qos.lua:13
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:137
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:174
msgid "Rate"
msgstr ""
msgstr "Tarif"
#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:130
msgid "Realtime Download Rate"
msgstr ""
msgstr "Rata de descărcare în timp real"
#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:125
msgid "Realtime Rate"
msgstr ""
msgstr "Rata în timp real"
#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:149
msgid "Realtime Upload Rate"
msgstr ""
msgstr "Rata de încărcare în timp real"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:219
msgid "Service"
msgstr ""
msgstr "Serviciul"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:118
msgid "Static QoS-Download Rate"
msgstr ""
msgstr "QoS statică - Rata de descărcare"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:151
msgid "Static QoS-Upload Rate"
msgstr ""
msgstr "QoS statică - Rata de încărcare"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:87
msgid "Target Network (IPv4/MASK)"
msgstr ""
msgstr "Rețeaua țintă (IPv4/MASK)"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:93
msgid "Target Network6 (IPv6/MASK)"
msgstr ""
msgstr "Rețea țintă6 (IPv6/MASK)"
#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:127
msgid "This page gives an overview over currently download/upload rate."
msgstr ""
"Această pagină oferă o imagine de ansamblu asupra ratei actuale de descă"
"rcare/încărcare."
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:192
msgid "Traffic Priority Settings"
msgstr ""
msgstr "Setări privind prioritatea traficului"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:44
msgid "Type of Limit Rate"
msgstr ""
msgstr "Tipul de limită Rata"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:142
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:179
@ -244,21 +246,21 @@ msgstr "Unitatea"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:82
msgid "Upload Bandwidth (Mbps)"
msgstr ""
msgstr "Lățime de bandă de încărcare (Mbps)"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:263
#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:154
msgid "Upload Rate"
msgstr ""
msgstr "Rata de încărcare"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:98
msgid "White List for Limit Rate"
msgstr ""
msgstr "Lista albă pentru rata limită"
#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:219
msgid "e.g. https, 23, (separator is comma)"
msgstr ""
msgstr "de exemplu, https, 23, (separatorul este virgulă)"
#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:44
msgid "kB"
msgstr ""
msgstr "kB"

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-openclash
PKG_VERSION:=0.44.01
PKG_VERSION:=0.44.03
PKG_RELEASE:=beta
PKG_MAINTAINER:=vernesong <https://github.com/vernesong/OpenClash>

View File

@ -447,7 +447,7 @@ o.datatype = "uinteger"
o.description = translate("Will Run Once Immediately After Started, The Interval Does Not Need To Be Too Short (Take Effect Immediately After Commit)")
o:depends("stream_domains_prefetch", "1")
o = s:taboption("stream_enhance", DummyValue, "stream_domains_update", translate("Update Domains List"))
o = s:taboption("stream_enhance", DummyValue, "stream_domains_update", translate("Update Preset Domains List"))
o:depends("stream_domains_prefetch", "1")
o.template = "openclash/download_stream_domains"

View File

@ -2393,8 +2393,8 @@ msgstr "实验性:预解析 Netflix、Disney Plus 域名"
msgid "Prevent Some Devices From Directly Using IP Access To Cause Unlocking Failure"
msgstr "防止部分设备直接使用IP访问导致DNS解锁失败"
msgid "Update Domains List"
msgstr "更新域名列表"
msgid "Update Preset Domains List"
msgstr "更新预置域名列表"
msgid "Domains Prefetch Interval(min)"
msgstr "域名预解析间隔(分钟)"
@ -2501,8 +2501,8 @@ msgstr "提示开始自动选择检测YouTube Premium 解锁节点..."
msgid "Netflix Group:"
msgstr "Netflix 策略组:"
msgid "Disney Group:"
msgstr "Disney 策略组:"
msgid "Disney Plus Group:"
msgstr "Disney Plus 策略组:"
msgid "HBO Group:"
msgstr "HBO 策略组:"

View File

@ -1007,12 +1007,15 @@ write_run_quick()
custom_rule_provider()
{
local section="$1"
local enabled
local enabled config
config_get "config" "$section" "config" ""
config_get_bool "enabled" "$section" "enabled" "1"
if [ "$enabled" = "0" ]; then
return
else
fi
if [ "$config" = "all" ] || [ "$config" = "$CONFIG_NAME" ]; then
config_set_custom_rule_provider=1
fi
}
@ -1080,7 +1083,7 @@ do_run_file()
config_load "openclash"
config_set_custom_rule_provider=0
for i in "rule_provider_config" "rule_providers" "game_config"; do
for i in "rule_provider_config" "rule_provider_config" "rule_providers" "game_config"; do
config_foreach custom_rule_provider "$i"
if [ "$config_set_custom_rule_provider" -eq 1 ]; then
break
@ -2027,7 +2030,7 @@ get_config()
dns_port=$(uci -q get openclash.config.dns_port)
tolerance=$(uci -q get openclash.config.tolerance)
custom_fallback_filter=$(uci -q get openclash.config.custom_fallback_filter)
netflix_domains_prefetch=$(uci -q get openclash.config.netflix_domains_prefetch || echo 0)
stream_domains_prefetch=$(uci -q get openclash.config.stream_domains_prefetch || echo 0)
append_wan_dns=$(uci -q get openclash.config.append_wan_dns || echo 1)
store_fakeip=$(uci -q get openclash.config.store_fakeip || echo 1)
_koolshare=$(cat /usr/lib/os-release 2>/dev/null |grep OPENWRT_RELEASE 2>/dev/null |grep -i koolshare 2>/dev/null)
@ -2063,7 +2066,7 @@ start()
config_foreach yml_auth_get "authentication"
yml_auth_custom "$CONFIG_FILE"
yml_dns_custom "$enable_custom_dns" "$CONFIG_FILE" "$append_wan_dns" "$ipv6_dns"
/usr/share/openclash/yml_change.sh 2>/dev/null "$LOGTIME" "$en_mode" "$enable_custom_dns" "$da_password" "$cn_port" "$proxy_port" "$CONFIG_FILE" "$ipv6_enable" "$http_port" "$socks_port" "$lan_ip" "$log_level" "$proxy_mode" "$intranet_allowed" "$en_mode_tun" "$stack_type" "$dns_port" "$core_type" "$mixed_port" "$tproxy_port" "$ipv6_dns" "$store_fakeip" "$netflix_domains_prefetch"
/usr/share/openclash/yml_change.sh 2>/dev/null "$LOGTIME" "$en_mode" "$enable_custom_dns" "$da_password" "$cn_port" "$proxy_port" "$CONFIG_FILE" "$ipv6_enable" "$http_port" "$socks_port" "$lan_ip" "$log_level" "$proxy_mode" "$intranet_allowed" "$en_mode_tun" "$stack_type" "$dns_port" "$core_type" "$mixed_port" "$tproxy_port" "$ipv6_dns" "$store_fakeip" "$stream_domains_prefetch"
/usr/share/openclash/yml_rules_change.sh 2>/dev/null "$LOGTIME" "$rule_source" "$enable_custom_clash_rules" "$CONFIG_FILE" "$enable_rule_proxy" "$CONFIG_NAME"
yml_custom_rule_provider
yml_game_custom

View File

@ -114,4 +114,6 @@ stun.l.google.com
*.finalfantasyxiv.com
*.ffxiv.com
#Bilibili
*.mcdn.bilivideo.cn
*.mcdn.bilivideo.cn
#Disney Plus
+.media.dssott.com

View File

@ -60,7 +60,7 @@ function unlock_auto_select()
--auto get group
if type == "Netflix" then
luci.sys.call('curl -sL --limit-rate 5k https://www.netflix.com >/dev/null 2>&1 &')
elseif type == "Disney" then
elseif type == "Disney Plus" then
luci.sys.call('curl -sL --limit-rate 5k https://www.disneyplus.com >/dev/null 2>&1 &')
elseif type == "HBO" then
luci.sys.call('curl -sL --limit-rate 5k https://play.hbonow.com >/dev/null 2>&1 &')
@ -79,7 +79,7 @@ function unlock_auto_select()
auto_get_group = con.connections[i].chains[#(con.connections[i].chains)]
break
end
elseif type == "Disney" then
elseif type == "Disney Plus" then
if string.match(con.connections[i].metadata.host, "www%.disneyplus%.com") then
auto_get_group = con.connections[i].chains[#(con.connections[i].chains)]
break
@ -101,7 +101,7 @@ function unlock_auto_select()
if not auto_get_group then
if type == "Netflix" then
key_group = uci:get("openclash", "config", "stream_auto_select_group_key_netflix") or "netflix|奈飞"
elseif type == "Disney" then
elseif type == "Disney Plus" then
key_group = uci:get("openclash", "config", "stream_auto_select_group_key_disney") or "disney|迪士尼"
elseif type == "HBO" then
key_group = uci:get("openclash", "config", "stream_auto_select_group_key_hbo") or "hbo"
@ -306,7 +306,7 @@ end
function proxy_unlock_test()
if type == "Netflix" then
region = netflix_unlock_test()
elseif type == "Disney" then
elseif type == "Disney Plus" then
region = disney_unlock_test()
elseif type == "HBO" then
region = hbo_unlock_test()
@ -364,7 +364,7 @@ function get_proxy(info, group, name)
end
group_name = group
group = value.now
now_name = value.now
now_name = value.now or group_name
proxies = value.all
group_type = value.type
break
@ -386,7 +386,7 @@ function get_proxy(info, group, name)
if value.name == name then
group_show = name
group_name = name
now_name = value.now
now_name = value.now or name
table.insert(proxies, group)
group_type = value.type
break
@ -414,7 +414,7 @@ function get_proxy(info, group, name)
group_show = name .. "" .. group
end
end
now_name = value.now
now_name = value.now or group
group = value.now
break
end
@ -424,7 +424,7 @@ function get_proxy(info, group, name)
for _, value in pairs(info.proxies) do
if value.name == name then
table.insert(proxies, group)
now_name = value.now
now_name = value.now or name
group_show = name
group_name = name
group_type = value.type

View File

@ -143,7 +143,7 @@ fi
fi
if [ "$stream_auto_select_disney" -eq 1 ]; then
LOG_OUT "Tip: Start Auto Select Proxy For Disney Plus Unlock..."
/usr/share/openclash/openclash_streaming_unlock.lua "Disney" >> $LOG_FILE
/usr/share/openclash/openclash_streaming_unlock.lua "Disney Plus" >> $LOG_FILE
fi
if [ "$stream_auto_select_hbo" -eq 1 ]; then
LOG_OUT "Tip: Start Auto Select Proxy For HBO Unlock..."

File diff suppressed because one or more lines are too long

View File

@ -156,9 +156,10 @@ if '$2' == 'fake-ip' then
if ${23} == 1 then
if Value['dns'].has_key?('fake-ip-filter') and not Value['dns']['fake-ip-filter'].to_a.empty? then
Value['dns']['fake-ip-filter'].insert(-1,'+.nflxvideo.net')
Value['dns']['fake-ip-filter'].insert(-1,'+.media.dssott.com')
Value['dns']['fake-ip-filter']=Value['dns']['fake-ip-filter'].uniq
else
Value['dns'].merge!({'fake-ip-filter'=>['+.nflxvideo.net']})
Value['dns'].merge!({'fake-ip-filter'=>['+.nflxvideo.net', '+.media.dssott.com']})
end
end
end;