The branch, frodo has been updated
via 77936b8f963c0295082f87e533f01cc9e0505d78 (commit)
via 3829ad0b92341b4fe32a850f5834c0b389600e10 (commit)
from 1ff354437d2e4364265013903e8603ce2a0eb018 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=77936b8f963c0295082f87e533f01cc9e0505d78
commit 77936b8f963c0295082f87e533f01cc9e0505d78
Author: beenje <[email protected]>
Date: Mon Aug 26 20:46:05 2013 +0200
[plugin.audio.groove] updated to version 2.0.4
diff --git a/plugin.audio.groove/addon.xml b/plugin.audio.groove/addon.xml
index 84678e2..a45509e 100644
--- a/plugin.audio.groove/addon.xml
+++ b/plugin.audio.groove/addon.xml
@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.audio.groove" name="Grooveshark XBMC"
- version="2.0.3" provider-name="Stephen Denham">
+ version="2.0.4" provider-name="Stephen Denham">
<requires>
<import addon="xbmc.python" version="2.1.0" />
<import addon="script.module.simplejson"/>
@@ -15,6 +15,11 @@
<description lang="en">
Grooveshark addon for XBMC. You should enter your
Grooveshark Anywhere username and password in the addon settings.
</description>
+ <license>GNU GENERAL PUBLIC LICENSE. Version 2, June
1991</license>
+ <email>stephen dot denham at gmail dot com</email>
+ <website>https://sourceforge.net/projects/xbmc-groove/</website>
+ <forum>http://forum.xbmc.org/showthread.php?tid=88235</forum>
+ <source>svn://svn.code.sf.net/p/xbmc-groove/code/</source>
</extension>
</addon>
diff --git a/plugin.audio.groove/changelog.txt
b/plugin.audio.groove/changelog.txt
index 9e3cc11..d072a27 100644
--- a/plugin.audio.groove/changelog.txt
+++ b/plugin.audio.groove/changelog.txt
@@ -1,3 +1,7 @@
+2.0.4
+
+Fix character encodings.
+
2.0.3
Python coding bug fixes.
diff --git a/plugin.audio.groove/resources/lib/GroovesharkAPI.py
b/plugin.audio.groove/resources/lib/GroovesharkAPI.py
index 2a164df..9b8feda 100644
--- a/plugin.audio.groove/resources/lib/GroovesharkAPI.py
+++ b/plugin.audio.groove/resources/lib/GroovesharkAPI.py
@@ -312,7 +312,7 @@ class GrooveAPI:
if 'result' in result and 'SongID' in result['result']:
info = result['result']
if 'CoverArtFilename' in info and
info['CoverArtFilename'] != None:
- info['CoverArtFilename'] =
THUMB_URL+info['CoverArtFilename'].encode('ascii', 'ignore')
+ info['CoverArtFilename'] =
THUMB_URL+info['CoverArtFilename'].encode('utf8', 'ignore')
else:
info['CoverArtFilename'] = 'None'
return info
@@ -401,7 +401,7 @@ class GrooveAPI:
artists = items['result']['artists']
while(i < len(artists)):
s = artists[i]
-
itemList.append([s['artistName'].encode('ascii', 'ignore'),\
+ itemList.append([s['artistName'].encode('utf8',
'ignore'),\
s['artistID']])
i = i + 1
return itemList
@@ -481,18 +481,22 @@ class GrooveAPI:
info = self.getSongsInfo(s['SongID'])
coverart = info['CoverArtFilename']
elif s['CoverArtFilename'] != None:
- coverart =
THUMB_URL+s['CoverArtFilename'].encode('ascii', 'ignore')
+ coverart =
THUMB_URL+s['CoverArtFilename'].encode('utf8', 'ignore')
else:
coverart = 'None'
if 'Name' in s:
name = s['Name']
else:
name = s['SongName']
- itemList.append([name.encode('ascii',
'ignore'),\
+ if 'AlbumName' in s:
+ albumName = s['AlbumName']
+ else:
+ albumName = ""
+ itemList.append([name.encode('utf8', 'ignore'),\
s['SongID'],\
- name,\
+ albumName.encode('utf8', 'ignore'),\
s['AlbumID'],\
- s['ArtistName'].encode('ascii', 'ignore'),\
+ s['ArtistName'].encode('utf8', 'ignore'),\
s['ArtistID'],\
coverart])
i = i + 1
@@ -508,7 +512,7 @@ class GrooveAPI:
artists = items['result']['artists']
while(i < len(artists)):
s = artists[i]
-
itemList.append([s['ArtistName'].encode('ascii', 'ignore'),\
+ itemList.append([s['ArtistName'].encode('utf8',
'ignore'),\
s['ArtistID']])
i = i + 1
return itemList
@@ -531,14 +535,14 @@ class GrooveAPI:
while(i < l):
s = albums[i]
if 'Name' in s:
- name = s['Name'].encode('ascii',
'ignore')
+ name = s['Name'].encode('utf8',
'ignore')
else:
- name = s['AlbumName'].encode('ascii',
'ignore')
+ name = s['AlbumName'].encode('utf8',
'ignore')
if 'CoverArtFilename' in s and
s['CoverArtFilename'] != None:
- coverart =
THUMB_URL+s['CoverArtFilename'].encode('ascii', 'ignore')
+ coverart =
THUMB_URL+s['CoverArtFilename'].encode('utf8', 'ignore')
else:
coverart = 'None'
-
itemList.append([s['ArtistName'].encode('ascii', 'ignore'),\
+ itemList.append([s['ArtistName'].encode('utf8',
'ignore'),\
s['ArtistID'],\
name,\
s['AlbumID'],\
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=3829ad0b92341b4fe32a850f5834c0b389600e10
commit 3829ad0b92341b4fe32a850f5834c0b389600e10
Author: beenje <[email protected]>
Date: Mon Aug 26 20:45:10 2013 +0200
[plugin.video.thenewboston] updated to version 1.0.4
diff --git a/plugin.video.thenewboston/README.markdown
b/plugin.video.thenewboston/README.markdown
old mode 100644
new mode 100755
index 89b16df..3e2e8dc
--- a/plugin.video.thenewboston/README.markdown
+++ b/plugin.video.thenewboston/README.markdown
@@ -6,7 +6,11 @@ Watch videos on XBMC from TheNewBoston
Setup/Installation
=======================
-Install through System > Add-ons > Install from zip file > then open the zip
file you downloaded
+Plugin available through official repo. Installation info available
[here](http://wiki.xbmc.org/index.php?title=Add-ons).
+
+XBMC Version
+============
+Eden/Frodo
License
======================
diff --git a/plugin.video.thenewboston/addon.xml
b/plugin.video.thenewboston/addon.xml
index a94f3c7..ed705ba 100644
--- a/plugin.video.thenewboston/addon.xml
+++ b/plugin.video.thenewboston/addon.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.video.thenewboston" version="1.0.3" name="TheNewBoston"
provider-name="lextoumbourou">
+<addon id="plugin.video.thenewboston" version="1.0.4" name="TheNewBoston"
provider-name="Lex Toumbourou (lexandstuff)">
<requires>
- <import addon="xbmc.python" version="2.0" />
- <import addon="script.module.beautifulsoup" version="3.2" />
+ <import addon="xbmc.python" version="2.1.0" />
+ <import addon="script.module.beautifulsoup" version="3.2.0" />
<import addon="plugin.video.youtube" version="3.1.0" />
</requires>
<extension point="xbmc.python.pluginsource" library="default.py">
@@ -13,5 +13,7 @@
<platform>all</platform>
<summary lang="en">Browse and watch videos from The New
Boston</summary>
<description lang="en">Free Educational Video Tutorials on Computer
Programming, Adobe Software, Computer Science and More!</description>
+ <license>MIT</license>
+
<website>http://github.com/lextoumbourou/plugin.video.thenewboston</website>
</extension>
</addon>
diff --git a/plugin.video.thenewboston/default.py
b/plugin.video.thenewboston/default.py
old mode 100644
new mode 100755
diff --git a/plugin.video.thenewboston/fanart.jpg
b/plugin.video.thenewboston/fanart.jpg
index 5ec8b86..041fcdf 100644
Binary files a/plugin.video.thenewboston/fanart.jpg and
b/plugin.video.thenewboston/fanart.jpg differ
diff --git a/plugin.video.thenewboston/resources/__init__.py
b/plugin.video.thenewboston/resources/__init__.py
old mode 100644
new mode 100755
diff --git a/plugin.video.thenewboston/resources/lib/__init__.py
b/plugin.video.thenewboston/resources/lib/__init__.py
old mode 100644
new mode 100755
diff --git a/plugin.video.thenewboston/resources/lib/scraper.py
b/plugin.video.thenewboston/resources/lib/scraper.py
old mode 100644
new mode 100755
index cd91e81..a1ff201
--- a/plugin.video.thenewboston/resources/lib/scraper.py
+++ b/plugin.video.thenewboston/resources/lib/scraper.py
@@ -39,8 +39,9 @@ def get_topics(html, title):
soup = BeautifulSoup(str(html))
categories = soup.findAll('hgroup')
for category in categories:
- if category.h1.string == title:
+ if category.h1.string == urllib.unquote(title):
topics = category.findNext('ul').findAll('li')
+ break
for topic in topics:
title_info = topic.a.string
diff --git a/plugin.video.thenewboston/resources/lib/utils.py
b/plugin.video.thenewboston/resources/lib/utils.py
old mode 100644
new mode 100755
-----------------------------------------------------------------------
Summary of changes:
plugin.audio.groove/addon.xml | 9 +++++-
plugin.audio.groove/changelog.txt | 4 +++
.../resources/lib/GroovesharkAPI.py | 26 +++++++++++--------
plugin.video.thenewboston/.gitignore | 2 -
plugin.video.thenewboston/README.markdown | 6 ++++-
plugin.video.thenewboston/addon.xml | 8 ++++--
plugin.video.thenewboston/changelog.txt | 2 +
plugin.video.thenewboston/fanart.jpg | Bin 90701 -> 83541 bytes
plugin.video.thenewboston/resources/lib/scraper.py | 3 +-
9 files changed, 40 insertions(+), 20 deletions(-)
delete mode 100644 plugin.video.thenewboston/.gitignore
mode change 100644 => 100755 plugin.video.thenewboston/README.markdown
create mode 100644 plugin.video.thenewboston/changelog.txt
mode change 100644 => 100755 plugin.video.thenewboston/default.py
mode change 100644 => 100755 plugin.video.thenewboston/resources/__init__.py
mode change 100644 => 100755
plugin.video.thenewboston/resources/lib/__init__.py
mode change 100644 => 100755 plugin.video.thenewboston/resources/lib/scraper.py
mode change 100644 => 100755 plugin.video.thenewboston/resources/lib/utils.py
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons