Unverified Commit 0a538233 authored by Wolle's avatar Wolle Committed by GitHub

fix BBC Radio streaming in httpPrint()

parent 45c769d3
......@@ -3,8 +3,8 @@
*
* Created on: Oct 26.2018
*
* Version 3.0.2d
* Updated on: Jun 02.2023
* Version 3.0.2e
* Updated on: Jun 17.2023
* Author: Wolle (schreibfaul1)
*
*/
......@@ -558,6 +558,10 @@ bool Audio::httpPrint(const char* host) {
}
char* h_host = NULL; // pointer of l_host without http:// or https://
if(startsWith(host, "https")) m_f_ssl = true;
else m_f_ssl = false;
if(m_f_ssl) h_host = strdup(host + 8);
else h_host = strdup(host + 7);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment