4mula1;581486 Wrote: 
> In the last episode of weather.com changing their format there was a
> patch for people like me running an older version of SqueezeCenter
> (7.3.3) with SDT 5.8.7.  I tried copying and pasting the gotWeather sub
> from SDT 5.9.5 into my aging 5.8.7 and all I got was a blank screen.  Is
> it possible to patch 5.8.7 with the new parsing from 5.9.5?

I had the same problem, you need to add a new line to your plugin.pm
uses section (for me it was line 150):

use HTML::Entities qw(decode_entities); 

So from your package definition, your complete uses section is

package Plugins::SuperDateTime::Plugin;

use strict;

use base qw(Slim::Plugin::Base);
use Slim::Utils::Misc;
use Slim::Utils::Strings qw (string);
use Slim::Networking::SimpleAsyncHTTP;
use Slim::Utils::Prefs;
use Slim::Utils::Log;
use Plugins::SuperDateTime::Settings;
use Plugins::SuperDateTime::PlayerSettings;
use lib "plugins/SuperDateTime/lib";
use HTML::TreeBuilder;
use HTML::Entities qw(decode_entities); #added 

Give that a shot. If you can't get it to work, I'll post my plugin.pm.


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

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to