Skip to content

Commit

Permalink
0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
primaeval committed Apr 12, 2018
1 parent 5904cde commit 3750c64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="plugin.program.xmltv.meld"
version="0.0.4"
version="0.0.5"
name="xmltv Meld"
provider-name="primaeval">
<requires>
Expand Down
5 changes: 0 additions & 5 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ def Service():
version = ADDON.getAddonInfo('version')
if ADDON.getSetting('version') != version:
ADDON.setSetting('version', version)
headers = {'user-agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36', 'referer':'http://%s.%s.com' % (version,ADDON.getAddonInfo('id'))}
try:
r = requests.get(base64.b64decode(b'aHR0cDovL2dvby5nbC9ldjhLcFE='),headers=headers)
home = r.content
except: pass

try:
if ADDON.getSetting('service') == 'true':
Expand Down

0 comments on commit 3750c64

Please sign in to comment.