From 18b744bea00ef3034681004f665298af7674032a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orvar=20Segerstr=C3=B6m?= Date: Sun, 22 Dec 2024 15:50:01 +0100 Subject: [PATCH] Fix parsing of GetPositionInfo creator `creator` is not always part of the response, but the parsing code assumed there is always such a tag in the response but that it can be empty. This fixes parse errors when playing things like http radio streams --- src/xml.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xml.rs b/src/xml.rs index 41d087f..23367ef 100644 --- a/src/xml.rs +++ b/src/xml.rs @@ -128,8 +128,9 @@ pub(crate) fn parse_current_track_xml(xml: String) -> Result