Closed GoogleCodeExporter closed 9 years ago
Try to right click on your station, then copy url (Copy URL menu item). Then
run Totem player, and put your url there.
Can you hear sound after this actions?
Original comment by kuznetsov.alexey
on 19 Dec 2010 at 11:07
I noticed now, no stations have loaded
Original comment by rtjhobb...@gmail.com
on 19 Dec 2010 at 7:58
i disabled then reenabled the plugin, i now have no genres showing
Original comment by rtjhobb...@gmail.com
on 19 Dec 2010 at 11:22
run this command from the console and show output here (or as an attachment):
# rhythmbox --rhythmdb-file=./database.xml -D shoutcast
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 3:51
I attached the output. Thanks for the help.
Original comment by rtjhobb...@gmail.com
on 20 Dec 2010 at 4:16
Attachments:
is it all?
i expect some python exception, not a rhythmbox asserts (it can be ok).
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 4:50
[deleted comment]
OK, tried again. I ran the program while the script was running and clicked
shoutcast
Original comment by rtjhobb...@gmail.com
on 20 Dec 2010 at 5:01
Attachments:
can you show me this genres.xml file from shoutcast server?
/home/dave/.cache/rhythmbox/shoutcast/genres.xml
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 5:04
I do not have that file there.
Original comment by rtjhobb...@gmail.com
on 20 Dec 2010 at 5:26
Can you see content of this URL:
http://yp.shoutcast.com/sbin/newxml.phtml
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 5:44
I see xml output, lots of genres. no style information found.
Original comment by rtjhobb...@gmail.com
on 20 Dec 2010 at 6:02
seems like shoutcast starts to feed new xml format... digging out..
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 6:27
Shoutcast servers block most clients from downloading from its servers:
# wget http://yp.shoutcast.com/sbin/newxml.phtml
python:
import gio
f=gio.File('http://yp.shoutcast.com/sbin/newxml.phtml')
f.read().read()
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 6:58
well, the first command says something resolved, but not sure what to do with
the rest of that. Shoutcast still empty atm
Original comment by rtjhobb...@gmail.com
on 20 Dec 2010 at 7:06
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 7:22
check content what you got by "wget" command - its empty.
it is shoutcast server problem / new restriction.
lets wait and see where they want to go...
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 7:24
even the fake agent code don't works:
import urllib
o=urllib.FancyURLopener({})
o.version="Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.13)
Gecko/20101203 Firefox/3.6.13 GTB7.1"
f=o.open("http://www.shoutcast.com/sbin/newxml.phtml")
print f.read()
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 7:25
http://www.shoutcastblog.com/2010/09/30/shoutcast-api-update/
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 9:43
Original comment by kuznetsov.alexey
on 20 Dec 2010 at 9:48
I did some updates to the code and got it working again!
One minor downside... you need a developer apikey from AOL. To me, this is a
minor inconvenience, but once setup seems to be working quite well.
I have attached instructions for getting the API key and plugging it into the
gconf editor, as well as a diff of the sourcecode.
Original comment by cdp1337@gmail.com
on 22 Dec 2010 at 4:12
Attachments:
thanks for contributions.
fixed in source.
Original comment by kuznetsov.alexey
on 22 Dec 2010 at 7:35
Original issue reported on code.google.com by
rtjhobb...@gmail.com
on 19 Dec 2010 at 9:36