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

audiostreams doesn't work


Origin commit data
------------------
Commit: 702fc04178
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-15 (Wed, 15 Nov 2017)

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

audiostreams doesn't work
This commit is contained in:
vanhofen
2017-11-15 13:34:43 +01:00
parent 6f4f96f06e
commit f13b4b073b

View File

@@ -762,9 +762,17 @@ int CNeutrinoApp::loadSetup(const char * fname)
CWebTVSetup webtvsetup;
webtvsetup.webtv_xml_auto();
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);
if (file_size(webradio_xml.c_str()))
g_settings.webradio_xml.push_back(webradio_xml);
#endif
loadKeys();