BoomX2 wrote: 
> 
> 
> PS - Feel free to incorporate the MLB fixes into other SDT variants.  To
> get it to work simply replace the subroutines "sub getmlb" and "sub
> gotmlb" in the plugin.pm file.  The settings.pm also has a change to
> correctly select the Diamondbacks from the SDT settings page.

When I do so, I get:

[15-04-14 12:11:29.7115] Slim::Networking::IO::Select::__ANON__ (131)
Error: Select task failed calling
Slim::Networking::Async::HTTP::_http_read_body: JSON::XS::from_json has
been renamed to decode_json, either downgrade to pre-2.0 versions of
JSON::XS or rename the call at
/home/mbonsack/Utilities/Squeezebox/LMS-7.9/Cache/InstalledPlugins/Plugins/SuperDateTime/lib/Plugins/SuperDateTime/Plugin.pm
line 4893.
; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0x827f950)

This is the call that's blowing up:

my $perldata = from_json($MLB_json);

I'm running on Ubuntu 14.04 LTS and LMS 7.9.

So I literally did what it said, and changed the call to "decode_json". 
Worked!

One last thing.  I have not selected the Diamondbacks as one of my
teams, though my home team (the Padres) is playing them tonight.  The
icon for the Padres shows up, but not for the D-backs.  Is that a side
effect of your settings.pm change (which I did not take time to
implement)?

Thanks again for the heavy lifting here!


------------------------------------------------------------------------
mbonsack's Profile: http://forums.slimdevices.com/member.php?userid=1398
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to