SHOUTcast service

Amarok 2.x Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

12
Become a Fan
6.1

Description:
this is a simple SHOUTcast service, it trys to replace the default shoutcast service that is not included in amarok anymore (talking about amarok 2.2.1 andy few older versions )


you can browse genres and search for stations

for any suggestions and/or bugs (bug fixes preferred ) send me an email


hope you like it!
-update 2.11
another temporary solution

-update 2.1
changed url for fetching the results, I hope this time it's gonna last longer..

-update 2.0
it was time to get searching working again!
here are the changes:

- searching via amarok's fiter
- specify wanted bitrate while searching: add 'br=192' to the query for stations with bitrate 192; e.g. 'house br=192'
- added shoutcast's top500 stations at the top of the ganres (you can limit number of fetched stations in preferences)
- preselected list of common genres (instead of showing all 300+ of them); this can be changed in preferences
- preferences
- set limit of fetched stations when browsing, searching and for Top500 (shoutcast's top stations)
- make a list of your preferred genes by enabling/disabling them

note: there might be some issues with fetching and displaying stations if you have less than 6 genres selected, so make sure, you select at least 6 of them!


-update 1.01
a really small update, script stopped working because shoutcast urls were changed. Thanks to a-glazachev's comment I hadn't even have to look them up

[strike]note: search had to be implemented in that way because i couldn't get the amarok's filter option to work properly...[/strike]

Ratings & Comments

48 Comments

stamens49

8 8 great genial me funciono amarok 2.9

dagnygren

Cannot get this working in 2.6 either

cotko

Hi, I just tested it, I'm on archlinux with kde 4.9 and Amarok 2.6 and it works; both expanding stations and searching. The only thing is that it takes some time to get the results, sometimes up to 3 sec, but I can not do much here.

dagnygren

Self compiled 4.9.2 and Amarok 2.6 here. No shoutcast entries show up any more. Worked fine with an older Amarok about 6 months ago though?

zilti

The script is completely broken as of now...

cotko

Hi, thanks for notice, I'll look into it today/tomorrow

lemmy04

The "tralala" service does not even show up under internet services anymore... amarok 2.5 here

lemmy04

once i installed the qt4-qtscript bindings it works... amarok needs a dependency on that 0.o

cotko

Ok, I just tested it in wondows version, its Amarok 2.4 and the script works without problem. Is it working for you too? Maybe shoutcast was down or had some problems..

TomaszFalkowski

It's broken only on new amarok 2.5

rrpenalva

Hi, Thanks a lot for this script! It works flawless. I would just appreciate if would be possible to insert a column to display listeners count in the list of stations. Thanks rodrigo

cotko

Hi, ok, I will add this on next update. For now, you can see this information in amarok's "info panel" (where you can see lyrics, track info, ... - see screenshots :))

rrpenalva

Thanks for your fast reply and your effort to develop it!

komodo169

Works perfectly!! Endless supply of music via ShoutCast - tralala. ;-) Installed on Amarok Version 2.4.0 Using KDE 4.6.2 (4.6.2) Thanks!

terryDenver

116823-shoutcast_service_2.11.amarokscript.tar.bz2 It is working very well. THXS and Happy New Year!

koko2k

It doesn't work anymore for me: <?xml version="1.0" encoding="UTF-8"?> <response><statusCode>441</statusCode><statusText>devId or k usage limit reached</statusText><statusDetailText>USAGE_LIMIT</statusDetailText></response>

ramonesfan

gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now ;((( can't open it.....

cotko

hi, i just tried to open it and it works. you can install it via amarok: tools-script manager- install new- get new scripts- search for soutcast and install it

ramonesfan

Thank you. It works!

rusmadtux

"Error getting the stations for genre....." :( in file ~/.kde/share/apps/amarok/scripts/shoutcast_service/SHcast.js - http://yp.shoutcast.com/sbin/newxml.phtml + http://api.shoutcast.com/legacy/genrelist?k=so1N15vhCB78Z6k4&

cotko

I just updated the script with that exact patch and then I saw this comment :D

rusmadtux

Oh... new trouble... <response> <statusCode> 441 </statusCode> <statusText> devId or k usage limit reached </statusText> <statusDetailText> USAGE_LIMIT </statusDetailText> </response> use in url &limit=.. of range 1-100 don't halp need use new k value but i don't known what is API Dev ID http://dev.aol.com/SHOUTcast/documentation PS: sorry for my english

cotko

Hi, the problem is that shoutcast changed their policy about accessing and searching the lists of stations. Application must get its key in order to get the results and to get the key, developer has to agree to some shoutcast's terms and requests (like displaying adds and other things). That's why Amarok, VLC and others dropped their integrated shoutcast services. The key currently used in this script (since 2.1 update) was posted by some friendly user but it seems it was banned by the shoutcast. There is some other way I could make this script work; I wanted to do it that way but I couldn't because there are two bugs in Qt's qtscript bindings: [url]http://code.google.com/p/qtscriptgenerator/issues/detail?id=65 [/url] and [url]http://code.google.com/p/qtscriptgenerator/issues/detail?id=75 [/url] so currently there is not much I can do besides asking developers to fix those bugs.

slsimic

Worked fine when first install it... Now I get error when click on some genre or making search?!?

cotko

Yes, I know, the link where stations and genres are listed currently doesn't work: http://yp.shoutcast.com/sbin/newxml.phtml (the list is empty) I hope this is just temporarily but last year they were saying they were gonna do this (cut us off :S). If that's the case, I'll have to find another stations list source.. I'll wait a few days in hope it starts working again

Pling
0 Affiliates
Details
license
version 2.11
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Amarok 2.x Scripts:

raya
raya1234
last update date: 15 years ago

Score 5.0

Partition Assistant
shiny521
last update date: 15 years ago

Score 5.0

google-clone
jenifferhomes
last update date: 15 years ago

Score 5.6

Quran Audio Library
boubakr92
last update date: 12 years ago

Score 4.4

Remove Current Track
alexoleshkevich
last update date: 14 years ago

Score 4.7

indoLyrics
cyrus007
last update date: 14 years ago

Score 4.7



System Tags