From 9ab9da83516b275830b894b0471228e875c636cb Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 15 Nov 2017 13:34:43 +0100 Subject: [PATCH] neutrino: don't load webradio xml on HD1 hardware; ... audiostreams doesn't work Signed-off-by: Thilo Graf Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8acb4a4f67aae200322ea399d9a11c91d4fcea6d Author: vanhofen 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 ------------------ This commit was generated by Migit --- src/neutrino.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 450d78298..ad4e2e186 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -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();