2020-06-02 00:33:42 +01:00
|
|
|
class station{
|
|
|
|
constructor(url){
|
|
|
|
this.url= url;
|
|
|
|
}
|
|
|
|
show(){
|
|
|
|
var win=window.open(this.url, '_blank');
|
|
|
|
win.focus();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var catRadio = new station('http://shoutcast.ccma.cat/ccma/catalunyaradioHD.mp3');
|
|
|
|
var catInfo = new station('http://shoutcast.ccma.cat/ccma/catalunyainformacioHD.mp3');
|
|
|
|
var iCat = new station('http://shoutcast.ccma.cat/ccma/icatHD.mp3');
|
2020-06-02 20:53:13 +01:00
|
|
|
var catMusic = new station('http://shoutcast.ccma.cat/ccma/catalunyamusicaHD.mp3');
|
2020-06-12 22:53:53 +01:00
|
|
|
var vallekas = new station('http://cervera.eldialdigital.com:8032/;');
|