mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
audioplayer: fix station logo handling for icecast
Origin commit data
------------------
Branch: ni/coolstream
Commit: 87dd0faa89
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-05-19 (Sat, 19 May 2018)
Origin message was:
------------------
- audioplayer: fix station logo handling for icecast
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1255,7 +1255,7 @@ void CAudioPlayerGui::readDir_ic(void)
|
||||
{
|
||||
xmlDocPtr answer_parser = parseXml(answer.c_str());
|
||||
scanBox->hide();
|
||||
scanXmlData(answer_parser, "listen_url", "server_name", NULL, "bitrate", true);
|
||||
scanXmlData(answer_parser, "listen_url", "server_name", "", "bitrate", true);
|
||||
}
|
||||
else
|
||||
scanBox->hide();
|
||||
|
@@ -180,7 +180,7 @@ class CAudioPlayerGui : public CMenuTarget
|
||||
/**
|
||||
* Processes a loaded XML file/data of internet audiostreams or playlists
|
||||
*/
|
||||
void scanXmlData(xmlDocPtr answer_parser, const char *urltag, const char *nametag, const char *logotag = NULL, const char *bitratetag = NULL, bool usechild = false);
|
||||
void scanXmlData(xmlDocPtr answer_parser, const char *urltag, const char *nametag, const char *logotag = "", const char *bitratetag = NULL, bool usechild = false);
|
||||
|
||||
/**
|
||||
* Reads the icecast directory (XML file) and calls scanXmlData
|
||||
|
Reference in New Issue
Block a user