added hide/skip for bouquet list

This commit is contained in:
Dmitriy Yefremov
2017-12-29 19:49:01 +03:00
parent 4399664bd4
commit beabac5c2c
2 changed files with 16 additions and 12 deletions

View File

@@ -468,12 +468,9 @@ class MainAppWindow:
fav_id = srv.data
# IPTV and MARKER services
s_type = srv.type
if s_type is BqServiceType.MARKER:
if s_type is BqServiceType.MARKER or s_type is BqServiceType.IPTV:
self.__channels[fav_id] = Channel(*agr[0:3], srv.name, *agr[0:3],
s_type.name, *agr, srv.num, fav_id, None)
elif s_type is BqServiceType.IPTV:
self.__channels[fav_id] = Channel(*agr[0:3], srv.name, *agr[0:3],
srv.type.name, *agr, srv.num, fav_id, None)
services.append(fav_id)
self.__bouquets["{}:{}".format(name, bt_type)] = services