[RELEASE] ListenLiveEU (Music) Plugin - European Radio Stations from listenlive.eu

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
HiPPoNaX Offline
Junior Member
Posts: 2
Joined: Jan 2009
Reputation: 0
Post: #11
Hi,
It seems I found a little annoying bug Smile I'm running xbmc on ubuntu linux and I can't use this plugin. When I select a country or a genre, a messagebox pops up:
Code:
Getstreams()

Error!
U'\XE9'
I think it's some sort of character coding issue (maybe foreign characters in station names? for example U'\XE9' is "é" as i know), can you fix it please?
find quote
Bootsy Offline
Skilled Python Coder
Posts: 126
Joined: Nov 2005
Reputation: 1
Location: Germany
Post: #12
hey,
will take a look at it asap Smile

what country/genre for example?

greets
(This post was last modified: 2009-07-09 00:51 by Bootsy.)
find quote
HiPPoNaX Offline
Junior Member
Posts: 2
Joined: Jan 2009
Reputation: 0
Post: #13
Bootsy Wrote:what country/genre for example?
For example, Greece is okay, but Hungary and Iceland isn't. Thanks Smile

edit:
I tried your plugin on windows with no errors, so I think it's some linux-specific character coding issue.
(This post was last modified: 2009-07-09 14:58 by HiPPoNaX.)
find quote
Bootsy Offline
Skilled Python Coder
Posts: 126
Joined: Nov 2005
Reputation: 1
Location: Germany
Post: #14
heya,
made an update, cuz there was a prob with some streamrates...
update via svn repo installer.

had no probs with special charakters on my pc and/or on my xbox build, like you said...

it´s a xbmc problem...i guess you have to wait until the devs solve this prob.


greets,
bootsy
(This post was last modified: 2009-07-14 16:28 by Bootsy.)
find quote
mvdaat Offline
Member
Posts: 50
Joined: Sep 2006
Reputation: 0
Post: #15
Also having problems on xmbc on ubuntu
Hope it will be fixed soon

But nice script anyway!
find quote
DarkHelmet Offline
Senior Member
Posts: 297
Joined: Jul 2008
Reputation: 0
Location: Hamburg, Germany
Post: #16
This is a brilliant plugin. Thanks so much.
find quote
asg0noir Offline
Junior Member
Posts: 11
Joined: Aug 2009
Reputation: 0
Post: #17
for some reason it doesnt seem to work with the "DR ***" channels in denmark:
http://www.listenlive.eu/denmark.html

they work and are running but in XBMC it just hangs until it prompts that there were too many consecutive errors.

Any solution?

the same thing happens when i try directly with the stream link though:
http://wmscr1.dr.dk/e02ch03m?wmcontentbi...WMExt=.asf

By stream link i mean adding the url to a .STRM file and playing it in XBMC.
(This post was last modified: 2009-08-23 14:02 by asg0noir.)
find quote
Bootsy Offline
Skilled Python Coder
Posts: 126
Joined: Nov 2005
Reputation: 1
Location: Germany
Post: #18
@DarkHelmet:
gern geschehen Wink

asg0noir Wrote:the same thing happens when i try directly with the stream link though:
http://wmscr1.dr.dk/e02ch03m?wmcontentbi...WMExt=.asf

By stream link i mean adding the url to a .STRM file and playing it in XBMC.

then it´s a xbmc problem and i cant help you Sad
find quote
cjulio Offline
Junior Member
Posts: 16
Joined: Jan 2009
Reputation: 0
Post: #19
i have instaled it and it is working...

can anyone help geting it to open directly from menu:
i have tryed:
xbmc.activatewindow(Music,plugin://music/ListenLiveEU/default.py)

and it opens the music screen but not the plugin directly...

and by the way how do i set it to go also directly to a country

ps: sorry for my english Nerd
find quote
m_jonsson Offline
Junior Member
Posts: 2
Joined: Sep 2009
Reputation: 0
Post: #20
Bootsy Wrote:@DarkHelmet:
gern geschehen Wink



then it´s a xbmc problem and i cant help you Sad

If you try this patch it might work (works for me on Mac OS X):
ListenLiveEU$ diff -Nru default.py.org default.py
--- default.py.org 2009-09-11 22:14:08.000000000 +0200
+++ default.py 2009-09-12 00:16:21.000000000 +0200
@@ -242,7 +242,7 @@
infoLabels = {"Title": name }

liz.setInfo( infoType, infoLabels )
- u = "%s?url=%s&mode=%s&name=%s" % (sys.argv[0], urllib.quote_plus(url), mode, urllib.quote_plus(name), )
+ u = "%s?url=%s&mode=%s&name=%s" % (sys.argv[0], urllib.quote_plus(url), mode, urllib.quote_plus(name.encode('utf-8')), )
log("%s" % u)
return xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz,isFolder=isFolder)



I.e. add utf-8 encoding to the name (title) string.
(This post was last modified: 2009-09-12 00:28 by m_jonsson.)
find quote
Post Reply