Skip to content

Commit

Permalink
zap2epg: Remove cast, premere, new, live, finale
Browse files Browse the repository at this point in the history
cast, premere, new, live, finale extra description details is now
entirely managed through regular xmltv tags fully compatible with
both TVH and Kodi.  As such there is no more need to keep a
duplicate of the values.
  • Loading branch information
th0ma7 committed Jun 3, 2021
1 parent 3daa50f commit 6b9fdcc
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions zap2epg.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,17 +750,6 @@ def makeDescsortList(optList):
myear = "Released: " + edict['epyear'] + space
if edict['eprating'] is not None:
ratings = edict['eprating'] + space
if edict['epflag'] != []:
flagList = edict['epflag']
new = ' - '.join(flagList).upper() + space
#if edict['epnew'] is not None:
#new = edict['epnew'] + space
#if edict['eplive'] is not None:
#new = edict['eplive'] + space
#if edict['epprem'] is not None:
#new = edict['epprem'] + space
#if edict['epfin'] is not None:
#new = edict['epfin'] + space
if edict['eptags'] != []:
tagsList = edict['eptags']
cc = ' | '.join(tagsList).upper() + space
Expand All @@ -772,20 +761,6 @@ def makeDescsortList(optList):
e = re.sub('E', '', edict['epen'])
ef = "Episode " + str(int(e))
season = sf + " - " + ef + space
if edict['epcredits'] is not None:
cast = "Cast: "
castlist = ""
prev = None
EPcastList = []
for c in edict['epcredits']:
EPcastList.append(c['name'])
for g in EPcastList:
if prev is None:
castlist = g
prev = g
else:
castlist = castlist + ", " + g
cast = cast + castlist + space
if edict['epshow'] is not None:
prog = edict['epshow'] + space
if edict['eptitle'] is not None:
Expand Down

0 comments on commit 6b9fdcc

Please # to comment.