The branch, eden has been updated
       via  d66b6dc6564230fd75d75f42b262e985849606d4 (commit)
      from  1d92d5312ad6c0b241ea0c6c4a5a3b30f26ccc44 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=d66b6dc6564230fd75d75f42b262e985849606d4

commit d66b6dc6564230fd75d75f42b262e985849606d4
Author: Martijn Kaijser <[email protected]>
Date:   Mon Jan 21 14:53:58 2013 +0100

    [script.image.lastfm.slideshow] -1.0.1

diff --git a/script.image.lastfm.slideshow/addon.xml 
b/script.image.lastfm.slideshow/addon.xml
index 5a1d837..cb428d7 100644
--- a/script.image.lastfm.slideshow/addon.xml
+++ b/script.image.lastfm.slideshow/addon.xml
@@ -1,20 +1,19 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.image.lastfm.slideshow"
        name="Last.FM - SlideShow"
-       version="1.0.0"
+       version="1.0.1"
        provider-name="divingmule">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
-       <import addon="script.module.beautifulsoup" version="3.0.8"/>
+    <import addon="script.module.beautifulsoup" version="3.0.8"/>
   </requires>
 
-  <extension point="xbmc.python.script"
-            library="default.py">
-        <provides>image</provides>
+  <extension point="xbmc.python.script" library="default.py">
+    <provides>image</provides>
   </extension>
   <extension point="xbmc.addon.metadata">
     <summary>Plays a slide show of the currently playing artist.</summary>
     <description>While playing music, this addon will start a slideshow of 
images from Last.FM, of the current artist. Tip: Pressing "i" during a 
slideshow will show the music player info.</description>
-       <platform>all</platform>
+    <platform>all</platform>
   </extension>
 </addon>
\ No newline at end of file
diff --git a/script.image.lastfm.slideshow/changelog.txt 
b/script.image.lastfm.slideshow/changelog.txt
index 55bd019..5dca6e3 100644
--- a/script.image.lastfm.slideshow/changelog.txt
+++ b/script.image.lastfm.slideshow/changelog.txt
@@ -1,3 +1,6 @@
+Version 1.0.1
+fix new api key
+
 Version 1.0.0
 new for Eden
 added support for radio streams that supply the artist name in the title
diff --git a/script.image.lastfm.slideshow/default.py 
b/script.image.lastfm.slideshow/default.py
index 4f77c3b..7a3a208 100644
--- a/script.image.lastfm.slideshow/default.py
+++ b/script.image.lastfm.slideshow/default.py
@@ -73,7 +73,7 @@ def add_playlist(images):
 def start_slideshow(name):
         
xbmc.executebuiltin("XBMC.Notification("+__language__(30000)+","+__language__(30004)+name+",5000,"+icon+")")
         u_name = name.replace(' & ',' 
').replace(',','').replace('(','').replace(' ) ','').replace(' ','+')
-        url = 
'http://ws.audioscrobbler.com/2.0/?method=artist.getimages&artist='+u_name+'&autocorrect=1&api_key=71e468a84c1f40d4991ddccc46e40f1b'
+        url = 
'http://ws.audioscrobbler.com/2.0/?method=artist.getimages&artist='+u_name+'&autocorrect=1&api_key=1dda8497b435d2597823613e480fc860'
         try:
             req = urllib2.Request(url)
             response = urllib2.urlopen(req)
@@ -87,7 +87,7 @@ def start_slideshow(name):
             if hasattr(e, 'code'):
                 print 'We failed with error code - %s.' % e.code
             
xbmc.executebuiltin("XBMC.Notification("+__language__(30000)+","+__language__(30003)+",10000,"+icon+")")
-            return
+            return clear_slideshow()
         soup = BeautifulStoneSoup(link)
         images = soup('image')
         print 'Images = '+ str(len(images))

-----------------------------------------------------------------------

Summary of changes:
 script.image.lastfm.slideshow/addon.xml     |   11 +++++------
 script.image.lastfm.slideshow/changelog.txt |    3 +++
 script.image.lastfm.slideshow/default.py    |    4 ++--
 3 files changed, 10 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to