Cool Streams Reloaded (CSR v1.2.x)

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 git.opendesktop.org

0
Score 57%
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:

8 years ago

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

krnekit

8 years ago

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

Report

Aiwendil

8 years ago

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.

Report

Aiwendil

8 years ago

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

Report

C

refreshFSN

8 years ago

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

Report

krnekit

8 years ago

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.

Report

jason1

8 years ago

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


Report

C

refreshFSN

8 years ago

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.

Report

dbneeley

8 years ago

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.

Report

C

refreshFSN

8 years ago

ok, i'll check it out. thanks!

Report

C

refreshFSN

8 years ago

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

Report

8 years ago

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

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
1.2.4
updated Oct 09 2010
added Feb 08 2010
downloads today
0
page views today 5
System Tags addon