[Slim-Checkins] r34301 - /vendor/plugins/mirror.pl

[email protected] Mon, 08 Feb 2016 15:35:54 -0000
Newsgroups gmane.music.equipment.slimdevices.cvs
Message-ID <[email protected]>
Author: mherger
Date: Mon Feb  8 15:35:53 2016
New Revision: 34301

URL: http://svn.slimdevices.com/slim?rev=34301&view=rev
Log:
Fix encoding of repository file.

Modified:
    vendor/plugins/mirror.pl

Modified: vendor/plugins/mirror.pl
URL: http://svn.slimdevices.com/slim/vendor/plugins/mirror.pl?rev=34301&r1=34300&r2=34301&view=diff
==============================================================================
--- vendor/plugins/mirror.pl (original)
+++ vendor/plugins/mirror.pl Mon Feb  8 15:35:53 2016
@@ -86,7 +86,7 @@
 foreach my $repo ( REPOS, OTHER ) {
 	my $resp = $ua->get($repo);
 
-	my $xml = eval { XMLin($resp->content,
+	my $xml = eval { XMLin($resp->decoded_content,
 		SuppressEmpty => 1,
 		KeyAttr    => [],
 		ForceArray => [ 'applet', 'wallpaper', 'sound', 'plugin', 'patch' ],