On Thu, Feb 2, 2012 at 10:33 PM, Rob Weber <[email protected]> wrote:
> *addon - service.libraryautoupdate
> *version - 0.4.2
> *url - http://xbmclibraryautoupdate.googlecode.com/svn/trunk/
> *revision - 16
> *branch - trunk
> *xbmc version - eden-pre
updated. see attached. should use the function,
the path might change at some point.
diff --git a/service.libraryautoupdate/service.py b/service.libraryautoupdate/service.py
index fd018db..274f5aa 100644
--- a/service.libraryautoupdate/service.py
+++ b/service.libraryautoupdate/service.py
@@ -5,7 +5,7 @@ import xbmcaddon
class AutoUpdater:
addon_id = "service.libraryautoupdate"
Addon = xbmcaddon.Addon(addon_id)
- datadir = "special://userdata/addon_data/" + addon_id + "/"
+ datadir = addon.getAddonInfo('profile')
def runProgram(self):
#setup the timer amounts
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons