Skip to content

Commit

Permalink
Fix compatibility with jarvis and krypton
Browse files Browse the repository at this point in the history
  • Loading branch information
ace20022 committed Oct 4, 2016
1 parent 074ddad commit 26a752b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions addon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
provider-name="ace20022"
>
<requires>
<import addon="xbmc.python" version="2.14"/>
<import addon="xbmc.python" version="2.14.0"/>
</requires>
<extension point="xbmc.service" library="default.py" start="login"/>
<extension point="xbmc.python.script" library="default.py">
Expand All @@ -15,7 +15,7 @@
<extension point="xbmc.addon.metadata">
<summary lang="en">Language Preference Manager</summary>
<description lang="en">Sets the audio and subtitle track according to your language preferences</description>
<disclaimer lang="en">For bugs, requests or general questions visit the Language Preference Manager thread on the XBMC forum.</disclaimer>
<disclaimer lang="en">For bugs, requests or general questions visit the Language Preference Manager thread on the Kodi forum.</disclaimer>
<platform>all</platform>
</extension>
</addon>
8 changes: 1 addition & 7 deletions default.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@

#import rpdb2
#rpdb2.start_embedded_debugger('pw')
import os, sys, re
import xbmc, xbmcaddon

if sys.version_info < (2, 7):
import simplejson
else:
import json as simplejson
import json as simplejson

__addon__ = xbmcaddon.Addon()
__addonversion__ = __addon__.getAddonInfo('version')
Expand Down

0 comments on commit 26a752b

Please sign in to comment.