Cool Streams Reloaded (CSR v1.2.x)

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

0
Become a Fan
6.1

Description:
Edited Cool Streams and added extra stations to cover more genres and tastes. Plan is to add more stations with time and to sort them by genre (your help with genres is greatly appreciated). All extra added stations are last.fm compatible (songs are scrobbled properly).

Let me know if you have any ideas or stations to add.

Install via Script manager:
In Amarok select Tools > Script manager > Get more scripts > Search phrase: Cool Streams > select script and click Install > restart Amarok

To install from file:
In Amarok select Tools > Script manager > Install script > browse to cool_streams_reloaded.amarokscript.tar.gz > Open > OK > OK and restart Amarok.
Last changelog:

v1.2.4:
Fixed crashing bug (thanks to Aiwendil!)
Hope everything works fine now

v1.2.3:
Added 28 more streams from 1club.fm (Blues, Classical, Hip-Hop, Electro, Oldies, Rock, Punk, Metal) so there's some for everyone;
Merged few genres into one;

v1.2.2:
Added 3 streams from http://www.psychedelik.com/ (Thanks jason1);
Few more icon changes;

v1.2.1:
Added custom icons for the script;
Some more minor code changes;

v1.2:
Added 8 CBC stations (shamesly stolen from CBC Radio script, hope the author doesn't mind) All of them announce artist and song title so its last.fm compatible;
Some minor genre sorting changes;

v1.1:
Introduced genre sorting (still in progress);

v1.0:
Added few extra stations to original Cool Streams script


Ratings & Comments

10 Comments

krnekit

I found that this script causes Amarok to crash. See https://bugs.kde.org/show_bug.cgi?id=245990 for more details

Aiwendil

Crashes Amarok 2.3.2 for me also. But to present a solution and follow my narcissistic tendencies and quoting myself form a knowledge base question according to this: Quote:

First install the script again from withint Amarok with the script manager. Then quit amarok. To prevent Amarok from crashing when starting it again open the script file "~/.kde4/share/apps/amarok/scripts/cool_streams_reloaded/main.js" in a text editor. Before line 41 "Importer.loadQtBinding("qt.gui");" include another line "Importer.loadQtBinding("qt.core");" so that the script looks like: ... # http://de.wikipedia.org/wiki/Hochschulradio # http://www.antenne.de/antenne/radio/frequenzen/stream.php */ Importer.loadQtBinding("qt.core"); Importer.loadQtBinding("qt.gui"); script = new RadioDE(); script.populate.connect( onPopulating ); ... Afterwards Amarok will start up, load the script and it seems to work fine for me. Hope that helps.

Aiwendil

So correcting it here also as I of course messed up...no real surprise. Pasted the code of the script I looked at that worked...not the code of Cool Streams Reloaded. Correct quote: Quote:

... # Free Software Foundation, Inc., # # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # ##########################################################################*/ Importer.loadQtBinding( "qt.core" ); Importer.loadQtBinding( "qt.gui" ); //for QPixmap function Station( name, url, description ) { this.name = name; ...

refreshFSN

Ok, I updated the script with your sollution. Hope everything works fine now. Feel free to let me know if you have any issues. Thanks for your help Aiwendil ;)

krnekit

Found incorrect genre for the stream [Studio 54] 1club.fm - Studio 54 i.e. station name instead of genre. I think it must be "Disco". Nevertheless, script is good. I think it's best replacement for ShoutCast.

jason1

This looks bit like spam :) but here we go.. streams from this site would be great addition to psy* genre: http://www.psychedelik.com/

refreshFSN

Added and I'll upload new version in a minute. PS Even though that stations struggle with artist and song title so last.fm wont scrobble it properly. Thanks for your suggestion.

dbneeley

Since the Classical streams are so limited, perhaps you can add the WRR Radio stream at http://www.wrr101.com. WRR is a classical station owned by the City of Dallas, Texas--although it is commercial in that it does have ads. Otherwise, the programming is excellent.

refreshFSN

ok, i'll check it out. thanks!

refreshFSN

ok, I'm stuck on genres so I need your help. what would you think is the best way to sort the genres? i was thinking on placing one station under more genres if station is declared as multiple-genre stream but im still not sure. keep in mind that the system should be effective when the number of stations becomes bigger. oh, and feel free to leave a stream or two in comments :)

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

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