


Cool Streams Reloaded (CSR v1.2.x)
Amarok 2.x Scripts by refreshFSN 10 comments
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;
...
- Oct 09 2010
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;
...
- Oct 09 2010

Cool Streams Reloaded (CSR v1.2.x)
Amarok 2.x Scripts by refreshFSN 10 comments
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.
- Oct 09 2010
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.
- Oct 09 2010