mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user