Update epg2xml.py
This commit is contained in:
parent
09e7323dad
commit
2f55b408e3
@ -16,7 +16,7 @@ import argparse
|
|||||||
reload(sys)
|
reload(sys)
|
||||||
sys.setdefaultencoding('utf-8')
|
sys.setdefaultencoding('utf-8')
|
||||||
|
|
||||||
__version__ = '1.1.0'
|
__version__ = '1.1.1'
|
||||||
|
|
||||||
# Set My Configuration
|
# Set My Configuration
|
||||||
default_icon_url = '' # TV channel icon url (ex : http://www.example.com/Channels)
|
default_icon_url = '' # TV channel icon url (ex : http://www.example.com/Channels)
|
||||||
@ -307,7 +307,10 @@ def GetEPGFromSK(ChannelInfo):
|
|||||||
desc = ''
|
desc = ''
|
||||||
actors = ''
|
actors = ''
|
||||||
producers = ''
|
producers = ''
|
||||||
category = program['mainGenreName']
|
if not (program['mainGenreName'] is None) :
|
||||||
|
category = program['mainGenreName']
|
||||||
|
else:
|
||||||
|
category = ''
|
||||||
rating = int(program['ratingCd']) if program['programName'] else 0
|
rating = int(program['ratingCd']) if program['programName'] else 0
|
||||||
desc = ''
|
desc = ''
|
||||||
if program['synopsis'] : desc = program['synopsis']
|
if program['synopsis'] : desc = program['synopsis']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user