24 lines
1013 B
JavaScript
24 lines
1013 B
JavaScript
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');
|
|
var catMusic = new station('http://shoutcast.ccma.cat/ccma/catalunyamusicaHD.mp3');
|
|
var vallekas = new station('http://cervera.eldialdigital.com:8032/;');
|
|
var punk = new station('http://punkirratia.net:8000/punk');
|
|
var irola = new station('http://s.streampunk.cc/_stream/irola_irratia.mp3');
|
|
var almaina = new station('http://zeppelin.streampunk.cc/_stream/almaina.ogg');
|
|
var rac1 = new station('https://streaming.rac1.cat/');
|
|
var rac105 = new station('https://streaming.rac105.cat/');
|
|
var franceInfo = new station('https://icecast.radiofrance.fr/franceinfo-midfi.mp3');
|
|
var rne = new station('rne.html');
|
|
var serCat = new station('sercat.html');
|