Skip to content

Commit

Permalink
0.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
primaeval committed Aug 14, 2016
1 parent dd19f56 commit 686d4b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="script.webgrab"
version="0.0.17"
version="0.0.18"
name="Webgrab+Plus Configurator"
provider-name="primaeval">
<requires>
<import addon="xbmc.python" version="2.20.0"/>
<import addon="script.module.xbmcswift2" version="2.4.0"/>
<import addon="script.module.requests" version="2.9.1" />
<import addon="script.toolbox" version="1.1.2"/>
</requires>
<extension point="xbmc.python.pluginsource" library="main.py">
<provides>executable</provides>
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version 0.0.18
- depends on script.toolbox to display log

Version 0.0.17
- tv.com zip and utc storage

Expand Down
6 changes: 2 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,8 @@ def show_log():
path = os.path.join(xbmc.translatePath(folder),'WebGrab++.log.txt')
f = xbmcvfs.File(path,"r")
data = f.read()
lines = data.splitlines()
dialog = xbmcgui.Dialog()
dialog.select('WebGrab++.log.txt', lines)

cmd = 'XBMC.RunScript(script.toolbox,info=textviewer,header="WebGrab++.log.txt",text=%s)' % data
xbmc.executebuiltin(cmd)

@plugin.route('/tv_com')
def tv_com():
Expand Down

0 comments on commit 686d4b3

Please sign in to comment.