
SHOUTcast service
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
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 :)
[strike]note: search had to be implemented in that way because i couldn't get the amarok's filter option to work properly...[/strike]
dagnygren
8 years ago
Report
cotko
8 years ago
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
8 years ago
Report
zilti
9 years ago
Report
cotko
9 years ago
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
9 years ago
Report
cotko
9 years ago
thanks for notice, I'll look into it today/tomorrow
Report
lemmy04
8 years ago
Report
lemmy04
8 years ago
Report
rrpenalva
9 years ago
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
cotko
9 years ago
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
9 years ago
Report
komodo169
9 years ago
Installed on Amarok
Version 2.4.0
Using KDE 4.6.2 (4.6.2)
Thanks!
Report
terryDenver
10 years ago
It is working very well.
THXS and Happy New Year!
Report
koko2k
10 years ago
<?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
10 years ago
tar: Child returned status 1
tar: Error is not recoverable: exiting now
;((( can't open it.....
Report
cotko
10 years ago
you can install it via amarok: tools-script manager- install new- get new scripts- search for soutcast and install it
Report
ramonesfan
10 years ago
Report
rusmadtux
10 years ago
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
cotko
10 years ago
Report
rusmadtux
10 years ago
<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
cotko
10 years ago
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
10 years ago
Now I get error when click on some genre or making search?!?
Report
cotko
10 years ago
(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
10 years ago
Great script!!
Report