Permalink
Browse files

eden compat

  • Loading branch information...
1 parent 74f98c0 commit 52eba91d3de8a6d90d08c8acdaf8600c5954ee0c @pieh committed Nov 13, 2011
View
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addons>
<addon id="script.ExtraMusicInfo"
name="Extra Music Info"
@@ -35,7 +35,7 @@
</addon>
<addon id="script.module.rssengine" name="RSS Engine Addon"
- version="1.0.3"
+ version="1.0.4"
provider-name="pieh">
<requires>
<import addon="xbmc.python" version="1.0"/>
@@ -48,7 +48,7 @@
<addon id="script.rssclient"
name="RSS Client Background"
- version="1.0.3"
+ version="1.0.4"
provider-name="pieh">
<requires>
<import addon="xbmc.python" version="1.0"/>
@@ -68,7 +68,7 @@
<addon id="script.rssclient-standalone"
name="RSS Client"
- version="1.0.4"
+ version="1.0.5"
provider-name="pieh">
<requires>
<import addon="xbmc.python" version="1.0"/>
View
@@ -1 +1 @@
-7a2d0c6f3bd896d9d50b18edf6385743
+9e77e764c08152bb422a0269beacb0c2
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.module.rssengine" name="RSS Engine Addon"
- version="1.0.3"
+ version="1.0.4"
provider-name="pieh">
<requires>
<import addon="xbmc.python" version="1.0"/>
@@ -2,10 +2,6 @@
from threading import Thread
import urllib, os.path, xbmc, re, htmlentitydefs, time
-CWD = os.getcwd()
-if CWD[-1] == ';': CWD = CWD[0:-1]
-if CWD[-1] != '\\': CWD = CWD + '\\'
-
DATA_PATH = xbmc.translatePath( "special://profile/addon_data/script.rssclient/")
if not os.path.exists(DATA_PATH): os.makedirs(DATA_PATH)
@@ -503,7 +499,7 @@ def __init__(self):
self.parseFile()
def loadFile(self):
- path = os.path.join(CWD, "../../userdata/RssFeeds.xml")
+ path = xbmc.translatePath( "special://profile/RssFeeds.xml" )
try:
f = open(path)
except IOError:
Binary file not shown.
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.rssclient-standalone"
name="RSS Client"
- version="1.0.4"
+ version="1.0.5"
provider-name="pieh">
<requires>
<import addon="xbmc.python" version="1.0"/>
@@ -41,10 +41,6 @@
includeHTMLsIMG = addon.getSetting('htmlimg') in ['true', 'True', 1]
imageCachingEnabled = addon.getSetting('imagecaching') in ['true', 'True', 1]
ui = None
-# Current Working Directory
-CWD = os.getcwd()
-if CWD[-1] == ';': CWD = CWD[0:-1]
-if CWD[-1] != '\\': CWD = CWD + '\\'
already_read = []
@@ -866,8 +862,8 @@ def run(self):
readstatusarchiver.Load(sets)
checkDir(xbmc.translatePath('special://masterprofile/Thumbnails/RSS'))
-
- ui = VideoGUI( "script-rssclient-standalone-main.xml", os.getcwd(), "default" )
+ path = addon.getAddonInfo('path')
+ ui = VideoGUI( "script-rssclient-standalone-main.xml", path, "default")
ui.selectBuiltin = selectBuiltin
ui.sets = sets
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.rssclient"
name="RSS Client Background"
- version="1.0.3"
+ version="1.0.4"
provider-name="pieh">
<requires>
<import addon="xbmc.python" version="1.0"/>
@@ -49,10 +49,6 @@
ID = -1
ui = None
-# Current Working Directory
-CWD = os.getcwd()
-if CWD[-1] == ';': CWD = CWD[0:-1]
-if CWD[-1] != '\\': CWD = CWD + '\\'
already_read = []
addon = xbmcaddon.Addon('script.rssclient')
Binary file not shown.

1 comment on commit 52eba91

phil65 commented on 52eba91 Jan 3, 2013

@pieh this add-on is just awesome in combination with yahoo rss pipes. are there any plans to get this to the repo somewhen? would be great.
cheers

Please sign in to comment.