The branch, eden has been updated
via 3c1ffdd006e1c10e50757bd7e1959cbd8f123a0b (commit)
from fdd01aa4dbed99e02280d877cb383268bd63e5c9 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=3c1ffdd006e1c10e50757bd7e1959cbd8f123a0b
commit 3c1ffdd006e1c10e50757bd7e1959cbd8f123a0b
Author: ronie <[email protected]>
Date: Wed Apr 11 22:41:50 2012 +0200
[script.tvtunes] -v1.0.18
fix path creation when pathsubstitution is used
diff --git a/script.tvtunes/addon.xml b/script.tvtunes/addon.xml
index fce4255..11dc6dc 100644
--- a/script.tvtunes/addon.xml
+++ b/script.tvtunes/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.tvtunes"
name="TvTunes"
- version="1.0.17"
+ version="1.0.18"
provider-name="Ppic, ronie">
<requires>
<import addon="xbmc.python" version="2.0"/>
diff --git a/script.tvtunes/changelog.txt b/script.tvtunes/changelog.txt
index a2f9065..9fc56d9 100644
--- a/script.tvtunes/changelog.txt
+++ b/script.tvtunes/changelog.txt
@@ -1,3 +1,6 @@
+v1.0.18
+- fix path creation when pathsubstitution is used
+
v1.0.17
- use title instead of label
diff --git a/script.tvtunes/resources/tvtunes_scraper.py
b/script.tvtunes/resources/tvtunes_scraper.py
index bcfe685..aee0d57 100644
--- a/script.tvtunes/resources/tvtunes_scraper.py
+++ b/script.tvtunes/resources/tvtunes_scraper.py
@@ -67,8 +67,10 @@ def get_html_source( url , save=False):
class TvTunes:
def __init__(self):
+ if not xbmcvfs.exists( xbmc.translatePath(
'special://profile/addon_data/%s' % __addonid__ ) ):
+ xbmcvfs.mkdir( xbmc.translatePath(
'special://profile/addon_data/%s' % __addonid__ ) )
if not xbmcvfs.exists( xbmc.translatePath(
'special://profile/addon_data/%s/temp' % __addonid__ ) ):
- os.makedirs( xbmc.translatePath(
'special://profile/addon_data/%s/temp' % __addonid__ ) )
+ xbmcvfs.mkdir( xbmc.translatePath(
'special://profile/addon_data/%s/temp' % __addonid__ ) )
self.search_url =
"http://www.televisiontunes.com/search.php?searWords=%s&Send=Search"
self.download_url = "http://www.televisiontunes.com/download.php?f=%s"
self.theme_file = "theme.mp3"
-----------------------------------------------------------------------
Summary of changes:
script.tvtunes/addon.xml | 2 +-
script.tvtunes/changelog.txt | 3 +++
script.tvtunes/resources/tvtunes_scraper.py | 4 +++-
3 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons