The branch, dharma has been updated
via d9256152d9db6309a442c99bb62e0fdae877045d (commit)
from 4eb7d99a37e97cd8af1c3be4eb872f6bbb203f95 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=d9256152d9db6309a442c99bb62e0fdae877045d
commit d9256152d9db6309a442c99bb62e0fdae877045d
Author: spiff <[email protected]>
Date: Mon Feb 27 10:11:44 2012 +0100
[plugin.audio.radio_de] updated to version 0.0.5
diff --git a/plugin.audio.radio_de/addon.xml b/plugin.audio.radio_de/addon.xml
index e74dc7a..7df8044 100644
--- a/plugin.audio.radio_de/addon.xml
+++ b/plugin.audio.radio_de/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.audio.radio_de" name="Radio" version="0.0.4"
provider-name="Tristan Fischer ([email protected])">
+<addon id="plugin.audio.radio_de" name="Radio" version="0.0.5"
provider-name="Tristan Fischer ([email protected])">
<requires>
<import addon="xbmc.python" version="1.0"/>
<import addon="script.module.simplejson" version="2.0.10"/>
diff --git a/plugin.audio.radio_de/changelog.txt
b/plugin.audio.radio_de/changelog.txt
index a0c57c6..5fe5169 100644
--- a/plugin.audio.radio_de/changelog.txt
+++ b/plugin.audio.radio_de/changelog.txt
@@ -1,3 +1,6 @@
+0.0.5 (26.02.2012)
+ - Fixed .m3u playlists with empty lines (thx to Malte_Schroeder)
+
0.0.4 (18.02.2012)
- Fixed python <2.5 error
- Added french translation (thx to stombi)
diff --git a/plugin.audio.radio_de/resources/lib/scraper.py
b/plugin.audio.radio_de/resources/lib/scraper.py
index 45db250..f95fa04 100644
--- a/plugin.audio.radio_de/resources/lib/scraper.py
+++ b/plugin.audio.radio_de/resources/lib/scraper.py
@@ -148,8 +148,8 @@ def __resolve_playlist(playlist_url):
if playlist_url.endswith('m3u'):
__log('__resolve_playlist found .m3u file')
for entry in response.splitlines():
- if not entry.strip().startswith('#'):
- stream_url = entry
+ if entry and not entry.strip().startswith('#'):
+ stream_url = entry.strip()
break
elif playlist_url.endswith('pls'):
__log('__resolve_playlist found .pls file')
-----------------------------------------------------------------------
Summary of changes:
plugin.audio.radio_de/addon.xml | 2 +-
plugin.audio.radio_de/changelog.txt | 3 +++
plugin.audio.radio_de/resources/lib/scraper.py | 4 ++--
3 files changed, 6 insertions(+), 3 deletions(-)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
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