Skip to content

Commit

Permalink
- rcu_switcher: add hd6x and vuduo4kse
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhofen committed Nov 24, 2020
1 parent d0a8170 commit 81172a4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts-lua/plugins/rcu_switcher/rcu_switcher.cfg
@@ -1,7 +1,7 @@
name=RC Switcher
name.deutsch=Fernbedienung wechseln
desc=Switch RC between different STB models
desc.deutsch=Zwischen den Fernbedienung von verschiedenen STB Modellen wechseln
desc.deutsch=Zwischen den Fernbedienung von verschiedenen STB-Modellen wechseln
hinticon=rcu_switcher_hint
type=4
hide=0
4 changes: 2 additions & 2 deletions scripts-lua/plugins/rcu_switcher/rcu_switcher.init
Expand Up @@ -6,7 +6,7 @@ if [ -e /proc/stb/info/vumodel ]; then
vumodel=$(cat /proc/stb/info/vumodel)

case $vumodel in
duo4k|solo4k|ultimo4k|uno4k|uno4kse|zero4k)
duo4k|duo4kse|solo4k|ultimo4k|uno4k|uno4kse|zero4k)
vuplus="true"
;;
*)
Expand Down Expand Up @@ -41,7 +41,7 @@ case $1 in
esac
else
case $code in
4|5|7|8|9|11|13|16|21|23)
4|5|7|8|9|11|13|16|21|23|26|29)
echo $code > $procfile
;;
*)
Expand Down
5 changes: 4 additions & 1 deletion scripts-lua/plugins/rcu_switcher/rcu_switcher.lua
Expand Up @@ -230,6 +230,7 @@ function init()
vuplus = proc_get("/proc/stb/info/vumodel")
if (
vuplus == "duo4k"
or vuplus == "duo4kse"
or vuplus == "solo4k"
or vuplus == "ultimo4k"
or vuplus == "uno4k"
Expand Down Expand Up @@ -282,7 +283,9 @@ function init()
[13] = { code = 13, name = "ET 4000" },
[16] = { code = 16, name = "HD51, ET 7000 / 7500 / 8500" },
[21] = { code = 21, name = "Zgemma H7" },
[23] = { code = 23, name = "Bre2ze 4K" }
[23] = { code = 23, name = "Bre2ze 4K" },
[26] = { code = 26, name = "HD61" },
[29] = { code = 29, name = "HD60" }
}
end
end
Expand Down

0 comments on commit 81172a4

Please sign in to comment.