Home of the Squeezebox™ & Transporter® network music players.

Go Back   Squeezebox : Community : Forums > User Forums > 3rd Party Plugins
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
  #51  
Old 2005-08-18, 17:17
GoCubs's Avatar
GoCubs GoCubs is offline
Senior Member
 
Join Date: Apr 2005
Location: Chicago, IL
Posts: 1,494
GoCubs is on a distinguished road
Default

Quote:
Originally Posted by mcfly
Could you use Slim::Networking::SimpleAsyncHTTP instead of LWP::Simple for making HTTP requests in your plugin? If e.g. weather.com doesn't respond to a HTTP request in a timely matter, the SuperDateTime plugin currently blocks on read, causing slimserver to "freeze". Thanks.
Thanks for the suggestion. I'll look into it. I don't recall seeing it in the standard API docs.
Reply With Quote
  #52  
Old 2005-08-25, 06:36
GoCubs's Avatar
GoCubs GoCubs is offline
Senior Member
 
Join Date: Apr 2005
Location: Chicago, IL
Posts: 1,494
GoCubs is on a distinguished road
Default New Version: 3.4.0

# 3.4.0 08/23/05
Added BETA NFL support (parses content successfully most of the time).

Now utilizes Slim::Networking::SimpleAsyncHTTP for asynchronous/background network calls. This should decrease the chance of server freezes/crashes occuring while data is being retrieved.

Network debugging information is sent to -d_plugin.

Rewrote display algorithm to handle background data retrieval.

A lot of changes in the code for this version, I tested it for a couple days and it seems to be functioning properly. Please let me know if you experience any oddities.

Thanks
Greg
Attached Files
File Type: zip SuperDateTime.zip (10.8 KB, 308 views)
Reply With Quote
  #53  
Old 2005-08-26, 15:36
jsnell jsnell is offline
Member
 
Join Date: Apr 2005
Posts: 30
jsnell is on a distinguished road
Default weather station

thanks, GoCubs. I modified your plug-in to pull data from my own weather station, and it works like a charm! really nice.
Reply With Quote
  #54  
Old 2005-09-16, 11:53
CMcKinnon CMcKinnon is offline
Junior Member
 
Join Date: Apr 2005
Posts: 3
CMcKinnon is on a distinguished road
Default Windspeed Patch

Hi, I've attached a file containing a patch that will allow choosing between the humidity display and a new windspeed display. It changes the dropdown for humidity from on/off to off/humidity/windspeed. I don't know if anyone else is interested in this, but I would rather see windspeed where I live, since we don't really get high humidity much. This patch is against the most recent version posted.

Corey
Attached Files
File Type: txt windspeed.patch.txt (1.6 KB, 276 views)
Reply With Quote
  #55  
Old 2005-09-26, 03:57
Tobias Tobias is offline
Member
 
Join Date: Jun 2005
Location: Hamburg/Germany
Posts: 32
Tobias is on a distinguished road
Default

I try to use the plugin on a SB1 with a display fo 2x40 characters.
I configured the SB to display great characters.

Ok, it can't display the degree-sign, so it shows a D, that's ok, but.. At the first two characters the plugin blanks the top part, so the zero looks like a small u...

Any idea?

greetings from Hamburg/Germany
Tobias
Reply With Quote
  #56  
Old 2005-09-26, 09:31
GoCubs's Avatar
GoCubs GoCubs is offline
Senior Member
 
Join Date: Apr 2005
Location: Chicago, IL
Posts: 1,494
GoCubs is on a distinguished road
Default

Quote:
Originally Posted by Tobias
I try to use the plugin on a SB1 with a display fo 2x40 characters.
I configured the SB to display great characters.

Ok, it can't display the degree-sign, so it shows a D, that's ok, but.. At the first two characters the plugin blanks the top part, so the zero looks like a small u...

Any idea?
Hi Tobias-
What do you mean by "great characters"? Also, which first two characters are you refering to? Please give me an example of what your display is showing.

Thanks
Greg
Reply With Quote
  #57  
Old 2005-09-26, 10:55
GoCubs's Avatar
GoCubs GoCubs is offline
Senior Member
 
Join Date: Apr 2005
Location: Chicago, IL
Posts: 1,494
GoCubs is on a distinguished road
Default New Version: 3.4.2

#3.4.2
-----------------------------------------------------
As always you'll probably need to use FireFox or some non-IE browser to download the zip file in binary format from the forums here.
-----------------------------------------------------
*** SlimServer 6.2 or later is most likely required. ***
Fixed NFL parsing to handle regular season data format.

Line one will now display the sport league pertaining to the game information in line two.

Added status indicator in top right hand corner of display line one.
- '*' is displayed while data is being refreshed.
- If a data update fails the sport abbreviation, or 'W' for weather will be displayed until a successful update occurs. Stale data from the last successful update will continue to be displayed.
- An alarm bell indicator is displayed during the clock display if an alarm clock is set and no other status is being shown.

****************************
CMcKinnon-
Thanks for the windspeed modification.
I'll try to post an updated version that supports your windspeed modification natively.
Attached Files
File Type: zip SuperDateTime.zip (11.6 KB, 282 views)

Last edited by GoCubs; 2005-09-26 at 10:58.
Reply With Quote
  #58  
Old 2005-09-27, 00:07
Tobias Tobias is offline
Member
 
Join Date: Jun 2005
Location: Hamburg/Germany
Posts: 32
Tobias is on a distinguished road
Default

Quote:
Originally Posted by GoCubs
Hi Tobias-
What do you mean by "great characters"? Also, which first two characters are you refering to? Please give me an example of what your display is showing.

Thanks
Greg
I'll try to "paint" it..
Normally I display the time in great chars (22:44:09)
When using the plugin, on both numbers 2 the upper part ist missing.
Yesterday I switched by button "SIZE" so small fonts and back to great fonts: Now it's all in the display...

Greetings from Braunschweig/Germany
Tobias
Reply With Quote
  #59  
Old 2005-09-27, 10:00
GoCubs's Avatar
GoCubs GoCubs is offline
Senior Member
 
Join Date: Apr 2005
Location: Chicago, IL
Posts: 1,494
GoCubs is on a distinguished road
Default New Version: 3.4.3

# 3.4.3 09/27/05 Added wind speed support. - Thanks CMcKinnon

-----------------------------------------------------
As always you'll probably need to use FireFox or some non-IE browser to download the zip file in binary format from the forums here.
-----------------------------------------------------

I didn't think I'd have time till later in the week to get this added, but I went ahead and did it during a slow moment at work today

Does anyone have any other features/sports/information they'd like me to look into adding?

-Greg
Attached Files
File Type: zip SuperDateTime.zip (11.8 KB, 315 views)
Reply With Quote
  #60  
Old 2005-10-10, 10:30
GoCubs's Avatar
GoCubs GoCubs is offline
Senior Member
 
Join Date: Apr 2005
Location: Chicago, IL
Posts: 1,494
GoCubs is on a distinguished road
Default New Version: 3.5.0

# 3.5.0 10/08/05
Added NHL support.
Swapped order of wind speed and wind direction ("proper way"- Thanks Wojo).

I've gone ahead and created (quickly) a SuperDateTime web page on one of my servers. From here you should be able to download the plug-in without any of the problems that previously occured when downloading directly from these forums.

http://www.abovethelaw.com/squeeze/

-Greg
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 20:40.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.