Skip to content

Commit

Permalink
don't install adult channels with install all (yellow button)
Browse files Browse the repository at this point in the history
  • Loading branch information
atvblack64 committed Apr 10, 2014
1 parent d3ee3fc commit 09ffb31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/iptv.py
Expand Up @@ -104,7 +104,6 @@ def getDownloadTxt(self):

if not path.exists(downloadPath):
downloadPath = "/usr/lib/enigma2/python/Plugins/Extensions/IPTV-List-Updater/list/en.txt"
#DownloadTxtURL = '%sen.txt' % TxtURL

self.downloadlist = []
try:
Expand Down Expand Up @@ -362,6 +361,9 @@ def install(self):
self.IPTVInstalled = True
self.ScriptList = []
for l in self.downloadlist:
if l[0].upper() == 'XXX-ADULT':
print "Skip Adult channels"
continue
self.convert = True
url = l[2]
self.type = l[1]
Expand Down

0 comments on commit 09ffb31

Please sign in to comment.