SHOUTcast service

Amarok 2.x Scripts

Source (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
Score 60.8%
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 :D) 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 :)

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

dagnygren

7 years ago

Cannot get this working in 2.6 either

Report

C

cotko

7 years ago

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.

Report

dagnygren

7 years ago

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?

Report

zilti

7 years ago

The script is completely broken as of now...

Report

C

cotko

7 years ago

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..

Report

TomaszFalkowski

7 years ago

It's broken only on new amarok 2.5

Report

C

cotko

7 years ago

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

Report

lemmy04

7 years ago

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

Report

lemmy04

7 years ago

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

Report

rrpenalva

8 years ago

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

Report

C

cotko

8 years ago

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 :))

Report

rrpenalva

8 years ago

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

Report

komodo169

8 years ago

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!

Report

terryDenver

8 years ago

116823-shoutcast_service_2.11.amarokscript.tar.bz2

It is working very well.

THXS and Happy New Year!

Report

koko2k

8 years ago

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>

Report

ramonesfan

8 years ago

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

;((( can't open it.....

Report

C

cotko

8 years ago

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

Report

ramonesfan

8 years ago

Thank you. It works!

Report

rusmadtux

8 years ago

"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&

Report

C

cotko

8 years ago

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

Report

rusmadtux

8 years ago

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

Report

C

cotko

8 years ago

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.

Report

slsimic

8 years ago

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

Report

C

cotko

8 years ago

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

Report

terryDenver

8 years ago

Seems everything is working very well again.

Great script!!

Report

12345678910
911
product-maker hello98 Nov 05 2013 3 bad
product-maker mea5 Nov 05 2013 3 bad
product-maker futurama88 Mar 18 2012 9 excellent
product-maker irekc May 16 2011 9 excellent
product-maker delande Apr 20 2011 9 excellent
product-maker SirDodger Apr 07 2011 9 excellent
product-maker gbschenkel Mar 15 2011 9 excellent
product-maker bofhorg Mar 08 2011 9 excellent
product-maker pathfinder1010 Jan 30 2011 3 bad
product-maker tweetiepooh Jan 26 2011 3 bad
product-maker Vzlom Jan 07 2011 9 excellent
product-maker aminesay Jan 01 2011 3 bad
product-maker sefran Dec 29 2010 3 bad
product-maker ashley194 Dec 27 2010 9 excellent
product-maker terryDenver Dec 21 2010 9 excellent
product-maker merlin145160 Dec 21 2010 3 bad
product-maker jaxxed Dec 13 2010 9 excellent
product-maker a-glazachev Oct 30 2010 9 excellent
product-maker marcocingolani Oct 22 2010 3 bad
product-maker WarpCoil Oct 16 2010 3 bad
product-maker Base: 4 x 5.0 Ratings
terryDenver
Jan 07 2011
sefran
Dec 12 2010
WarpCoil
Oct 16 2010
toscalix
Aug 27 2010
Lole
Jul 20 2010
KFreakz
Jul 17 2010
cjann
Feb 14 2010
matejv
Jan 26 2010
LenardKoen
Jan 17 2010
mtadeunet
Dec 13 2009
littlebear2
Dec 11 2009
pedrolopex5
Dec 10 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
2.11
updated Jan 03 2011
added Dec 09 2009
downloads 24h
0
page views 24h 6
System Tags addon