summaryrefslogtreecommitdiff
blob: 507f1580e42113e1b9303142d0a2fcb246b68b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- Slim/Formats/XML.pm.old	2009-03-23 20:59:53.000000000 +0000
+++ Slim/Formats/XML.pm	2009-06-17 10:48:13.000000000 +0100
@@ -13,7 +13,7 @@
 use strict;
 use File::Slurp;
 use HTML::Entities;
-use JSON::XS qw(from_json);
+use JSON::XS::VersionOneAndTwo;
 use Scalar::Util qw(weaken);
 use URI::Escape qw(uri_escape);
 use XML::Simple;
--- Slim/Plugin/LastFM/ProtocolHandler.pm.old	2009-03-23 21:44:12.045581972 +0000
+++ Slim/Plugin/LastFM/ProtocolHandler.pm	2009-06-17 10:48:13.000000000 +0100
@@ -7,7 +7,7 @@
 use strict;
 use base qw(Slim::Player::Protocols::HTTP);
 
-use JSON::XS qw(from_json);
+use JSON::XS::VersionOneAndTwo;
 use URI::Escape qw(uri_escape_utf8);
 
 use Slim::Player::Playlist;
--- Slim/Plugin/Sirius/ProtocolHandler.pm.old	2009-03-23 21:44:12.000000000 +0000
+++ Slim/Plugin/Sirius/ProtocolHandler.pm	2009-06-17 10:48:13.547934811 +0100
@@ -19,7 +19,7 @@
 use Slim::Utils::Timers;
 
 use HTTP::Request;
-use JSON::XS qw(from_json);
+use JSON::XS::VersionOneAndTwo;
 use URI::Escape qw(uri_escape);
 
 my $log = Slim::Utils::Log->addLogCategory( {