diff --git a/src/playlist.cpp b/src/playlist.cpp index c09bf6e..2fd0002 100644 --- a/src/playlist.cpp +++ b/src/playlist.cpp @@ -107,6 +107,14 @@ void xmlcb(uint8_t status, char* tagName, uint16_t tagLen, char* data, uint16_t String tag(tagName); if (status & STATUS_START_TAG) xml_last_tag = tag; + if (trace_enabled) { + if (status & STATUS_START_TAG) { + TRACE("Start of tag: %s\n", tagName); + } else if (status & STATUS_END_TAG) { + TRACE("End of tag: %s\n", tagName); + } + } + if (tag.equals("/rss/channel/title") && (status & STATUS_TAG_TEXT)) { xml_album_title = data; } else if (tag.endsWith("/title") && (status & STATUS_TAG_TEXT)) {