Skip to content

Commit eeb7e5b

Browse files
committed
Kodi 19 dialog error fix
also includes version number cleanup
1 parent 2c79577 commit eeb7e5b

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

addon.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<addon id="script.module.zap2epg" name="zap2epg" version="2.0.0" provider-name="edit4ever">
2+
<addon id="script.module.zap2epg" name="zap2epg" version="2.0.1" provider-name="edit4ever">
33
<requires>
44
<import addon="xbmc.python" version="3.0.0"/>
55
<import addon="script.module.dateutil" version="2.4.2"/>
@@ -29,6 +29,7 @@ Setup:
2929
<email></email>
3030
<source></source>
3131
<news>
32+
v2.0.1 - Kodi 19 dialog fix
3233
v2.0.0 - Python 3 update
3334
v1.3.0 - fix server issues for lineups (2019-04-12)
3435
v1.2.0 - add option to refresh download cache days (2019-03-04)

bin/tv_grab_zap2epg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ do case "$1" in
3838
;;
3939

4040
-v | --version )
41-
printf "1.3.x\n"
41+
printf "2.0.x\n"
4242
;;
4343

4444
-c | --capabilities )

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v2.0.1 (2021-02-25)
2+
- Kodi 19 dialog fix
3+
14
v2.0.0 (2020-10-27)
25
- Python3 update
36

default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def location():
238238
def run():
239239
logging.basicConfig(filename=log, filemode='w', format='%(asctime)s %(message)s', datefmt='%Y/%m/%d %H:%M:%S', level=logging.DEBUG)
240240
status = zap2epg.mainRun(userdata)
241-
dialog.ok('zap2epg Finished!', 'zap2epg completed in ' + str(status[0]) + ' seconds.', '', str(status[1]) + ' Stations and ' + str(status[2]) + ' Episodes written to xmltv.xml file.')
241+
dialog.ok('zap2epg Finished!', 'zap2epg completed in ' + str(status[0]) + ' seconds.\n' + str(status[1]) + ' Stations and ' + str(status[2]) + ' Episodes written to xmltv.xml file.')
242242

243243

244244

zap2epg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def mainRun(userdata):
9797
country = 'USA'
9898
else:
9999
country = 'CAN'
100-
logging.info('Running zap2epg-0.7.4 for zipcode: %s and lineup: %s', zipcode, lineup)
100+
logging.info('Running zap2epg-2.0.1 for zipcode: %s and lineup: %s', zipcode, lineup)
101101
pythonStartTime = time.time()
102102
cacheDir = os.path.join(userdata, 'cache')
103103
dayHours = int(days) * 8 # set back to 8 when done testing

0 commit comments

Comments
 (0)