Bugzilla – Bug 3183
Problems parsing XML from shoutcast
Last modified: 2006-03-30 20:23:04 UTC
There have been several reports of problems with the shoutcast plugin where it wouldn't correctly parse the xml file: Here is what it kicked back: 2006-02-28 07:34:55.1312 Shoutcast: next update Wed Mar 1 07:34:55 2006 2006-02-28 07:34:55.1317 Shoutcast: async request 2006-02-28 07:34:56.8065 Shoutcast: get XML content 2006-02-28 07:34:56.8068 Shoutcast: parse XML 2006-02-28 07:34:56.8189 Shoutcast: problem reading XML: not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Pars er.pm line 187 I only encountered that problem with some radiostations using special characters in their descriptions. And most of the time they were small, incorrctly set up stations (hence the suggestion to reduce the number of stations). And these were always temporary, but reproducable. But recently folks started to have that problem over several days, when I was unable to reproduce it. And they report _not_ to have the problem with 6.2.1, but only later. But the very few changes are imho unrelated: http://svn.slimdevices.com/branches/BRANCH_6_2_x/server/Plugins/ShoutcastBrowser/Plugin.pm?rev=5285&r1=4752&r2=5285 All users report using the Windows version. Has there been an update in the perl libraries tools after 6.2.1? (Well, I still can't reproduce it with the Windows binary :-/) The threads: http://forums.slimdevices.com/showthread.php?t=20243 http://forums.slimdevices.com/showthread.php?t=22153
I am having this problem. Shoutcast gives this error: "There was an error parsing the stream information. Try reducing the number of streams if you've set a great number. (2)". When I replaced the plugin with a version from one of the 6.2.2 nightlies as suggested by Michael Herger, the problem no longer exists. I am using Windows 2000 service pack 4 with all of the lastest security patches. I have an AMD Athlon XP 2000+ (1600 MHz) with an AOpen MK77M II motherboard (Via chipset).
Dan There have been repeated complaints about Shoutcast not being able to parse the XML in 6.5. Others mentioned Live365 and RSS in the same discussion. Replacing Shoutcast/Plugin.pm with one of the 6.2.2 branch fixed the problem for these users. When I went through the change logs I found this change, where you added the possibility to pass the XML as a reference to a string. > * Pass string ref or use $http->contentRef where applicable. http://forums.slimdevices.com/showthread.php?p=98571&posted=1#post98571 Could you imagine a problem in there? I've posted the latest shoutcast plugin with the \ removed (thus passing the string itself, not a reference to it). I'm still waiting for an answer of one of the users to see whether this fixes the issue for them.
*** This bug has been marked as a duplicate of 2930 ***