New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Bug in squeezecenter can be resolved

A collection of tips on howto tweak your Bubba.
Post Reply
BreezerSwe
Posts: 16
Joined: 12 Oct 2008, 18:21

Bug in squeezecenter can be resolved

Post by BreezerSwe »

If you're having trouble getting Webradio stations working in v7.3.2 of SqueezeCenter they can be resolve according to the instructions below.

The whole article can be read here: http://bugs.gentoo.org/show_bug.cgi?id=263416

Otherwise just edit the files according to below and add the lines which has the '+' sign at the beginning.

--- Slim/Formats/XML.pm.old 2009-03-23 20:59:53.000000000 +0000
+++ Slim/Formats/XML.pm 2009-03-23 21:00:02.000000000 +0000
@@ -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 20:54:42.000000000 +0000
+++ Slim/Plugin/LastFM/ProtocolHandler.pm 2009-03-23 20:55:15.000000000 +0000
@@ -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 20:55:21.000000000 +0000
+++ Slim/Plugin/Sirius/ProtocolHandler.pm 2009-03-23 20:55:34.000000000 +0000
@@ -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( {
bolt
Posts: 19
Joined: 07 Mar 2009, 13:56

Post by bolt »

unfortunately this didn't solve the problem for me. i've tried it for lastfm and deezer. Error is still there. Do i need to restart or reset something?
Post Reply