Skip to content
This repository has been archived by the owner on Sep 22, 2019. It is now read-only.

Commit

Permalink
vesion 1.0.3:
Browse files Browse the repository at this point in the history
-fixed: cross platfom database issue
  • Loading branch information
queeup committed Jan 25, 2012
1 parent d3b865c commit ae2e5b1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
13 changes: 6 additions & 7 deletions addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
MIRO_URL = 'http://www.miroguide.com/'
MIRO_API = 'https://www.miroguide.com/api/'
# Our database
db = shelve.open(xbmc.translatePath(__cachedir__) + '/miro.db', protocol=2)
db = shelve.open(xbmc.translatePath(__cachedir__ + 'miro.db'), protocol=2)

# Fanart
xbmcplugin.setPluginFanart(int(sys.argv[1]), __fanart__)
Expand Down Expand Up @@ -65,12 +65,11 @@ def __init__(self):
def START(self):
if Debug: self.LOG('START()')
category = []
# If there is miro.db show My Subscription directory.
if os.path.isfile(xbmc.translatePath(__cachedir__ + '/miro.db')):
if db.keys() != []:
if Debug: self.LOG('DEBUG: My Subscriptions directory activated.')
category += [{'title':__language__(30201), 'url':'', 'action':'mysubscriptions'}]
db.close()
# If keys exist in miro.db show My Subscription directory.
if db.keys() != list():
if Debug: self.LOG('My Subscriptions directory activated.')
category += [{'title':__language__(30201), 'url':'', 'action':'mysubscriptions'}, ]
db.close()
category += [{'title':__language__(30202), 'url':'https://www.miroguide.com/api/list_categories?datatype=json', 'action':'categories', 'filter':'category'},
{'title':__language__(30203), 'url':'https://www.miroguide.com/api/list_languages?datatype=json', 'action':'categories', 'filter':'language'},
{'title':__language__(30204), 'url':'http://feeds.feedburner.com/miroguide/new', 'action':'getmirofeed'},
Expand Down
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="plugin.video.miro"
version="1.0.2"
version="1.0.3"
name="Miro"
provider-name="Plex, queeup">
<requires>
Expand Down
11 changes: 7 additions & 4 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
plugin.video.miro:
------------------
vesion 1.0.3 (26.01.2012)
-fixed: cross platfom database issue

vesion 1.0.2 (14.01.2012)
-added: language support
-other: cosmetic
-added: language support
-other: cosmetic

version 1.0.1 (13.01.2012)
-fixed: My subscription directory not showing
-other: cosmetic
-fixed: My subscription directory not showing
-other: cosmetic

0 comments on commit ae2e5b1

Please sign in to comment.