mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- audioplayer: fix station logo handling for icecast
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1180,7 +1180,7 @@ void CAudioPlayerGui::readDir_ic(void)
|
||||
{
|
||||
xmlDocPtr answer_parser = parseXml(answer.c_str());
|
||||
scanBox->hide();
|
||||
scanXmlData(answer_parser, "listen_url", "server_name", "bitrate", true);
|
||||
scanXmlData(answer_parser, "listen_url", "server_name", "", "bitrate", true);
|
||||
}
|
||||
else
|
||||
scanBox->hide();
|
||||
@@ -1194,7 +1194,7 @@ void CAudioPlayerGui::scanXmlFile(std::string filename)
|
||||
scanXmlData(answer_parser, "url", "name");
|
||||
}
|
||||
|
||||
void CAudioPlayerGui::scanXmlData(xmlDocPtr answer_parser, const char *urltag, const char *nametag, const char *bitratetag, bool usechild)
|
||||
void CAudioPlayerGui::scanXmlData(xmlDocPtr answer_parser, const char *urltag, const char *nametag, const char *logotag, const char *bitratetag, bool usechild)
|
||||
{
|
||||
#define IC_typetag "server_type"
|
||||
|
||||
|
Reference in New Issue
Block a user