bouquets: reduce BSkyB region to one (CPU usage)
This commit is contained in:
parent
95fb7aa627
commit
d08ec05ae7
1 changed files with 10 additions and 0 deletions
|
@ -632,6 +632,16 @@ dvb_bskyb_local_channels
|
|||
return;
|
||||
|
||||
regionid = ptr[1];
|
||||
|
||||
if (regionid != 0xff && regionid != 0 && regionid != 1) {
|
||||
if ((str = getenv("TVHEADEND_BSKYB_REGIONID")) != NULL) {
|
||||
if (regionid != atoi(str))
|
||||
return;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
len -= 2;
|
||||
ptr += 2;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue