mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -762,9 +762,17 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
|||||||
CWebTVSetup webtvsetup;
|
CWebTVSetup webtvsetup;
|
||||||
webtvsetup.webtv_xml_auto();
|
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);
|
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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user