Skip to content

Commit

Permalink
Fix on Infofiles
Browse files Browse the repository at this point in the history
  • Loading branch information
hikavdh committed May 5, 2016
1 parent de842e4 commit c3418a7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tv_grab_nl.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def __init__(self):
self.major = 2
self.minor = 2
self.patch = 14
self.patchdate = u'20160501'
self.patchdate = u'20160505'
self.alfa = False
self.beta = True

Expand Down Expand Up @@ -3900,15 +3900,18 @@ def write_fetch_list(self, programs, chanid, source, sid = None, ismerge = False

for tdict in plist:
if sid == None:
sid = tdict['ID']
psid = tdict['ID']

elif sid in tdict['prog_ID']:
sid = tdict['prog_ID'][sid]
psid = tdict['prog_ID'][sid]

else:
psid = ''

self.fetch_strings[chanid][source] += u' %s-%s: [%s][%s] %s: %s [%s/%s]\n' % (\
tdict['start-time'].strftime('%d %b %H:%M'), \
tdict['stop-time'].strftime('%H:%M'), \
sid.rjust(15), tdict['genre'][0:10].rjust(10), \
psid.rjust(15), tdict['genre'][0:10].rjust(10), \
tdict['name'], tdict['titel aflevering'], \
tdict['season'], tdict['episode'])

Expand Down

0 comments on commit c3418a7

Please sign in to comment.