mbonsack;539015 Wrote: 
> I found that zeroing out off-season sports (which may have a URL that is
> dead/wrong in the off-season) fixes this.  The reason is that Greg put
> in a "max fail" counter, and when that's reached SDT will no longer ask
> for updates.  Given that logic, the query for a game in progress must be
> different than the scheduled time query for an upcoming game, otherwise
> scheduled games wouldn't show up either.
> 
> So, I got rid of the Chargers and  Illini college football entries in
> my SDT settings and all is now good with baseball :-)


Hi...

I've confirmed that clearing out off-season teams from SDT settings
seems to have corrected the issue with MLB scores not updating.   I've
not had time to look at the code to see if I can investigate the
logic/condition that causes it.    If the max-fail counter is truly 1
(and it's global for all query types; mlb, nhl, nfl, etc.) as indicated
by my observations of the log (see below), and that creates a lock-up
preventing any subsequent query attempts, seems to me a good place to
start.

Love SDT, and wanted to at least help out as much as I can.

--matt



tail -f server.log | egrep "mlb|MLB"

[10-06-02 11:08:47.9384] Plugins::SuperDateTime::Plugin::getMLB (4396)
SkippingMLB...
[10-06-02 11:08:47.9386] Plugins::SuperDateTime::Plugin::saveCycles
(4442) Preserving previous getMLB info...
[10-06-02 11:13:04.6370] Plugins::SuperDateTime::Plugin::getMLB (4396)
SkippingMLB...
[10-06-02 11:13:04.6372] Plugins::SuperDateTime::Plugin::saveCycles
(4442) Preserving previous getMLB info...
[10-06-02 11:17:21.3633] Plugins::SuperDateTime::Plugin::getMLB (4396)
SkippingMLB...
[10-06-02 11:17:21.3635] Plugins::SuperDateTime::Plugin::saveCycles
(4442) Preserving previous getMLB info...
[10-06-02 11:21:41.2528] Plugins::SuperDateTime::Plugin::getMLB (4396)
SkippingMLB...
[10-06-02 11:21:41.2530] Plugins::SuperDateTime::Plugin::saveCycles
(4442) Preserving previous getMLB info...

Squeezeboxserver restart   (we know this forces an update -- if you do
it mid-game, you'll get that score and keep it forever)

[10-06-02 11:22:55.2312] Plugins::SuperDateTime::Plugin::getMLB (4392)
aync request: http://scores.espn.go.com/mlb/scoreboard?date=20100602
[10-06-02 11:22:55.9105] Plugins::SuperDateTime::Plugin::gotMLB (4492)
got http://scores.espn.go.com/mlb/scoreboard?date=20100602
[10-06-02 11:27:14.0596] Plugins::SuperDateTime::Plugin::getMLB (4396)
SkippingMLB...
[10-06-02 11:27:14.0598] Plugins::SuperDateTime::Plugin::saveCycles
(4442) Preserving previous getMLB info...
[10-06-02 11:31:30.7653] Plugins::SuperDateTime::Plugin::getMLB (4396)
SkippingMLB...
[10-06-02 11:31:30.7655] Plugins::SuperDateTime::Plugin::saveCycles
(4442) Preserving previous getMLB info...

Clear out NFL and NHL (out of season (Stanley Cup TBD) as suggested)

[10-06-02 11:34:19.6426] Plugins::SuperDateTime::Plugin::getMLB (4392)
aync request: http://scores.espn.go.com/mlb/scoreboard?date=20100602
[10-06-02 11:34:24.8483] Plugins::SuperDateTime::Plugin::gotMLB (4492)
got http://scores.espn.go.com/mlb/scoreboard?date=20100602
[10-06-02 11:38:41.6625] Plugins::SuperDateTime::Plugin::getMLB (4392)
aync request: http://scores.espn.go.com/mlb/scoreboard?date=20100602
[10-06-02 11:38:42.2386] Plugins::SuperDateTime::Plugin::gotMLB (4492)
got http://scores.espn.go.com/mlb/scoreboard?date=20100602
[10-06-02 11:42:58.7864] Plugins::SuperDateTime::Plugin::getMLB (4392)
aync request: http://scores.espn.go.com/mlb/scoreboard?date=20100602
[10-06-02 11:42:59.2959] Plugins::SuperDateTime::Plugin::gotMLB (4492)
got http://scores.espn.go.com/mlb/scoreboard?date=20100602

Seems to be updating ok on intended interval now…….


-- 
bluebeeryale
------------------------------------------------------------------------
bluebeeryale's Profile: http://forums.slimdevices.com/member.php?userid=38513
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