diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 6bb5bdd26..2516bcf27 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -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(); diff --git a/src/gui/audioplayer.h b/src/gui/audioplayer.h index 79d5a6c43..39c636fcd 100644 --- a/src/gui/audioplayer.h +++ b/src/gui/audioplayer.h @@ -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