Archivio mensile 24 February 2020

How to listen http webradio stream in an https site (Chrome > 80)

Since October 3, 2019 Chrome is gradually rolling out the new security feature that will block mixed content in the websites (info here). So that, if you have a webradio site in https and your streaming is in http, then none will listen to your webradio stream in your site. This is gradually happening at the beginning of 2020. There are multiple solutions, obviously the easiest and the smarter one is to move your streaming to an https connection. 

To do so you can ask your streaming provider to move/modify your server to a secure one. 

But this could take times, could be expansive or impossible (if your streaming provider service do not have this option). A good solution is to proxy the stream using a php script hosted in your website. So suppose you have a website at the address

https://www.myradiowebsite.com

And suppose your stream is at

http://mystreamprovider.mywebradio.com:someport/streamendpoint

Let’s create a file, let’s call it stream.php and let’s wrote in it:

<php?
$filename = "http://mystreamprovider.mywebradio.com:someport/streamendpoint";
header("Content-Type: audio/mpeg");
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$filename);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 500);
curl_setopt($ch, CURLOPT_WRITEFUNCTION, function($curl, $data) {
    echo $data;
    return strlen($data);
});
curl_exec($ch);
curl_close($ch);

With the usage of the curl function in php, basically we are proxying the non-secure connection to the stream with the secure connection of your website. And we’ve also removed the cross-site problem (side effect: we’ve also hidden your streaming provider info, so that, none will know who is hosting your streaming service and can’t know the number of your listeners…). All you have to do now, is to modify in your website, all the references to the original stream so search/replace or configure your website according to this substitution

 

find http://mystreamprovider.mywebradio.com:someport/streamendpoint and replace with https://www.myradiowebsite.com/stream.php

Katzenjammer del 16 febbraio 2020

  1. Sincero – Bugo, Morgan
  2. Piede sulla merda – Bugo
  3. Me ne frego – Achille Lauro
  4. Fukushima – Triángulo de Amor Bizarro
  5. Slowburn – Peter Gabriel
  6. Lilac – Porridge Radio
  7. Kissing In The Wind – Travis
  8. Been Around – A Girl Called Eddy
  9. If That Ain’t Love – The Kiddiwinks
  10. Delete Forever – Grimes
  11. Musica di oggi – Canova
  12. Sleeping Satellite – Tasmin Archer
  13. Lump – The Presidents Of The United States Of America
  14. Jeremy – Pearl Jam
  15. Asimbonanga (Mandela) – Johnny Clegg Savuka
  16. Beaten Down – Sharon Van Etten
  17. Shangri-La – EOB
  18. Looking Too Closely – Fink

Selenamente 2020

(foto di Matteo Nardone e di Laura Sbarbori)

Alcune foto della mia lettura durante l’evento Selenamente 2020. In occasione del compleanno dell’amica Selena Palma Biologa e artista poliedrica, scomparsa nel Settembre del 2014 a causa di un tumore ovarico raro. Una serata tra arte e ricerca scientifica per omaggiarla, riviverla e conoscerla. Una serata di raccolta fondi finalizzata a portare avanti il suo Progetto di Ricerca contro le malattie onco-ematologiche. Grazie all’idea di Selena e alla vostra preziosa partecipazione, negli anni abbiamo consegnato cinque assegni destinati a giovani ricercatori under 35.
Vi aspettiamo numerosi come sempre !!! 🙂

Gli artisti che prenderanno parte alla serata sono:
Giuseppe Anastasi
The Niro
Jacopo Ratini
MIMOSA CAMPIRONI
Andrea Ra
Gabriele LOPEZ
Francesco Arpino Official
Keet & More
Akira Manera
Ylenia Oliviero
Denise FagioloAnnalisa BaldiCristiana Della Vecchia
Olive Greche
Miro Barsa
I disegni live di PACO Scandaglia
Gli scatti fotografici di Laura Sbarbori Photographer
E altri ospiti a sorpresa.

 

Katzenjammer del 2 febbraio 2020

  1. Where the Action Is – The Waterboys
  2. Broken Boy- Cage The Elephant, Iggy Pop
  3. Virus – Björk
  4. Let Her Dance – The Bobby Fuller Four
  5. Ho Bruciato – Plaza Sempione
  6. Never Come Back – Caribou
  7. Pietre – Paolo Benvegnù
  8. Ruptura – Triángulo de Amor Bizarro
  9. Perdida – Stone Temple Pilots
  10. Conoscersi In Una Situazione Di Difficoltà – Giovanni Truppi, Niccolò Fabi
  11. Bitter Sweet Symphony – The Verve
  12. Breakfast At Tiffany’s – Deep Blue Something
  13. Don’t Speak – No Doubt
  14. The Witch That Could Not Be Burned – Blackbird & Crow
  15. No One Falls Alone – The No Ones
  16. Un giorno nuovo – Sick Tamburo
  17. Ever Again – Robyn Soulwax
  18. Real Love Baby – Father John Misty
  19. I Really Like It – Our Girl
  20. Say Hello, Wave Goodbye – Soft Cell