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

cotko

9 years ago

Good!! :D
I already started searching for other sources (and found some so if shoutcast decides to remove this one, I have a backup :))

Report

realnc

9 years ago

The real shoutcast browser (http or in WinAmp) also have bitrate information. That way I can tell which stations are higher quality. Is it possible for this script to also show the stream bitrate?

Report

C

cotko

9 years ago

hi,
the script shows info about the song it is/was playing, station name, genre, nr. of listeners and bitrate :D
it's shown in info pane (one of the 'applets' like lyrics, youtube and other stuff) when you click on a certain station.

Report

alexxx

9 years ago

thank you for the wonderful app, it made my Amarok experience a lot better...

A question: since the radio station list is HUGE, there is a way in Amarok once I find one station I really like to save it in some more visible way?

I know the question could be a bit more Amarok-related, but nevertheless...

thanks again!


alessandro

Report

C

cotko

9 years ago

good idea, I'll take it into account next time.. I'll try to make search work again in next release (2.3.2 or whatever it will be) and also make some "preferred stations" entry or sth..

however, for now you can either
create a playlist of your of preferred stations
or bookmark your station (like you can bookmark any other songs / song positions etc..)

Report

nicotine

9 years ago

Hi. Sometimes, when I open this service in Amarok, it shows the blank list and search window:
http://img149.imageshack.us/img149/7307/149a.png
If I'll close it, Amarok shows blank list:
http://img10.imageshack.us/img10/9361/150u.png
If I'll enter a search query, it shows an error message:
http://img715.imageshack.us/img715/9885/151x.png

Amarok 2.3.1-GIT

Report

alexxxm

9 years ago

confirm this,
Amarok 2.3.1

this script is not working anymore


alessamdro

Report

9

a-glazachev

9 years ago

Shoutcast url was changed.

To fix, just update file /home/andy/.kde/share/apps/amarok/scripts/shoutcast_service/SHcast.js

replace strings
<<
queryUrl: "http://classic.shoutcast.com/sbin/newxml.phtml",
stationUrl: "http://classic.shoutcast.com/sbin/tunein-station.pls?id=",
>>

with

<<
queryUrl: "http://yp.shoutcast.com/sbin/newxml.phtml",
stationUrl: "http://yp.shoutcast.com/sbin/tunein-station.pls?id=",
>>

Report

alexxxm

9 years ago

worked perfectly, thank you!


alessandro

Report

9

a-glazachev

9 years ago

Shoutcast url was changed.

To fix, just update file /home/andy/.kde/share/apps/amarok/scripts/shoutcast_service/SHcast.js

replace strings
<<
queryUrl: "http://classic.shoutcast.com/sbin/newxml.phtml",
stationUrl: "http://classic.shoutcast.com/sbin/tunein-station.pls?id=",
>>

with

<<
queryUrl: "http://yp.shoutcast.com/sbin/newxml.phtml",
stationUrl: "http://yp.shoutcast.com/sbin/tunein-station.pls?id=",
>>

Report

richardcrossley

10 years ago

Truly awesome, I missed Shoutcast in Amarok 2.2.

Report

Vollkornpizza81

10 years ago

Thank you very much for this script. I missed the shoutcast list a lot and exaile tended out to be an instable replacement. Thanks!

Report

nolaiz

10 years ago

Thanks a lot!! I really missed the shoutcast service in the new amarok.

Report

cosmicdave

10 years ago

Thanks for this very useful script...much appreciated!

Report

jonathanschultz

10 years ago

Hi there. I accept your apology about search working in a strange way, but can't figure out what that way is. How do I search for a station?

Thanks!

Report

C

cotko

10 years ago

hello,

yes, I know that search is not working anymore - new version of amarok fixed some scripting bugs but apparently also changed some previous functionality. In short, I can't insert search results as I could before. I tried to fix this as soon as I saw that it's not working anymore but I found out that the easiest way would be to use now working search filter, that means I must change quite a lot of code.

Now, besides not having a lot of time, there is another thing that stopped me to update and fix this script:
http://forums.winamp.com/showthread.php?postid=2590553#post2590553

it seems that winamp api will not be accessible to not registered users very soon..

Report

toren

10 years ago

Much appreciated! Since I used to listen to various Internetradiostations before,I was at first very dissapointed with Amarok 2.2.

Many thanks, now it works perfectly well!

Report

drinkingcoffee

10 years ago

Thanks! I was missing that!

Report

nhnFreespirit

10 years ago

The problem with using the filter in scripts is a known issue, and one I consider a showstopper for soon to ne released Amarok 2.2.2 as it breaks many scripts, including the Librivox script which is included by default, so I am going to try very hard to fix it.

Other than that, this script works very nicely, great work :-)

Report

mtadeunet

10 years ago

Heeeyyyy thank you soooo much.....for me is more then enough :) but the filter would be a great feature :) thank you again...I'm sure you made lots of people happy with this :)

Report

littlebear2

10 years ago

me too thank you

Report

C

cotko

10 years ago

you're welcome, I'm glad you like it :)

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 pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
2.11
updated Jan 03 2011
added Dec 09 2009
downloads 24h
1
mediaviews 24h 0
pageviews 24h 4
System Tags addon