Fix favourite group selection

This commit is contained in:
HummyPkg 2019-01-17 11:15:45 +00:00
parent ba3db5eb59
commit 132afd3ca7
1 changed files with 2 additions and 1 deletions

View File

@ -461,6 +461,7 @@ proc {epg dbfetch} {mode args} {
) "
}
-fav {
set v $(1 << ($v - 1))
append from \
"join TBL_FAV f using(hSvc) "
append q "and f.eFavGroup = $v "
@ -515,7 +516,7 @@ proc {epg fetch} {mode args} {
proc {epg favlist} {} {
global channeldb
set num [[settings] channel_group]
set num $(1 << ([[settings] channel_group] - 1))
if {!$num} { return "" }