- neutrino: don't load webradio xml on HD1 hardware; ...

audiostreams doesn't work

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-15 13:34:43 +01:00
committed by Thilo Graf
parent 549194b0e5
commit 8acb4a4f67

View File

@@ -702,9 +702,17 @@ int CNeutrinoApp::loadSetup(const char * fname)
} }
g_settings.webradio_xml.clear();
#ifndef BOXMODEL_CS_HD1
/*
Coolstream's HD1 generation can't play audiostreams via movieplayer
because of driver- or firmware-issues or so. Not sure.
So let's avoid loading webradio_xml to get an empty webradio bouquet.
*/
std::string webradio_xml = configfile.getString("webradio_xml", WEBRADIO_XML); std::string webradio_xml = configfile.getString("webradio_xml", WEBRADIO_XML);
if (file_size(webradio_xml.c_str())) if (file_size(webradio_xml.c_str()))
g_settings.webradio_xml.push_back(webradio_xml); g_settings.webradio_xml.push_back(webradio_xml);
#endif
loadKeys(); loadKeys();