Re: [SlimDevices: Plugins] [Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks
Thanks yet again BoomX2. NHL short names works as expected. It is so nice to run through games/results on a busy night in a couple minutes. It will be super nice when multiple sports seasons overlap. "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 View this thread: http://forums.slimdevices.com/showthread.php?t=112122 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks
Strangely enough changing the long term forecast from Fahrenheit to Celsius fixed the Linux server, and made no change in the Windows despite them being set the same. Code: sub shortenNHL { my $long = shift; if ($long =~ m/^Vancouver/) { $long = 'Canucks';} elsif ($long=~ m/^Edmonton/) { $long = 'Oil';} elsif ($long =~ m/^New Jersey/) { $long = 'Devils';} elsif ($long =~ m/^NY Rangers/) { $long = 'NYR';} elsif ($long =~ m/^Philadelphia/) { $long = 'Flyers';} elsif ($long =~ m/^NY Islanders/) { $long = 'Isles';} elsif ($long =~ m/^Pittsburgh/) { $long = 'Pens';} #elsif ($long =~ m/^Montreal/) { $long = 'Habs';} #elsif ($long =~ m/^Ottawa/) { $long = 'Sens';} elsif ($long =~ m/^Buffalo/) { $long = 'Sabres';} elsif ($long =~ m/^Boston/) { $long = 'Bruins';} #elsif ($long =~ m/^Toronto/) { $long = 'Leafs';} #elsif ($long =~ m/^Florida/) { $long = 'Panthers';} #elsif ($long =~ m/^Atlanta/) { $long = 'Thrashers';} #elsif ($long =~ m/^Tampa Bay/) { $long = 'Bolts';} elsif ($long =~ m/^Washington/) { $long = 'Caps';} #elsif ($long =~ m/^Carolina/) { $long = 'Canes';} #elsif ($long =~ m/^Detroit/) { $long = 'Wings';} #elsif ($long =~ m/^Nashville/) { $long = 'Preds';} #elsif ($long =~ m/^Chicago/) { $long = 'Hawks';} #elsif ($long =~ m/^Columbus/) { $long = 'CBJ';} elsif ($long =~ m/^St. Louis/) { $long = 'Blues';} elsif ($long =~ m/^Minnesota/) { $long = 'Wild';} #elsif ($long =~ m/^Colorado/) { $long = 'Avs';} elsif ($long =~ m/^Calgary/) { $long = 'Flames';} elsif ($long =~ m/^Anaheim/) { $long = 'Ducks';} elsif ($long =~ m/^Dallas/) { $long = 'Stars';} elsif ($long =~ m/^Los Angeles/) { $long = 'Kings';} elsif ($long =~ m/^San Jose/) { $long = 'Sharks';} #elsif ($long =~ m/^Phoenix/) { $long = 'Coyotes';} return $long; } Reply With Quote Reply With Quote Multi-Quote This Message and Knights for the missing Las Vegas Golden Knights. "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 View this thread: http://forums.slimdevices.com/showthread.php?t=112122 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks
NHL fix works fine, game times are correct now. One weird thing though. Installed the update on my wife's Windows machine and on my Ubuntu (20.4 LTS) box. My ubuntu box shows temperature to one decimal place (ie: current temp is -17.8 C) while the windows box shows only the significant digits (-17 C). I don't know if that was intended or not. There is something else I have been thinking about for a while. When the Golden Knights play the Blackhawks the string gets long enough it cuts off sometimes, not to mention that when there is a full schedule it takes a while to scroll all the games. Is there a way to modify the team display names on my plugin so I can shorten them? "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 View this thread: http://forums.slimdevices.com/showthread.php?t=112122 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks
First off - Boomx2, Thanks for your time and effort updating and maintaining the plugin. NHL Game times are not displaying correctly. My Time Zone is MST (offset in LMS is -02:00 Mountain) and tonight's Oilers / Canucks game is showing a 9:00pm start when it actually starts at 8:00pm. I don't know if its the same for all games but I will check tomorrows games. This showed up last year but I didn't have time to mess with it so I changed the offset to Pacific time zone after the Superbowl. "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 View this thread: http://forums.slimdevices.com/showthread.php?t=112122 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks
BoomX2 wrote: > I have found another source for NFL game data. SDT release 5.11.3 > restores NFL scores. Thanks BoomX2!! "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 View this thread: http://forums.slimdevices.com/showthread.php?t=112122 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks
Should have said all other sports scores show as expected with no errors. "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 View this thread: http://forums.slimdevices.com/showthread.php?t=112122 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks
I am in Canada, not that there should be a difference but: Plugin version 5.11.2 [20-09-27 17:30:52.8259] Plugins::SuperDateTime::Plugin::gotNFL (5790) Error detected in NFL JSON. Error: malformed JSON string, neither array, object, number, string or atom, at character offset 3 (before "\n[20-09-27 17:30:52.8262] Plugins::SuperDateTime::Plugin::gotNFL (5791) Skipping NFL Any ideas? "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 View this thread: http://forums.slimdevices.com/showthread.php?t=112122 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
BoomX2 wrote: > I noticed the weather.com version of SDT started intermittently hanging > today. On further investigation I found I was pulling an extra > character at the front of the JSON string that I extract from the > weather.com text file. Depending on what was in that character position > the JSON to perldata function would sometimes error out. This update > fixes that by starting the JSON extract at the first '[' bracket. > > If you are using weather.com and notice the "*" hanging around longer > than expected or your weather data getting stale, this should fix it. What do you know mine hung last night and the fix is already here!! Many thanks BoomX2! "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
Both mine stopped. Log says: [11-06-09 19:03:38.8724] Slim::Networking::IO::Select::__ANON__ (146) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: Can't call method "as_text" on an undefined value at /tmp/par-squeezeboxserver/cache-2396ba4160e890d11ad8b816b31e6c68a532fed4/6f700c65.pm line 3069. ; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0xc66aee0) -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
Since mine was cut out again this morning and began working after your fix I am hopeful you fixed the problem. Thanks to all for their help. -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
It is weather related. I will have to check whats going on but when SDT locked up last night I changed the identifier from CAXX0567 to CAXX0126 and away it went again. Next time if I can get the same result I will check for differences in the forecasts. Can't be much, CAXX0126 is at the downtown airport and CAXX567 is the International and they are only about 30 miles apart. -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
Welcome to the forum ddyck! Could you specify which lines you changed please, I am likely having the same problem you are. -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
On alternate updates the temperature displayed is messed up. As ana example when i started writing this the displayed temp was -25 C. It is now displaying the correct temp which is -13 C. The only error in the log is: [11-03-13 10:35:17.2318] Plugins::SuperDateTime::Plugin::gotWeather (3042) Error parsing current wind [11-03-13 10:35:20.1927] Plugins::SuperDateTime::Plugin::doneDrawing (4369) Data refresh completed with errors. Any ideas? -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
I thank you kindly for your time and help. It is working perfectly now. -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." -- Fred Brooks tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
I think I found the culprit - NHL scores. When I turn them on all updates stop. The pre-season just started the other night and I had all the scores up. In the morning the previous nights scores were still displayed - a sure sign the server is hung up. Restarted and could not get any weather data until I shut it off. I just tried it again asking for scores for one team and that seems to kill it as well. -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." -- Fred Brooks tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
This showed up a couple days ago in my log, when SDT stopped: [10-09-23 21:19:19.0968] main::init (323) Starting Squeezebox Server (v7.5.1, r30836, Tue Jun 1 05:57:28 PDT 2010) perl 5.010001 [10-09-23 21:22:54.8512] Plugins::SuperDateTime::Plugin::gotWeather (3372) Error parsing weather details - precip amounts [10-09-23 21:22:57.8452] Slim::Networking::IO::Select::__ANON__ (146) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: Can't call method "content_list" on an undefined value at /tmp/par-squeezeboxserver/cache-e740a38eb4e6641e1eac30e9146c323e65feffd4/fe02ef46.pm line 5182. ; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0xc848480) BTW I am retrieving for Canada in Metric -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." -- Fred Brooks tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
That works! Thanks BoomX2 and madpatrick. To rename the file extension in Windows just open the command prompt, navigate to the file directory and use the ren command. Like: c:\your directory\ren Plugins-Squeezebox-plugin.pdf Plugins-Squeezebox-plugin.par -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." -- Fred Brooks tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
Works for Linux too. (thank god, I wondered what was going on) -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." -- Fred Brooks tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 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
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
Any further progress with NHL parsing? -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." -- Fred Brooks tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 View this thread: http://forums.slimdevices.com/showthread.php?t=14327 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
I was going to post about that last night, no reminiders or scores for the nhl here either. -- tedfroop "Good judgement is the result of experience ... Experience is the result of bad judgement." -- Fred Brooks tedfroop's Profile: http://forums.slimdevices.com/member.php?userid=3011 View this thread: http://forums.slimdevices.com/showthread.php?t=14327 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins