On Wed, Sep 13, 2006 at 11:18:19AM -0400, blaz wrote:
> Package: slimserver
> Version: 6.3.0-4
> Severity: normal
>
> All entries under the Internet Radio menu item fail with an error in the log
> similar to this:
>
> 2006-09-13 10:38:57.2802 ERROR: Formats::XML: failed to parse feed because:
> not well-formed (invalid token) at line 1, column 6, byte 6 at
> /usr/share/perl5/SlimServer/CPAN/XML/Parser.pm line 187
Hi,
the attached patch seems to fix this for me.
Cheers,
--
Niko Tyni [EMAIL PROTECTED]
--- slimserver-6.3.0/Slim/Formats/XML.pm 2007/12/02 21:05:36 1.1
+++ slimserver-6.3.0/Slim/Formats/XML.pm 2007/12/02 21:05:47
@@ -137,7 +137,7 @@
# async http request succeeded. Parse XML
# forcearray to treat items as array,
# keyattr => [] prevents id attrs from overriding
- our $xml = eval { XMLin($content, forcearray => ["item", "outline"], keyattr => []) };
+ our $xml = eval { XMLin($$content, forcearray => ["item", "outline"], keyattr => []) };
if ($@) {
errorMsg("Formats::XML: failed to parse feed because:[EMAIL PROTECTED]");