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

audiostreams doesn't work

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8acb4a4f67
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

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-15 13:34:43 +01:00
committed by Thilo Graf
parent df3bc60626
commit 9ab9da8351

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);
if (file_size(webradio_xml.c_str()))
g_settings.webradio_xml.push_back(webradio_xml);
#endif
loadKeys();