Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver

2017-05-10 Thread GoCubs

Hey all,

Sorry for abandoning the plugin a few years back.  If you were wondering
what happened to me, I ultimately moved to Japan for work, sold my
place, and all my Squeeze hardware went into storage.  Without any
hardware, endless parsing updates, and Logitech dropping support I lost
my drive.  I'm back living stateside, but all my stuff from before is
still in storage.  Instead I've been using Sonos...  I like the
simplicity, but there's no screen so no SDT...

I'm glad to see that the community has kept SDT going.  Great work.  SDP
completely dropped out of my mind until now... there's a website that I
need to parse for other reasons and it resurfaced.

Take care,
Greg



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

2013-04-21 Thread GoCubs

ajkidle wrote: 
 Thanks Greg, much appreciated.
 
 With respect to what timeframe is being reported, my primary
 implementation is on my Touch using Erland's Custom Clock Screensaver. 
 And my preferred configuration is to always view current temperature and
 the next period's forecast.  I use period -1 for the current temp and
 period 0 for the immediate forecast.  I think what you have described
 accomplishes what I'd be looking for, that is:
 
 If viewing current conditions don't shift.   -- YES
 If viewing today and it changes to 'observed' then switch to tonight. 
 -- YES
 If viewing tonight and today is no longer 'observed' switch to today. 
 -- YES
 If viewing other (10day/custom/etc.) don't shift.  -- I never look this
 far out, but this seems reasonable.
 
 Would love to see this implemented, although I realize I may be a party
 of 1 looking for this change.
H.  I wasn't thinking about Touch user's who use Custom Clock.  My
solution was for non-CustomClock players and I'd basically simulate the
up/down remote button press based on the above conditions.  To make
CustomClock happy I'd actually have to shift the data as that's how
Custom Clock gets its data from SDT.  Shifting the raw data is a bit
more tricky.  I'll have to think about that more... perhaps Erland can
provide a setting to simulate the same...

-Greg



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

2013-04-21 Thread GoCubs

cisaak wrote: 
 Started using 5.9.16.  Generally back to normal except for the much
 noted switch from prediction to observed.  In my case, the high/low
 temperature (%f) switches from a prediction to observed and the
 precipitation probability (%x) switches from a prediction to a blank. 
 Like all of us, I hope this can be fixed.
 
 Two other nits.  In my script I use %y to state each period.  %y
 generates Tonight in upper and lower case and TOMORROW in caps.  Any way
 to make consistent?  Also, %x generates PRECIP 20% or RAIN 10% (all
 caps) while most of the rest of the criteria generate upper and lower
 case results (e.g., High 77% or Partly Cloudy).  Once again, any way to
 make consistent?
Of course I want to be consistent.  In this case it sounds like you're
using Custom Clock on a Touch as non-touch players automatically show in
all caps when presenting.  Custom Clock pulls raw data from SDT via API
so it's grabbing inconsistently stored data.  I can easily make them all
consistent so that Custom Clock gets them that way.  What is desired-
Rain vs RAIN I assume?

Thanks
-Greg



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

2013-04-21 Thread GoCubs

MikeMcr wrote: 
 I also would like the old behaviour back, please. A good question would
 be - does anyone actually like the current behaviour and require a
 setting to keep it?
Just want to make one point clear that I'm basically just showing data
as it's presented from weather.com.  They changed their format and I
understand people liked the old way better as it relates to Squeezebox
display.  There may be ways to simulate the old way, but they likely
require a rewrite to how SDT processes its data retrieval and caching
between players and data refreshes.

SDT is just a hobby for me.  Unlike Custom Clock the plugin is free and
very few people donate.  With hosting fees I probably provide it at a
lost financially not even considering the time spent coding.  As such
changes/updates/support/etc are not at the same level as a commercial
product.  Any support from the community is always welcome.

Thanks
-Greg



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

2013-04-18 Thread GoCubs

ajkidle wrote: 
 Hi Greg - just wondering where things stand with this.  Are you
 expecting a beta 3?
 
 Also, any update on the feasibility of restoring the old behavior?  The
 usefulness of forecasts on my Touch/Radio has diminished quite a bit
 resulting from weather.com's redesign.  Sure would be nice if they
 provided a more stable data source.

I forgot to post it here, but I actually posted 5.9.16.  I'll do a
formal post in a second.

As for feasibility...  all the data that was provided previously is
still posted, it's just that you now have to hit up/down instead of it
automatically shifting throughout the day.  It's funny because way back
when I recall people complaining the opposite that they wish it stayed
on the last selected mode instead of automatically shifting!

So what is the ideal case-
If viewing current conditions don't shift.
If viewing today and it changes to 'observed' then switch to tonight.
If viewing tonight and today is no longer 'observed' switch to today.
If viewing other (10day/custom/etc.) don't shift.

I have to dive into the refresh code but I could probably implement
this.  Maybe as a setting to satisfy all opinions...

Thoughts?

-Greg



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

2013-04-18 Thread GoCubs

Met to post this a few days ago, but 5.9.16 has been released.

What's new:
-Fixed most weather.com parsing (more updates to come...)
-Fixed NBA parsing (thanks Steve).

It'll eventually make it to the official Logitech repository but you can
also find it at my repo at
http://grebrown-projects.googlecode.com/svn/repo.xml or manually
download at http://code.google.com/p/grebrown-pr...downloads/list .

Given all the parsing changes please let me know if you experience any
issues, particularly if you get a '-' in the upper left corner of the
display.

As always if you enjoy the plugin and would like to support its
development and maintenance please feel free to donate via the link
shown at http://gregbrown.net

Thanks
-Greg



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

2013-04-18 Thread GoCubs

kikikikopa wrote: 
 I recently had issues with the computer that had the Logitech Server and
 I had to replace it with a new one.  I had Windows XP but now have
 Windows 7.  I installed the Logitech server on my new computer and have
 been experiencing some glitches with the display.  I used to have
 SuperDateTime as my default and was able to scroll through the various
 screens for weather information which was great.  Now however, I only
 get part of the information that I used to get and everything doesn't
 fit on the screen any longer.   I can't scroll to see the forecast for
 upcoming days and on the screen for today's weather, it correctly
 displays the current temp, forecast high temp, the graphic symbol, and
 the precipitation percentage, but the current temp and the current time
 are displayed in a larger font then the rest of the data and it pushes
 it off to the right of the screen.  I'm not the most tech savvy person
 so I'm looking for a little help to fix the issues I'm experiencing and
 hopefully get me back to the old weather information that I've been
 missing.  Thank you very much.

First make sure you upgrade to 5.9.16 that has now been posted.
Next, you likely just need to tweak the display settings for your player
to maximize your screen space and prevent any scrolling.  Could you take
a picture of what your display looks like and what the player display
macro variable settings are (the two and 3 line stuff).

Thanks
-Greg



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

2013-04-13 Thread GoCubs

Kyle wrote: 
 Greg, some of the weather codes I've been using don't work anymore, like
 %w for wind. Do you have updates?

Hi Kyle-

Can you provide the weather identifier that you're using?

Thanks
Greg



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

2013-04-06 Thread GoCubs

ajkidle wrote: 
 I think this is really the source of my troubles with the new plugin.pm
 file.  The period being covered is unexpected.  I generally want my
 devices to show the next period forecast.  So using Custom Clock I
 accomplish this by asking for data about period 0.  It's 8:58pm right
 now, so I expect that data to tell me tonight's forecast.  Instead, it
 tells me Observed Today is cloudy with a high of 40.  A criticism
 towards weather.com ... shouldn't a weather forecast be, well I don't
 know, a -forecast- about the -future-?!
 
 Greg, are you forced to pull the data in this manner because of the new
 site layout?  Or is it possible to have things they way they used to be?
 I think most users of your plugin are used to the prior behavior.  I
 fear I'll shift my problem 12/24 hours forward if I pull period 1
 instead of period 0, but I'll give it a try.

Right...  I agree, I like the old way better and yes it's because of how
weather.com is now presenting their data.  Each placeholder in their
page used to automatically shift throughout the day and instead now they
stay the same and become that 'observed' stuff.  I could probably try to
simulate the behavior, but I first want to at least get the content
working for everyone.  With the content in hand I can then slice and
dice accordingly.

-Greg



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

2013-04-06 Thread GoCubs

bongo23 wrote: 
 [Thanks.  That looks like it's getting there, but I'm still getting
 parse errors on today  tonight's forecast (tomorrow's is OK):
 

Please post your weather identifier.  I try many locations around the
world for testing as the data feeds vary a bit but yours must be another
one I need to test with.

Thanks
-Greg



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

2013-03-24 Thread GoCubs

KyL416 wrote: 
 I have a dash on my display however my server log shows no parsing
 errors.
 
 Some other notes:
 
 The Hi/Low option (%z/%Z) always displays the Hi temperature under Right
 Now. Before it would switch to the Low temperature around 2pm.
 
 The forecast days option inserts blank screens after the initial block
 of:
 Right Now
 Tonight
 Tommorow
 Tommorow Night
 *blank*
 If I have 0, I see 1 blank screen, if I have 1 I see 2 blank screens,
 etc
 
 
 I also don't get any weather alerts.

What weather identifier are you using?  I also haven't updated parsing
for weather alerts yet.

-Greg



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

2013-03-24 Thread GoCubs

wimvandorst wrote: 
 Hi Greg,
 
 thanks for your preliminary update on the plugin.pm. Yes, it solves the
 parsing problems. But we're facing a freezing all-time low 22 March
 tomorrow, and the plugin says it is going to be nice summer temperature
 of 23 degrees Celsius :D. (yes, checked the setting). So, F/C numbers
 are a not aligned yet.
 
Lemme try to find an example to fix :).

-Greg



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

2013-03-24 Thread GoCubs

Attached is 5.9.15b2.  I've made many updates to the parsing logic as I
have found some notable differences in some of the content by location
and snow vs. rain.

As part of the snow vs. rain changes you'll likely need to update the
display preferences for each player not to include 'RAIN' as 'RAIN' or
'SNOW' is now included as part of %x.

To match with weather.com's new way of presenting data 1/2 of the day
there will be a 'TODAY' and the other half will be 'OBSERVED TODAY'. 
Observed today represents the overall conditions that have occurred
today as well as what the observed high was.  Hit up/down on the remote
in the morning vs. evening and you'll see what I mean.

Please let me know how it goes.  If you experience any '-' in the upper
right hand corner please look at the logs to see what is failing and
also provide me with what weather identifier you're using.

Thanks
-Greg


+---+
|Filename: Plugin.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=14645|
+---+


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

2013-03-17 Thread GoCubs

All-

Attached is an updated plugin.pm file that provides initial weather.com
parsing fixes.  It also includes NBA parsing fixes (thanks Steve!).

As I've done in the past with site changes I'll post a number of betas
as I make parsing updates.  This beta1 may not include all data
elements, but it shouldn't result in any parsing errors (indicated in
log output as well as by a '-' in the upper righthand corner.  Please
feel free to try the betas out and let me know any issues encountered. 
Once things get stable I'll cut an official release.

Now's also a good time to let me know of any other non-weather.com
parsing issues you may be aware of so I can get them included too.

Thanks
-Greg


+---+
|Filename: Plugin.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=14614|
+---+


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

2013-03-16 Thread GoCubs

Short for time so I'll post more later, but yes I'm aware that
weather.com has changed their site again.  I hope to have some time to
work on this tomorrow and post a fix shortly thereafter.  We can also
talk about adding other weather feeds, etc.

-Greg



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

2012-05-18 Thread GoCubs

BoomX2 wrote: 
 I've noticed this as well.  It happens when there is no wind and
 weather.com reports it as calm.

Ahhh.  I need to find an example.  Just tried 15 cities and they all
have some wind right now.  Is it 'calm' or 'Calm'?

Thanks
Greg



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

2012-05-18 Thread GoCubs

kllngtme wrote: 
 I do, I'm using custom clock and the superdatetime thingy. So all I went
 to extras/superdatetime and it wasnt populating any results for the
 weather. I went to applets to see if I could reinstall it on the touch
 but theres not an option to reinstall that applet. I turned off the
 touch so the screensaver would go on, it started working again.
 
 So what was the issue? I literally did nothing really but go through the
 menus and stuff.. haha.. I don't get it.. whatever, it's working now..

I think this has to do with the fact that there's potentially an extra
weather period in the data SDT passes to custom clock.  CC may need to
do an update to their code to accommodate, but I also need to check if
I'm purging the extra period when it doesn't exist.

Thanks
-Greg



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

2012-05-18 Thread GoCubs

erland wrote: 
 Thanks for your excellent work and to everyone else helping to provide
 patches.
 After a few days without SuperDateTime I've realized how much I love it
 so a donation is now on the way to show my appreciation.
 I would also like to encourage anyone else who feel the same way to do
 the same thing.

Thanks Erland and everyone else that has donated.  Donations are much
appreciated!

-Greg



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

2012-05-18 Thread GoCubs

prabbit wrote: 
 I haven't installed the update yet to confirm if this is a release notes
 issue or a problem in the code, but this is incorrect. The NHL Atlanta
 Thrashers should be replaced with the Winnipeg Jets, not the Minnesota
 Wild.

Oops I'm bad.  I'm pretty sure the code is correct, I just explained it
wrong in the release comments.

Thanks
-Greg



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

2012-05-18 Thread GoCubs

rayman1701 wrote: 
 I noticed last night after installing the latest official that the NBA
 playoff game last night didn't parse right, so ESPN must have changed
 that again.  I was just checking everything out to make sure everything
 was working after I installed it earlier in the day.  Everything else
 looked good, and NHL  MLB worked fine.

Is anyone else experiencing this?  I'll have to check.  I stopped
watching after the Bulls dropped out...

-Greg



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

2012-05-15 Thread GoCubs

phred wrote: 
 Greg-
 It looks like you're close to getting SDT back to it's good old reliable
 functionality again.  Thanks for that.  I see a mention that the TODay
 issue is resolved in the next update.  But what about the skipping of
 one day in the forecast.  In my quoted example from a Wednesday, the
 Friday forecast is missing.  It's either the third -day- that's missing
 or the fourth forecast.  Last night (Friday) the sequence was 
 TONight
 TONIGHT
 TOMORROW
 Mon May 14
 Tues May 15
 Wed May 16
 
 Sunday was missing.  Which leads me to believe that it's the fourth
 position rather than the third day, that's missing.
 
 Let me know if I can provide any more information which will help
 resolve this issue.
 
 Thanks for your help.
Ahhh.  Looks like the first time the plugin refreshes the data is
correct but on subsequent refreshes something is goofy.  I didn't notice
while doing my own testing as I am constantly restarting as I do code
tweaks and it never had a chance to refresh a second time.  Lemme figure
out where it's coming from.  Also surprised a remote button '+' doesn't
temporary fix.

-Greg



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

2012-05-15 Thread GoCubs

shabbs wrote: 
 Upgraded my SS to v7.7.2 - r33893 and SuperDateTime plugin to v5.9.14
 Alpha 3 over the weekend... so glad to have it back. Thanks to Greg and
 all that contributed. Much appreciated.
 
 Greg - I did notice that the list of NHL teams does not include the
 newly relocated Winnipeg Jets (formerly the Minnesota Wild). The Wild
 reference is still there.

Good catch.  Apparently there must not be many former Wild / new Jets
fans!

Should be fixed in the next release.

Thanks
-Greg



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

2012-05-15 Thread GoCubs

jallison wrote: 
 Careful...the Wild are still very much in existence. The Atlanta
 Thrashers moved to Winnipeg to become the new Jets.
 
 - Jeff
Thanks Jeff!  I missed that.

-Greg



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

2012-05-15 Thread GoCubs

5.9.14 has been released.

What's new:
-Fixed most weather.com parsing (more updates to come...)
-Fixed MLB parsing.
-Added additional German translations
-Replaced NHL Thrashers with Wild.

It'll eventually make it to the official Logitech repository but you can
also find it at my repo at
http://grebrown-projects.googlecode.com/svn/repo.xml or manually
download at http://code.google.com/p/grebrown-pr...downloads/list .

Given all the parsing changes please let me know if you experience any
issues, particularly if you get a '-' in the upper left corner of the
display.

As always if you enjoy the plugin and would like to support its
development and maintenance please feel free to donate via the link
shown at http://gregbrown.net

Thanks
-Greg



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

2012-05-11 Thread GoCubs

Eeyore69 wrote: 
 I have applied the A2 and then the A3 update and it cured most of the
 problems on my SB2. I use a lot of the weather settings and most are now
 working. But I use P=%p in my settings to display the atmospheric
 pressure. While the temperature, humidity and other settings display
 properly all I see for the pressure is P= with no reading for the
 pressure. Anyone have any ideas? Has weather.com dropped that reading
 from the information that they provide?
 
 Thanks,
 
 Eeyore
Hi Eeyore-
With the new site updates initially I couldn't find pressure anywhere on
the site, however, in looking today it appears to have been added.  As
such I'll include it in the next release.

Thanks
-Greg



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

2012-05-11 Thread GoCubs

Chippy wrote: 
 Hi guys -
 Alpha 2 is working fine for me on my SB3 and Boom. It is also working on
 my Radio (using Custom Clock), although I notice that the first three
 characters of the period are capitalized - for example: TODay, TONight.
 
 The issue doesn't appear on the Boom and SB3 - possibly because these
 words are capitalized on these devices.
 
 Chippy
You're correct.  I forgot that touches is case sensitive while
non-touches are not.  I noticed after deploying the other day.  I'll fix
it in the next release.

Thanks
Greg



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

2012-05-05 Thread GoCubs

rayman1701 wrote: 
 So now I'm really confused.  No matter which version of the plugin I
 try, I just can't get it to have the baseball scores.  NBA  NHL are
 fine but no MLB, I've tried the older one that had been working for me
 before this crash, version 9.13, and the new alpha.  It is so weird that
 it happened at the same time.  So does anybody else have any issues with
 MLB?  If not would clearing the cache maybe help it out? Such weird
 timing if it went out at the same time, but it's been known to happen
 with the scores.  So any help would be appreciation.  Thanks.

I have to dig deeper but I think you may be correct that MLB now has an
issue too.  Good times...

-Greg



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

2012-05-05 Thread GoCubs

I've gone ahead and posted 5.9.14 Alpha 2 to
http://code.google.com/p/grebrown-projects/downloads/list .  As
mentioned previously you'll need to manually install this version verses
using the repository.  Once I have a more final version I will post it
to the repository.

In this version I've continued my focus on fixing parsing issues related
to more common display items.  Since the content is now spread on more
pages I have to make extra HTTP fetches and had to tweak some of the
related logic and refresh dependencies.  I also fixed the 'Donate' link
accessible from the plugin setting page (hint hint!).  You can also
donate via gregbrown.net.  All donations are much appreciated and
encourage continued support.

What's next-
-Fixing MLB parsing (yes it appears to have just broke too...)
-Correcting parsing on more of the missing fields
-With the new page layout the number of possible periods is now variable
based on time of day- Current/Today/Tonight/Tomorrow/Tomorrow Night. 
'Today' disappears after a certain point in the current day.  Previously
it was a fixed number where if today was no longer relevant then
tomorrow night would appear but now tomorrow night is always available. 
As such I need to evaluate how to best get the extra period in there
dynamically.  Hopefully I didn't hardcode any array/hash lengths
previously.
-Previously the long weather description text was all on a separate
page.  Looks like I can now get it from the other pages so I need to
evaluate how to best do that instead of the extra HTTP get.

Thanks
-Greg



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

2012-05-05 Thread GoCubs

BoomX2 wrote: 
 Greg,
 
 If you want to keep focusing on the weather.com changes I can help you
 with the MLB fix.  I have MLB scores working on my system again, but
 want to check a couple more things before passing it on.
 
 Don

Thanks Don.  Wish I had checked this first.  I actually have it working
on mine now too, but similar to you it's hard to know for certain if
what I've done covers all the possibilities.  Here's my current 'for'
loop.  Have a look if you don't mind.  There's a lot of different ways
to parse this stuff.


Code:


for my $game_div ( @game_divs ) {
next unless $game_div-look_down( _tag, div, class, 
qr{game-header} );
my @clock = $game_div-look_down( _tag, p, id, 
qr{statusLine1} );
my @teams = $game_div-look_down( _tag, a, href, 
qr{/mlb/team/_/name/} );
my @scores = $game_div-look_down( _tag, li, class, 
qr{finalScore} );

if ( (scalar (@clock)  0)  (scalar (@teams)  0)  (scalar 
(@scores)  0) ) { #Make sure we got some good HTML to play with
#my( $outcome_txt ) = $outcome[ 0 ]-content_list;
my( $clock_time )  = $clock[ 0 ]-content_list;
my( $away_team )   = $teams[ 0 ]-content_list;
my( $home_team )   = $teams[ 1 ]-content_list;
my( $away_score )  = $scores[ 1 ]-content_list;
my( $home_score )  = $scores[ 2 ]-content_list;

my $home_logo = $teams[1]-as_HTML;
my $away_logo = $teams[0]-as_HTML;
  
$home_logo =~ m/name\/(\w+)\//; 
$home_logo = 
'http://assets.espn.go.com/i/teamlogos/mlb/sml/trans/' . $1 . '.gif';

$away_logo =~ m/name\/(\w+)\//;
$away_logo = 
'http://assets.espn.go.com/i/teamlogos/mlb/sml/trans/' . $1 . '.gif';
  
$sportsData{'MLB'}{$home_team.$clock_time}{'homeTeam'} 
= $home_team;
$sportsData{'MLB'}{$home_team.$clock_time}{'awayTeam'} 
= $away_team;

$sportsData{'MLB'}{$home_team.$clock_time}{'homeLogoURL'} = $home_logo;

$sportsData{'MLB'}{$home_team.$clock_time}{'awayLogoURL'} = $away_logo;

#For now we'll just set the game logo to the home team 
logo

$sportsData{'MLB'}{$home_team.$clock_time}{'gameLogoURL'} = $home_logo;

#Check to see if home score is a numeric, otherwise 
there isn't a score yet and set to blanks
#if( $home_score =~ /^\d/ ) {
if( $clock_time =~ /ET$/ ) {

$sportsData{'MLB'}{$home_team.$clock_time}{'homeScore'} ='';

$sportsData{'MLB'}{$home_team.$clock_time}{'awayScore'} ='';
$home_score = '';
$away_score = '';
}
else {

$sportsData{'MLB'}{$home_team.$clock_time}{'homeScore'} =$home_score;

$sportsData{'MLB'}{$home_team.$clock_time}{'awayScore'} =$away_score;
  
}

$sportsData{'MLB'}{$home_team.$clock_time}{'gameTime'} 
= convertTime($clock_time);
  
if ((teamCheck($home_team,\@MLBteams)==1) || 
(teamCheck($away_team,\@MLBteams)==1)) {
displayLines($client, $clock_time, $away_team, 
$home_team, $away_score, $home_score, 'MLB', 'getMLB', \shortenMLB, \%MLBmap);
}
} 
else {
$status = '-';
$log-warn('Error parsing MLB data');
}
}
  




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

2012-05-03 Thread GoCubs

Looks like weather.com revamped their site as part of their 30th
anniversary.  For current, today, and tomorrow I think we'll have to hit
three pages (http://www.weather.com/weather/tomorrow/60614 too) instead
of 1.  Ugh.

-Greg

BoomX2 wrote: 
 I also noticed that SDT started having problems parsing weather.com at
 about 8 PM local last night for me.  With just a quick look at the
 changes weather.com made to their site I can see this update will take a
 while to work through.  The information that used to be parsed out of
 one URL has been spread across at least 2 URLS.
 
 For example what used to be on 
 http://www.weather.com/weather/today/66062
 
 is now on 
 http://www.weather.com/weather/right-now/66062
 and
 http://www.weather.com/weather/today/66062
 
 I'm pretty tied up for the next few days, but might be able to take a
 hack at it later this weekend unless someone else can get to it sooner.



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

2012-05-03 Thread GoCubs

Given the weather.com overhaul there's a good amount of HTML fetching
and parsing to fix.  As I make updates to correct I'm going to post
5.9.14 'alphas'.  If you're interesting in using them you'll have to
manually install instead of using a repository.  Once everything is
looking pretty good I'll post a release to the repository.

Alpha 1 is posted to  to
http://code.google.com/p/grebrown-projects/downloads/list.  It includes
the more 'common' current condition data elements (temp, hi/lo,
conditions, precip, humidity, dewpoint, icon).  Use up/down on your
remote until you're viewing that particular view.  The other views won't
look right until I get to them.

I'm also doing my best to 'wrap/catch' parsing exceptions so that if any
HTML tags break going forward it'll be less likely to bring the whole
plugin down.

Thanks
-Greg



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

2012-03-21 Thread GoCubs

5.9.13 has been released.

What's new:
-Fixed NCAA Basketball parsing

It'll eventually make it to the official Logitech repository but you
can also find it at my repo at
http://grebrown-projects.googlecode.com/svn/repo.xml or manually
download at http://code.google.com/p/grebrown-pr...downloads/list .

I didn't have time to test locally, please let me know if you have any
issues.

As always if you enjoy the plugin and want to support its development
and maintenance please feel free to donate via the link shown at
http://gregbrown.net

Thanks
-Greg


-- 
GoCubs

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

2012-03-14 Thread GoCubs

I've submitted the code changes that Don has provided (big thanks Don!).
A new build will be triggered on the hour and we can try it out.  If it
looks good can push it out to the masses.

Don-
Please let me know if you'd like access to the Google Project.  With it
you can update the changes directly there and speed up the release
process from me manually doing them.

Cheers
-Greg


-- 
GoCubs

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

2012-02-14 Thread GoCubs

5.9.12 has been released.

What's new:
-Added new macro variables to round wunderground temperature readings.
-Fixed NBA parsing.
-Fixed shortening of High/Low (Hi/Lo) on Boom displays to gain screen
real estate.

I believe it'll automatically make it to the official Logitech
repository but you can also find it at my repo at
http://grebrown-projects.googlecode.com/svn/repo.xml or manually
download at http://code.google.com/p/grebrown-projects/downloads/list
.

As always if you enjoy the plugin and want to support its development
and maintenance please feel free to donate via the link shown at
http://gregbrown.net

Thanks
-Greg


-- 
GoCubs

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

2012-02-01 Thread GoCubs

atlslim;687610 Wrote: 
 Hi Greg,
 The version I downloaded from your link did not contain the CBB fix?
 
 Thanks

Crap, I did the fix in the NBA code instead of CBB!  I've checked in a
fix, a new RC build (5.9.12) should be auto-generated in ~25 minutes.

Sorry.
Greg


-- 
GoCubs

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

2012-02-01 Thread GoCubs

jojopuppyfish;687788 Wrote: 
 I appreciate you getting back to me. 
 So if I fill in the zip code under the weather.com field and then fill
 in wunderground field, your plugin will default to wunderground?
It'll always get data from weather.com.  If wunderground is filled in
it will also get data from there.  It will display whatever respective
macros you've used for each player.

-Greg


-- 
GoCubs

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

2012-01-30 Thread GoCubs

jojopuppyfish;687005 Wrote: 
 Any help on my issue?

If I remember correctly the plugin defaults to Chicago when a new
preference file is created.  Just change it to your zipcode/identifier.
Before wunderground support was added the code assumed you'd always
want to get weather.com data and I never removed that assumption.  It
shouldn't hurt anything having one in there.

-Greg


-- 
GoCubs

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

2012-01-30 Thread GoCubs

treble;687146 Wrote: 
 Hi Greg,
 
 I downloaded the plugin and copied it to my
 /var/lib/squeezeboxserver/Plugins/ directory on my vortexbox.  After
 restarting squeezeboxserver, both HI/LO on the Boom and the rounded
 Wunderground temperature is working!  
 
 At first I was a bit confused if I had the new version installed since
 it has version 5.9.9 in the install.xml file.
 
 Thank you so much!
Thanks for testing it out.  Looks like I forgot to update the
install.xml.  I'll update it in the next release and bump the version
to 5.9.11.

-Greg


-- 
GoCubs

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

2012-01-30 Thread GoCubs

I've gone ahead and checked in the NCAA basketball parsing fix that
BoomX2 posted and generated a new release candidate- 5.9.11.  

http://code.google.com/p/grebrown-projects/downloads/list

Anyone care to manually download/install and give it a whirl before I
make it official?

Thanks
-Greg


-- 
GoCubs

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

2012-01-22 Thread GoCubs

treble;674896 Wrote: 
 Great that you are back on it!  I can imagine you must get tired of
 always having to update this plugin when something out of your control
 changes!
 
 I would request a new setting.  When you get the Weatherstation data
 from Wunderground it has a decimal point in it plus decimal degrees,
 like 68.5 degrees.  Unfortunately that takes up too much space on my
 Boom display.  Can their be an option for 'rounded Wunderground
 temperature'?  Something like maybe %r, that converts 68.5 to 69?
 
 I am also not sure if the High and Low are correctly abbreviated for
 all lines (103) on the Boom display to HI and LO resp. with the current
 version. I have edited my par file a while back to correct it, I am
 running 5.9.8, so not necessarily the latest version.
 
 Thanks,
Hi Treble-

I made these changes the other day but haven't had time to test out the
Boom HI/LO stuff.  If you have a chance can you try out 5.9.10 release
candidate posted at
http://code.google.com/p/grebrown-projects/downloads/list .  You'll
have to manually install it instead of using a repo.

Thanks
-Greg


-- 
GoCubs

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

2012-01-07 Thread GoCubs

erland;679406 Wrote: 
 Greg, let me know if we can add this repository to the central one so
 users don't have to configure it manually.

Hi Erland-

Let's give it a go!

Thanks
Greg


-- 
GoCubs

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

2011-12-24 Thread GoCubs

Meant to post this earlier but I've moved the code for SuperDateTime
over to a GoogleCode project and also updated it for the known issues. 
If some of you wouldn't mind, please give this version a try to ensure
all is well, particularly the repository.  Once given the green light
myself or other verified members of the community can update the code
and automatically generate a new build.

Manual download:
grebrown-projects.googlecode.com/files/SuperDateTime5.9.9.zip

Repository:
http://grebrown-projects.googlecode.com/svn/repo.xml

Cheers
Greg


-- 
GoCubs

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

2011-12-04 Thread GoCubs

Sorry everyone for being off the grid.  Work and travel have been
especially challenging the past 6months.

I'm in the process of moving everything to a GoogleCode project.  I'm
setting things up so that certain users can contribute code/fixes and
automatically post a new build.  I'm nearly done with the project
creation and automation.  I just need to do some minor tweaks and post
the automation portion to my server back home.  I'd normally do it
remotely but my remote access is blocked at the moment.

The initial version will include version support for 7.7 and the
wunderground fix that was posted to the forums.  Any other fixes
desired please let me know!

Thanks
Greg


-- 
GoCubs

GoCubs's Profile: http://forums.slimdevices.com/member.php?userid=312
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] Super Date Time fix for Logitech Media Server

2011-12-04 Thread GoCubs

erland;674383 Wrote: 
 I haven't really taken ownership of it, SDT is still maintain by GoCubs,
 I just provided a patched version until he is able provide an official
 release. As I've understood an official release should happen in the
 near future, so after that it's not needed to setup my testing
 repository to use SDT.
Sorry everyone for being off the grid.  Work and travel have been
especially challenging the past 6months.

I'm in the process of moving everything to a GoogleCode project.  I'm
setting things up so that certain users can contribute code/fixes and
automatically post a new build.  I'm nearly done with the project
creation and automation.  I just need to do some minor tweaks and post
the automation portion to my server back home.  I'd normally do it
remotely but my remote access is blocked at the moment.

The initial version will include version support for 7.7 and the
wunderground fix that was posted to the forums.  Any other fixes
desired please let me know!

Thanks
Greg


-- 
GoCubs

GoCubs's Profile: http://forums.slimdevices.com/member.php?userid=312
View this thread: http://forums.slimdevices.com/showthread.php?t=91923

___
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

2011-06-12 Thread GoCubs

Hey guys-

Is anyone still having this issue without applying the fix mentioned in
this thread?  I was overseas until yesterday and mine appear to be fine.
Perhaps the problem self-corrected?

Thanks
-Greg


-- 
GoCubs

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

2011-06-12 Thread GoCubs

JAD1;634343 Wrote: 
  GoCubs;625763 Wrote: 
  I've gone ahead and posted 5.9.7 to www.gregbrown.net.
  
  Greg,
  
  I realize you've been busy. Like others of us, I really appreciate the
  updates. Today I saw a tornado watch appear on my Boom, a real rarity
  in Philadelphia, even though a tornado touched down last week and added
  on to the excitement from an earthquake, yet another rarity that was
  felt by few, days before. I wanted to see what folks thought about
  adding an audible alarm that would draw our attention to severe weather
  alerts. We have a lot of options in how we control the alarm clock, so a
  severe weather alert with similar audible features might meet most
  people’s preferences. Would you consider adding this feature? I'd love
  to hear what others think too.

 
 Hi Joe-
 
 Thanks for the suggestion.  This was either discussed before or maybe
 I just contemplated it when I added the weather alert support. 
 Audible alerts would be cool but they present some challenges.  Which
 players should the alert be played on?  If the player is off should it
 turn it on and play the alert?  What if there's an existing playlist? 
 Should it add or wipe out the existing alert?  What if repeat is
 enabled?  Any different behavior if a player is already on?  What
 about volume levels or if a player is on mute?
 
 What also complicates things is that the code would have to keep
 track of alerts that it's already done an audible alert for. 
 Currently the code sort of wipes the data state with each data
 refresh so the alert would play over and over with each refresh.
 
 None of these things are rocket science to handle, but would require
 many configuration options to make everyone happy.  In the end it
 would likely over complicate the configuration.  I'm also a bit
 cautious on any liability that comes with it. :)
 
 So in the end at the time I decided it wasn't a path to go down :) 
 Of course that could always change depending on feedback.
 
 Thanks
 Greg


-- 
GoCubs

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

2011-04-16 Thread GoCubs

I've gone ahead and posted 5.9.7 to www.gregbrown.net.

What's new:
Added stuck monitor to determine when plugin appears stuck due to
failed parsing during data refresh.
Fixed NCAA football showing games on non-game days.  Thanks BoomX2.
Fixed weather.com and map parsing.  Thanks Peter, BoomX2, and any
others.
Fixed HI/LOW shortened text.
For non-graphical players plugin will no longer crash attempting to
call setCustomChar (I hope).
Removed Amazon associate links from settings page as they no longer
support Illinois associates. :(

I apologize for neglecting the plugin in recent months.  I'll try to do
better going forward!  Thanks everyone for posting fixes in this forum
thread.  I've done my best to incorporate them in this release.

This release includes a stuck monitor that should catch when the plugin
is 'stuck' in a data refresh.  This happens if the plugin fails to parse
HTML and the exception isn't caught.  In this scenario if the plugin has
failed to refresh completely in the time of two normal data refreshes
the plugin will force a refresh automatically.  If the HTML fails to
parse again this process will repeat.  In the past the plugin would be
stuck until someone hit the '+' remote button or restarted the server. 
Failed parsing is often caused by special weather alerts or HTML
tinkering being done by weather.com.  The hope is the HTML will
ultimately parse correctly and the plugin will automatically recover. 


Please let me know what you think.  The server log will indicate
warnings when a stuck refresh is detected.  There will likely be a
parsing error directly above that you can post to the forum, along with
your weather identifier, to help enhancing the parsing to prevent it
from happening again in a future release.

---

I want to thank everyone that has supported the plugin development by
donating via PayPal with the link provided on gregbrown.net or the
plugin settigs page.

---

I have a SuperDateTime repository available to make
downloading/updating easy. This repo is usually updated faster than the
main repo provided by Slim Devices.

To use please navigate to:
Server Settings - Plugins
and add the following repository to the 'Additional Repositories'
section:
http://gregbrown.net/squeeze/repo.xml
This will add a 'SuperDateTime Repository' to the screen that will
include an option to install the latest SuperDateTime version.

Thanks
-Greg


-- 
GoCubs

GoCubs's Profile: http://forums.slimdevices.com/member.php?userid=312
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] Super Date Time Stopped Updating

2011-04-16 Thread GoCubs

GeeJay;624605 Wrote: 
 It's not.
 
 BTW, thanks for trying to help me out.  Looks like I may be out of luck
 until Greg posts an update to SDT.  At least, I hope that fixes it

Updated version posted.  Please refer to main SDT thread...

http://forums.slimdevices.com/showthread.php?t=14327page=217

-Greg


-- 
GoCubs

GoCubs's Profile: http://forums.slimdevices.com/member.php?userid=312
View this thread: http://forums.slimdevices.com/showthread.php?t=86406

___
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

2011-04-16 Thread GoCubs

MikeMcr;625796 Wrote: 
 Hi Greg
 
 Many thanks for this update.
 
 Just to let you know, you missed the fix for HI/LO display on the Boom
 by ajkidle. See post 2158.

Drags!  I meant to check my Boom before releasing.  Sorry.

-Greg


-- 
GoCubs

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

2011-04-09 Thread GoCubs

Hey guys-

I apologize for not posting a new version in some time.  I've been
swamped with work and a home construction project.  I wasn't aware that
people were having issues.  SDT is still working for me, but there are
often locale differences that can break things.

I'm leaving on a business trip today but I'll be sure to post an
updated version either while I'm away or once I return.

Thanks!
-Greg


-- 
GoCubs

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

2010-10-26 Thread GoCubs

brucegrr;585268 Wrote: 
 I am tired of the weather.com changes/problems (not Greg's
 problem/fault)so I changed to wunderground.com.  It seems to always
 work. I just don't like the way decimals are used with wunderground. I
 Use the large screen font it overruns the screen.

Sorry to hear ya switch as I recognize your posts over the years.

-Greg


-- 
GoCubs

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

2010-10-09 Thread GoCubs

Mike Meyer;581139 Wrote: 
 The manual fix for this is listed in an above post, otherwise I'm sure
 it'll be fixed in the next release.
 
 http://forums.slimdevices.com/showpost.php?p=580612postcount=2011
Oops, I must have missed this one.  It'll be in the next release.

-Greg


-- 
GoCubs

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

2010-10-09 Thread GoCubs

mbonsack;581074 Wrote: 
 Was the fix for MLB scores not updating included, as outlined in this
 post?
 
 http://forums.slimdevices.com/showpost.php?p=571915postcount=1956
 
 Not that it matters anymore for this year, as the Padres flamed out
 rather spectacularly in September :-(
 
 As always, thanks for keeping this current!
 
 -mark
Pretty sure I nabbed that one.

Thanks
-Greg


-- 
GoCubs

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

2010-10-09 Thread GoCubs

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'd try doing this again as I think it should work.  If it still
doesn't please post your log file to see what's causing it not to load
up.

Thanks
-Greg


-- 
GoCubs

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

2010-10-09 Thread GoCubs

nicketynick;581428 Wrote: 
 If there are configurable settings for the controller somewhere, I've
 never found them. IIRC, the code for the controller is entirely
 separate from the regular SDT - its all in something other than perl...
 lua, or something like that??? I suspect that there is something similar
 to the .pref file that has been corrupted - we just need to figure out
 how to fix it! I've tried rebooting the controller... I wonder if
 pulling the battery might do something different
Regarding the jumbled text, I don't think there's anything that can be
done without writing a custom Lua app.  Without a Lua app the display
options are limited on getting text to appear on a controller.   I
figured the jumbled text is better than not having the additional
information.

Please keep in mind that SDT is fully integrated with the awesome
Custom Clock Lua applet.  With it you can create just about any display
you want on a controller, including full color weather maps.

http://erland.homeip.net/download/do/viewapplication?name=slimserver-customclock

Thanks
-Greg


-- 
GoCubs

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

2010-10-09 Thread GoCubs

BoomX2;581250 Wrote: 
 More than likely your blank screen problem is caused by a corrupted SDT
 preferences file.  I had the same issue maybe a year ago.  On a
 standard WinXP installation the prefs file will be located in the
 following folder:
 
 C:\Documents and Settings\All Users\Application
 Data\Squeezebox\prefs\plugin
 
 Stop squeezebox server, look for the file named superdatetime.prefs
 in the folder previously mentioned and delete it.  Restart squeezebox
 server, let SDT start up and start displaying before changing any SDT
 settings.  This will cause the superdatetime.prefs file to be recreated
 with default values.  Once you get SDT running again you can go back and
 change all your settings to the way you like them.
 
 Hope this helps,
 Don
Thanks Don for posting this.  When I just read the earlier posts I was
going to suggest the same and then saw you beat me to the punch.

Somehow some people's pref files get corrupt for one or more displays. 
I've never been able to track down the cause.  It seems to have happened
during one of the major Squeeze Server upgrades.  But I'm not certain.

-Greg


-- 
GoCubs

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

2010-10-09 Thread GoCubs

tcutting;581032 Wrote: 
 I've always (at least as long as I can remember) had similar display on
 the Controller, so I don't think that's due to latest update.
 Also, I've asked the question before about how to format on SB3 or Boom
 for extended forecasts, and never got an answer.  Codes work for
 current, and next couple time periods, but beyond that they seem to
 display what they want, and couldn't find anyway to change.
The extended forecasts are actually somewhat configurable.  I know I
outlined it in a post somewhere in this thread... regardless... you
have to go edit the preference file yourself and restart SqueezeServer.


In Windows they're in-
C:\Documents and Settings\All Users\Application
Data\Squeezebox\prefs\plugin\superdatetime.prefs

For each player you'll see something like-
weatherformat1b: 
- %t/%h %1
- %_5/%_7
weatherformat1t: 
- %y: %v
- %_3: %_0
weatherformat2b: 
- %f  %a(%c %g)
- %_0
weatherformat2t: 
- %s - %S
- %_3: %_5/%_7

1b refers to screen 1 bottom, 1t is screen 1 top.
Same for 2 if you have a Transporter.

The first line for each is the display preference for the non-extended
periods.  These are set via the normal player config screens.

The second line for each is for the extended forecasts (the ones you
want to change).  For these you have to edit the preference file
manually and restart.

They have their own % macros-
%_3 ='day'}/;
%_4 ='date'}/;
%_5 ='highF'}°/;
%_6 ='highC'}°/;
%_7 ='lowF'}°/;
%_8 ='lowC'}°/;
%_9 ='precip'}/;
%_0 ='condition'}/;

If you have 'custom' period displays these show up after the first
two.

Hope this helps
Thanks
-Greg


-- 
GoCubs

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

2010-10-02 Thread GoCubs

I'm looking into the SDT parsing issues.  I'll roll up the various other
patches too.  I actually did this a couple weeks ago but haven't had a
time to package it up.

Thanks
-Greg


-- 
GoCubs

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

2010-10-02 Thread GoCubs

I've gone ahead and posted 5.9.5 to www.gregbrown.net.

What's new:
Fixed NCAA football parsing
Fixed NHL parsing
Fixed international precip parsing.
Fixed weather alert parsing.
Fixed bug relating to the display of long weather text items.
Above thanks to BoomX2.
Fixed weather parsing. Thanks Stubie.
Minor display tweaks and fixes. 

Please let me know if you have any parsing issues. I tested some US and
international locations but it's hard to catch everything. If you see a
'-' in the upper right hand corner of your display there was likely a
parsing error that should be indicated in the log file as a warning.

---

I want to thank everyone that has supported the plugin development by
donating or making amazon.com purchases through my referral link. For
those that haven't...
Please support the plugin by starting all your Amazon.com shopping via
clicking through the Amazon.com links on www.gregbrown.net or by making
a PayPal donation.

---

I have a SuperDateTime repository available to make
downloading/updating easy. This repo is usually updated faster than the
main repo provided by Slim Devices.

To use please navigate to:
Server Settings - Plugins
and add the following repository to the 'Additional Repositories'
section:
http://gregbrown.net/squeeze/repo.xml
This will add a 'SuperDateTime Repository' to the screen that will
include an option to install the latest SuperDateTime version.

Thanks
-Greg


-- 
GoCubs

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

2010-08-01 Thread GoCubs

morsejeff;565754 Wrote: 
 Greg, your plugin is invaluable!  Thanks for taking time to fix this. 
 I've been using the SDT plugin for quite some time, but unfortunately
 it had been broken for us the past few weeks.  After realizing how much
 the wife and I missed not being able to see the weather first thing in
 the morning, we'll be making a donation!  Thanks again.
Great, good to hear you enjoy the plugin and a donation is much
appreciated!

-Greg


-- 
GoCubs

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

2010-08-01 Thread GoCubs

copperstate;565805 Wrote: 
 Just remembered that the SBS has its own language setting. Switching it
 to use german gives me german forecasts, but alas the umlauts still do
 not work. 
 
 It shows the following text on both Radio and SB3 instead of Leicht
 bewölkt. I am using SBS 7.6.0 - r31143 with Mac OS X 10.6.4 at the
 moment.
H...  this may be how Custom Clock is handling the text.  I believe
with my change Perl stores it in Unicode so I'd expect that's what's
being passed to Custom Clock.

-Greg


-- 
GoCubs

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

2010-08-01 Thread GoCubs

copperstate;565802 Wrote: 
 Thanks for fixing the Umlaut issues. :) 
 
 I'll do my best to test it, but I still have figure out what triggers
 SDT to use the german forecast instead of the english one (as it does
 on occasion, but rather rarely).
 
 EDIT:
 I get the following errors at the moment btw:
  
Code:

  
   [10-08-01 08:52:59.0191] Plugins::SuperDateTime::Plugin::gotWeather (3372) 
Error parsing weather details - precip amounts
   [10-08-01 08:53:07.6581] Plugins::SuperDateTime::Plugin::doneDrawing (4297) 
Data refresh completed with errors.
   [10-08-01 08:58:09.1784] Plugins::SuperDateTime::Plugin::gotWeather (3372) 
Error parsing weather details - precip amounts
   [10-08-01 08:58:19.0705] Plugins::SuperDateTime::Plugin::doneDrawing (4297) 
Data refresh completed with errors.
   [10-08-01 09:03:20.5615] Plugins::SuperDateTime::Plugin::gotWeather (3372) 
Error parsing weather details - precip amounts
   [10-08-01 09:03:29.5767] Plugins::SuperDateTime::Plugin::doneDrawing (4297) 
Data refresh completed with errors.
   

  
If you pull up weather.com in a web browser for your location what does
it show for precipitation amounts?  If I pull up a German location from
the US it shows 'N/A' which I check for, but a request from Germany
might show something different.  Please check.

-Greg


-- 
GoCubs

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

2010-07-31 Thread GoCubs

plympton;565165 Wrote: 
 Greg,
 
 Any way you can post your parsing methodology?  Since this seems to
 happen fairly frequently, it might be better to teach us how to fish,
 so to speak.  :-)
 
Hey Dan-

Basically each data provider in the plugin has a 'get' and a 'got'
subroutine.  The 'get' makes a asynchronous HTTP request and the 'got'
is run when the HTML response comes back.  It then parses the HTML.  I
used to just use regular expressions to parse the response HTML line by
line, but that was pretty tedious and not very efficient.  For most
parsing I now use a HTML tree builder library that parses the HTML as a
tree that I then walk to find the data elements I need.  You can look at
the 'gotWeather' routine for an example.


Another thought - I wonder if it's possible to abstract the parsing a
bit so it's read from a config file?  Something along the lines of
skipping X characters for Y field, or skipping to XX string for Y
field?  This way we could just figure out the new format and post the
config file changes.

I'd be willing to help out getting it prototyped, but I don't want to
go through the Perl brute-force figuring out what you're doing.  You
know my love of Perl.  :-)

This has been discussed a few times in the past and I appreciate the
offer to help.  Unfortunately given the complexity of their HTML and
flexible nature of HTML I don't think there'd be an easy way to abstract
the parsing logic.

-Greg


-- 
GoCubs

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

2010-07-31 Thread GoCubs

I've gone ahead and posted 5.9.3 to www.gregbrown.net.  I apologize for
the delay, I'm extremely busy at work right now.  Although I enjoy
supporting the plugin it doesn't help pay the bills.

What's new:
-Fixed weather.com parsing. Special thanks to Erland and BoomX2.
-Should handle HTML ISO 8859-1 characters better.

Please let me know if you have any parsing issues.  I tested some US
and international locations but it's hard to catch everything.  If you
see a '-' in the upper right hand corner of your display there was
likely a parsing error that is should be outlines in the log file as a
warning.

---

I want to thank everyone that has supported the plugin development by
donating or making amazon.com purchases through my referral link.  For
those that haven't...
Please support the plugin by starting all your Amazon.com shopping via
clicking through the Amazon.com links on www.gregbrown.net or by making
a PayPal donation.

---

I have a SuperDateTime repository available to make
downloading/updating easy. This repo is usually updated faster than the
main repo provided by Slim Devices.

To use please navigate to:
Server Settings - Plugins 
and add the following repository to the 'Additional Repositories'
section:
http://gregbrown.net/squeeze/repo.xml
This will add a 'SuperDateTime Repository' to the screen that will
include an option to install the latest SuperDateTime version.

Thanks
-Greg


-- 
GoCubs

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

2010-07-31 Thread GoCubs

Sunnysekot;554920 Wrote: 
 
 I still get language mixed displays from Superdatetime with this
 horrible non-HTML-translation:
 
 CURRENTLY: LEICHT BEWOUML;KT
 instead of LEICHT BEWÖLKT
 is not really nice!
 The language mix also is not so nice, but I could live with it,
 but please, Greg, could you do something about this html thing?
Please try 5.9.3 out.  It should fix this, but I am not able to fully
test as there isn't an easy way to get weather.com to think I'm in
Germany :).

Thanks
-Greg


-- 
GoCubs

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

2010-07-28 Thread GoCubs

Sorry guys for not posting anything since the Weather.com site redesign
a couple weeks ago.  I've been absolutely insanely busy at work and as
much as I like keeping the plugin current and working unfortunately it
doesn't pay my bills!

I hope to have some free time this weekend and I'll look at the
hotfixes that have generously been posted and roll them into a new
release along with any other tweaks.

Thanks again for your patience.
-Greg


-- 
GoCubs

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

2010-06-17 Thread GoCubs

PeterGV;554939 Wrote: 
 H... That's how SuperDateTime has *always* worked for me (the
 several blank screens).  I posted a question about this when I first
 got my classics but never did get an answer.
 
 For me, it's not a particular problem, so I just don't use the blank
 pages,
 
 Peter
Are your classics text only or do they support pixel graphics?

If they're text only the graphics may be throwing things off.   You
could try shutting down SqueezeServer, navigate to C:\Documents and
Settings\All Users\Application
Data\Squeezebox\prefs\plugin\superdatetime.prefs (location will vary
depending on OS).

Within this file you'll see all the SDT settings separated by player
MAC address.  Locate your classics and change all the show13line and
show1icon to 0.

For example, change:
show13line: 
- 1
- 1
show1icon: 
- 1
- 1

To

show13line: 
- 0
- 0
show1icon: 
- 0
- 0

Restart SqueezeServer and see if that helps.

Thanks
-Greg


-- 
GoCubs

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

2010-06-17 Thread GoCubs

Necromancyr;555445 Wrote: 
 Seems the national college football grabbing is bombing out and causing
 baseball (and maybe other sports grabs) to stop after the initial
 pull.
 
 Just an FYI.  Could be because it's between seasons or something, not
 sure.
 
 Also, how are things aligned in the plugin?  Because I can't get things
 looking right on my Boom at all.  Things are overlapping all over,
 pushed off the screen, etc.
The HTML for those sports likely changed.  For now disable them and
once they start up again I'll post a updated version if they still
don't parse correctly.

As for your Boom you're able to customize screen layout for each
player.  You'll need to take the Boom's smaller screen size into
account when setting up its layout.

-Greg


-- 
GoCubs

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

2010-06-17 Thread GoCubs

Sunnysekot;554920 Wrote: 
 yeah, Copperstate, but that typo is only in the forum, my config´s all
 right...
 
 Other thing:
 I still get language mixed displays from Superdatetime with this
 horrible non-HTML-translation:
 
 CURRENTLY: LEICHT BEWOUML;KT
 instead of LEICHT BEWÖLKT
 is not really nice!
 The language mix also is not so nice, but I could live with it,
 but please, Greg, could you do something about this html thing?
You're the only one I've heard that gets non-English weather content. 
Weather.com is likely figuring this out by IP address location.  It's
weird though that it isn't doing it for others.

As for fixing the characters... what's happening is there are HTML
codes that achieve the special characters.  ouml; is the same thing as
Ö.  http://www.w3schools.com/tags/ref_entities.asp lists all the
possible characters.

I can look to see if there's a Perl mod that will do the translation,
if not I could probably add some logic to replace them.  I'd need a
list from you of all the possibilities as I don't want to have to check
for every one listed on that webpage.

Thanks
-Greg


-- 
GoCubs

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

2010-06-12 Thread GoCubs

I've gone ahead and posted 5.9.2 to www.gregbrown.net.

What's new:
-Fixed MLB parsing causing infinite * data refresh. (Thanks SteveB).

I also added some error trapping to MLB and NBA parsing to prevent the
entire plugin from hanging when there's a parsing error.  In those
cases a '-' will be displayed in the upper right hand corner to
indicate there was a parsing error.

---
** Please support the plugin by starting all your Amazon.com shopping
via clicking through the Amazon.com links on www.gregbrown.net or by
making a PayPal donation. ***

I have a SuperDateTime repository available to make
downloading/updating easy. This repo is usually updated faster than the
main repo provided by Slim Devices.

Please give it a shot by adding:
http://gregbrown.net/squeeze/repo.xml
via Settings - Advanced - Extension Downloader

Thanks
-Greg


-- 
GoCubs

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

2010-05-29 Thread GoCubs

Sunnysekot;551085 Wrote: 
 1.
 well, Jasell, I really dont know how I get the german strings, they
 simply appeared since weather.com changed lots of its styles. I am
 using the same strings as everybody for SDT. Maybe they have integrated
 german strings for german locations?
 2.
 And the german character-Problem seems to be solved now. Since SDT
 5.9.1 I get oe instead of the html string. But I think this also a
 change done by weather.com not by greg (@greg: IS THIS SPECULATION
 CORRECT? Otherwise I would prefer having real german characters i.e. an
 ö instead of an oe, ä instead of ae and an ü instead of ue).
 3.
 But I really want to thank greg for this wonderful SDT and since it is
 integrated with Custom Clock it is unbelievable, what one can do with
 it. I love this plugin!
 4.
 The problem of not having forecasts on my SB-Classic is still
 remaining. Though I told SDT to get forecasts for 5 days it shows me on
 the classic only Screens for currently, today, tonight and tomorrow. No
 further days, but then blank screens. Does anyone know, what to do
 about that?
 
 Many thanks!
What weather identifier are you using?  I'd like to see the strings.  

SDT doesn't many any special character translation, so what you're
seeing is either exactly what is provided in the HTML or is how Slim
has the ASCII characters mapped.

Regarding your forecasts, it could be that there's an issue parsing
your weather identifier.  Sometimes international identifiers have
slightly different HTML that throws things off.  As an experiment try
60614 (Chicago) and see if that shows any.

Thanks
-Greg


-- 
GoCubs

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

2010-05-29 Thread GoCubs

earthbased;551236 Wrote: 
 No, the crashing started recently so not sure where the cause is.  I
 have been running the unofficial ssots on qnap to run your version
 that required SS 7.5.
 
 Attached is a log snippet; mysql seems to be problem?
 
 Thanks,
 Dan
 
From the log snippet I see SDT occasionally times out on web requests,
but it looks like it recovers after a second attempt.  Not sure on the
mysql stuff.  I'm not familiar with troubleshooting it.  What do the
logs say right when it crashes?

Thanks
-Greg


-- 
GoCubs

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

2010-05-27 Thread GoCubs

earthbased;550693 Wrote: 
 I just updated but now have the '*' symbol popping up on screen scrolls.
 Oops, it just went away!  I know the '?' means it cannot reach the
 Internet, but what does the * symbol mean and are there any other
 diagnostic symbols?
 
'*' means it's in the middle of a data refresh.  Only '*' and '?' are
currently used.
 
 And thanks for the update as I think it may cause my Qnap-based SS to
 crash, anyone else having crash problems?  Maybe not that, don't want
 to point fingers, but the crash is so infrequent, 2 weeks on average,
 that it is hard to troubleshoot.
Are you saying the latest version causes it to crash, or you've had
this crashing problem for some time?  As plugin functionality grows it
probably has a larger hit on resources on your resource-strapped QNAP. 
Have you checked the logs to see if they offer any clues?

-Greg


-- 
GoCubs

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

2010-05-27 Thread GoCubs

jasell;550974 Wrote: 
 How do you get german readings from weather.com? Is it possible to get
 any language? Like Swedish?
I'm curious too!  Where are the German characters originating from? 
Are you typing them in as a custom display format or do they come from
a localized weather.com page somehow?  FWIW the 3-line text uses a
custom font which doesn't support 'special' characters.  I would think
line1 and line2 would support more characters.

-Greg


-- 
GoCubs

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

2010-05-24 Thread GoCubs

Bobot;550180 Wrote: 
 Greg -
 
 I can confirm the temp fix listed by plympton here
 http://forums.slimdevices.com/showpost.php?p=550022postcount=1760 has
 made the perpetual * go away on my SB3-era device.  SB Radio working
 fine.
My configuration must prevent the null value.  I'll investigate and
have an update today.

Sorry!
-Greg


-- 
GoCubs

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

2010-05-24 Thread GoCubs

I've just posted 5.9.1, it should resolve the infinite '*' issue with
5.9.0.  Basically there was an undefined variable issue that would only
surface if there are no display items to cycle through (stocks, sports,
etc.).  

Please let me know if you still have the issue with this release.  

It's funny, with the significant amount of new code introduced in 5.9.0
I intentionally went a number of beta releases before the official
release to help catch any bugs.  Of course everyone testing in the
group must have had at least one display cycle item selected.

Thanks
-Greg


-- 
GoCubs

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

2010-05-23 Thread GoCubs

mbg;549902 Wrote: 
 I tried it, but I was getting the perpetual '*' right after starting the
 server :(... so I went back to the previous version.

How did you upgrade, by repo or manually?  Did you try restarting
again?  

Is anyone else experiencing any issues with the latest version? 
Upgrading works fine for me.

Thanks
-Greg


-- 
GoCubs

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

2010-05-22 Thread GoCubs

I've gone ahead and posted 5.9.0 to www.gregbrown.net.

What's new:
-Substantial external API enhancements to bring SuperDateTime content
to Jive-based players (Touch, Controller, Radio)
via the Custom Clock applet (special thanks to Erland and Dan for all
their coordination efforts to make this happen).
-Updated weather icon images.
-Added support for weather map images by location.
-Added support for sport team logo images.
-Added support for daily stock chart images.

Yes that's right, you can now view SDT content on the Touch, Radio, and
Controller via the Custom Clock Applet!  

Custom Clock is very configurable via the Custom Clock Helper plugin to
create an infinite number of screen layout possibilities.  For those
that are more creatively inclined, it would be great if you could come
up with some awesome layout designs.  Please feel free to post them to
this thread.

---
** Please support the plugin by starting all your Amazon.com shopping
via clicking through the Amazon.com links on www.gregbrown.net or by
making a PayPal donation. ***

I have a SuperDateTime repository available to make
downloading/updating easy. This repo is usually updated faster than the
main repo provided by Slim Devices.

Please give it a shot by adding:
http://gregbrown.net/squeeze/repo.xml
via Settings - Advanced - Extension Downloader

Thanks
-Greg


-- 
GoCubs

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

2010-05-13 Thread GoCubs

hellesangel;547110 Wrote: 
 Great plugin, many thanks for your work.  I'm having trouble displaying
 the high - low forecast temperature.  
 
 The station is Munich GMXX0087 on weather.com and the %Z on the top
 line of the three line display just shows 'Low 6C'.  Scrolling up/down
 sometimes shows the high but I don't follow the logic.  The best
 display would be simple '6C - 12C', is this possible?  I've done some
 fiddling but no luck so far. 
 
 Thanks in advance.
Currently a '6C - 12C' is not possible.

I think there's some confusion on what hitting up/down actually are
intended for.  To have a better understanding please navigate to
http://www.weather.com/weather/today/Munich+Germany+GMXX0087 in a web
browser.

From this web page you'll see that it shows current conditions and a
section for 'Next 36 Hours'.  As you hit the up/down remote buttons the
display alternates between current conditions and various periods.  By
default the names of these periods will be shown on the top line if
you're using a font that supports 2lines.  The period names will be
something like 'Today', 'Tonight', 'Tomorrow' and they will
automatically shift as the day goes by based on time of day.  

The high/low shown will match whatever is shown for that period on the
web page.  Only either high or low are shown per period.  Basically
only one of them actually makes sense.  In the morning the low has
already been reached so you should care most about the high.  In the
evening the high has already been reached so you should only care about
the low.  Make sense?

Thanks
-Greg


-- 
GoCubs

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

2010-05-13 Thread GoCubs

scottmd1;547189 Wrote: 
 Hey all - 
 
 I am visiting my parents for the next few days and I am trying to get
 them up and running again since all the issues with weather.com et
 all.
 
 They have win 2000 and a classic SB - I have updated their SB software
 to the latest version and downloaded a new version of the SDT plug in.
 
 They do not use the sports or stocks or anything like that - all they
 use this plugin for is to display the TIME TEMP/FEELS LIKE
 
 At home I have XP - classic - all the latest versions and I have put
 
 %1/ %T/ %F/ %w and my display at home is correct - it shows me the TIME
 TEMP/FEELS LIKE but I can not for the life of me get that to work over
 here.
 
 Right now the display shows graphical icoms of the weather - a cloud
 with some rain and the temp - my folks are in their late 70;s and can't
 read that - they need the display to be just the largest text wtih the
 above items
 
 I just can't get rid of the icons - even if I wipe out the %1/
 etc.I have tired just %T and shows the same thing..
 
 So can anyone offer any suggestions as I am pulling my hair out here
 and only here for a few days - 
 
 Hoping someone can help save my sanity!
From your comments I assume it's a SqueezeboxG (pixel-capable
display).

From Squeezebox Server access the PLAYER settings page for your player.
From there you can disable the icons and 3line text.  Next make sure
you're viewing the correct period.  You can cycle periods via the
up/down remote buttons.  Some periods have icons no matter what, but
you don't need those.  Just keep hitting up/down until you find one
that you want.

-Greg


-- 
GoCubs

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

2010-05-12 Thread GoCubs

madpatrick;545643 Wrote: 
 Greg,
 
 On my SB Touch is noticed that High is misformed in Hi H. Is this a
 weather.com or SDT bug.
 I'm using v5.9.0BETA3 with CustomClocks as a screensaver
I haven't seen that.  Where exactly are you seeing it?  Is it always
reproducible?  What weather identifier?

Thanks
-Greg


-- 
GoCubs

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

2010-05-03 Thread GoCubs

madpatrick;542650 Wrote: 
 Hi greg,
 
 it seems that SDT will work with CustomClocks from Erland.
 
 (http://forums.slimdevices.com/showpost.php?p=542562postcount=207)
 Is there already a update available or a test version available ?
 
 Update:
 Saw the item about this issue...
 http://forums.slimdevices.com/showthread.php?t=77864page=8
Looks like you found a copy, but a beta version can be found on this
post-
http://forums.slimdevices.com/showpost.php?p=542334postcount=61

I'm still polishing off some additional functionality I'm adding to a
5.9.0 release so instead of back to back releases I figured I'd hold
off a bit to add as much as possible.  Feel free to play with the beta
and let me know what you think, I'll likely be posting another updated
beta later today to the forums.

Thanks
-Greg


-- 
GoCubs

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

2010-05-01 Thread GoCubs

stevekgoodwin;540030 Wrote: 
 Thanks Greg, that will be great but there's no rush. Nappies and work
 are time consuming things. If I get to needing the latest cut I'll let
 you know.
 
 To prevent collisions each SDT extension could ask for a %prefix,
 although I'm not sure programmatically is the right approach. If the
 allocated prefix was not consistent it would be annoying for users as
 one person's config won't be transferable (or even as Slimserver
 versions change and the SDT extensions are not updated in sync). Maybe
 it's an registration system?
 
 I could grab (say) %XA[.*] and the next thing could have %XB[.*] and so
 on. Which breaks the printf model a bit but shouldn't matter.
 
 The only caveat with the addMacro thing I'll need is to make sure the
 macros are replaced in the order they're added (eg array vs hash) to
 make sure %X10 and %X1 don't cause weirdness.
 
 Thanks!
 
 Steve.
For now to keep things simple I'm allowing a custom plugin to register
whatever macro it wants.  It'll be up to the plugin developer to ensure
that they're not using a duplicate.  On my CTA bus tracker plugin that
I'm working on I allow the custom plugin user to define the macro
name.

-Greg


-- 
GoCubs

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

2010-04-28 Thread GoCubs

Anyone live in Chicago?  I created a new plugin that utilizes
SuperDateTime's external API to display configurable bus ETAs.  By
using the external API I was able to create this plugin in a matter of
hours, pretty cool.

I figured I'd release this on a smaller audience to get any feedback
before posting it officially on the website and main repo.

Please give it a shot by adding the following repo-
http://www.gregbrown.net/squeeze/repo2.xml .

When configuring you'll see that it supports custom % display macros. 
These work the same way as % macros work in SuperDateTime.  Basically
you'll define a custom macro for a particular route you're receiving
and then you can use it in SuperDateTimes player settings like any
other macro.  You'll need SuperDateTime 5.8.16, which isn't out yet for
the custom macro functionality :) though so please don't configure any
custom ones yet!

-Greg


-- 
GoCubs

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

2010-04-28 Thread GoCubs

Anyone live in Chicago?  I created a new plugin that utilizes
SuperDateTime's external API to display configurable bus ETAs.  By
using the external API I was able to create this plugin in a matter of
hours, pretty cool.

I figured I'd release this on a smaller audience to get any feedback
before posting it officially on the website and main repo.

Please give it a shot by adding the following repo-
http://www.gregbrown.net/squeeze/repo2.xml .

When configuring you'll see that it supports custom % display macros. 
These work the same way as % macros work in SuperDateTime.  Basically
you'll define a custom macro for a particular route you're receiving
and then you can use it in SuperDateTimes player settings like any
other macro.  You'll need SuperDateTime 5.8.16, which isn't out yet for
the custom macro functionality :) though so please don't configure any
custom ones yet!

-Greg


-- 
GoCubs

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

2010-04-24 Thread GoCubs

SoundOfMind;536939 Wrote: 
 I run SB3s with Squeezebox Server on WinXP with ESET Smart Security. 
 SDT settings are DATA REFRESH INTERVAL at 11, WEATHER.COM IDENTIFIER at
 55331, WEATHER UNDERGROUND at KMNGREEN2 and all game and stock stuff
 turned off.  I upgraded to 7.5.0 and SDT 5.8.15.  Now my SB3s display
 a ? in the upper right corner, an cloud icon, and the the time, but no
 weather info.
 
 Is it possible that I have a firewall conflict - if so, what should I
 allow?
 
 Is SDT is unhappy with 7.5.0 so I should revert to 7.4.2?
 
 Thanks

SDT should work fine with 7.5.  Please check the logs to see if it can
offer some clues on what is happening.  As someone else suggested,
please also disable any sports that are not currently active.  You
might also want to check that Windows Firewall isn't blocking the
plugin from making external requests.

Thanks
-Greg


-- 
GoCubs

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

2010-04-24 Thread GoCubs

stevekgoodwin;537036 Wrote: 
 Thanks! Definitely the way to go, although I think I need to enhance the
 extension mechanism slightly.
 
 I've had a look into OceanTides and the others, and they seem to create
 their own page of data to display. What I'd like to do is to piggy
 back onto the printf style %X mechanism in the replaceMacros function
 -- that way users can choose information from different providers on
 the same screen -- I don't think that's possible with the extension
 API?
 
 If replaceMacros called replaceMacros in extension modules. That'd be
 handy! If that's the right approach let me know -- I'm happy to
 suggest/code the change to the core SuperDateTime to support this.
 
 A potential issue clashing with future % codes. My code uses
 %X[FMK]\d+(eg %X3 or %XF99.  \d is 1-99, and optional letter specifies
 a conversion to Fahrenheit/Miles/Knots).
 
 My other thought is that in a perfect world where you got paid for this
 (!) it'd be nifty to refactor the various core providers into their own
 SuperDateTiem extensions (eg one for MLB and NLA, wunderground, etc).
 That could encourage more take-up of extensions (although create a bit
 of work in the first place for probably very little gain).
 
 (Aussie users, give me a few weeks to get this fit for human
 consumption, new baby etc).
Ahh...  that's correct.  I do not currently provide a mechanism to have
your own % macro data.  I only allow additional cycling items.  Good
idea but might be a little tricky to implement.  Would probably need to
make them %x and we'd run into the risk of two plugins using the
same .

Outside of weather it would have been 'cleaner' to have each of the
data providers be standalone plugins that use the API, but then each of
them would have to have their own configuration, etc and it'd be a pain
to keep them all current with any changes necessary for them to keep
working with changes to Squeezebox server.

-Greg


-- 
GoCubs

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

2010-04-24 Thread GoCubs

earthbased;537314 Wrote: 
 Greg, is the Current Conditions not scrolling a limitation of the SB2
 hardware that cannot be worked around?  Thanks, EB

Not sure what you mean?  Are you referring to the top line text shown
when the time is also shown?

-Greg


-- 
GoCubs

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

2010-04-24 Thread GoCubs

earthbased;537314 Wrote: 
 Greg, is the Current Conditions not scrolling a limitation of the SB2
 hardware that cannot be worked around?  Thanks, EB

Not sure what you mean?  Are you referring to the top line text shown
when the time is also shown?

-Greg


-- 
GoCubs

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

2010-04-24 Thread GoCubs

hickinbottoms;537943 Wrote: 
 Not sure if it's the same problem as you but I've always had to use the
 Fahrenheit specifier (%e) for my player SuperDateTime settings in
 order
 to get Celcius for weather data from wunderground.com. I've never
 understood why, but since it works I've not worried too much about it.
 
 Stuart
 

I think in your case your wunderground station is providing its raw
data in Celsius.  The plugin has no way of knowing for certain what
format the raw data is in so it assumes Fahrenheit.

-Greg


-- 
GoCubs

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

2010-04-24 Thread GoCubs

PeterGV;539946 Wrote: 
 Symptom: SDT hanging during update, after upgrade to latest squeeze
 server.
 
 
 Some interesting errors from the log:
 
 ...
 
 Hope that helps,
 
 Peter
Hi Peter-

It looks like all external network requests, SDT or not are failing.  I
suspect Windows Firewall or a similar program is blocking them, please
check their configuration.

Thanks
-Greg


-- 
GoCubs

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

2010-04-24 Thread GoCubs

GoCubs;539938 Wrote: 
 Ahh...  that's correct.  I do not currently provide a mechanism to have
 your own % macro data.  I only allow additional cycling items.  Good
 idea but might be a little tricky to implement.  Would probably need to
 make them %x and we'd run into the risk of two plugins using the
 same .
 
 Outside of weather it would have been 'cleaner' to have each of the
 data providers be standalone plugins that use the API, but then each of
 them would have to have their own configuration, etc and it'd be a pain
 to keep them all current with any changes necessary for them to keep
 working with changes to Squeezebox server.
 

I've gone ahead and added a new Perl sub that allows you to add your
own custom % macros.  It's very simple-
addMacro('%X1234','VALUE');
SDT will basically search for whatever value you pass in as argument 1
and replace it with argument 2 with each data refresh.  Call addMacro
for each custom macro you'd like to add.

This will be in 5.8.16.  Not sure when I'll post it, but if you're
ready for it lemme know and I can quickly post.

Thanks
-Greg


-- 
GoCubs

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

2010-04-17 Thread GoCubs

stevekgoodwin;534839 Wrote: 
 Scrolling. If you know a bit of perl you need to expand the .par file
 (it's just a zip (into the parent directory)) and then edit Plugin.pm
 and remove getLongWeather in %providers around line 224. Comment out
 the getLongWeather bit with a hash and change the last , in the
 previous line to );   Worked for me, but I don't rely on anything its
 fetching.
 
 my %providers =  (
 ..snip..
 '11' = \getStocks);
 #  '12' = \getLongWeather);
 
 In other news I've written a new provider to go fetch info from
 bom.gov.au. It's official weather and more regularly updated than
 weather.com, and sometimes less weird than wunderground's results (it
 also has better coverage than weather.com)  Handily bom.gov.au provides
 data 3 formats, so no HTML scraping (I've got a Squeezbox V3).
 
 Is this the sort of thing that should be tidied up and placed into the
 main branch? Or should it remain an oddity? However... the more of
 these things placed into the main branch the further it diverges from
 its original intent, and I really don't expect the original author to
 have too much interest in maintaining Australian weather.
 
 I haven't gone to the length of updating the UI at the moment. Happy to
 do that if there's interest.
 
 (I apologise if this has been covered in some shape or form, 150+ is
 too many to read).

Good to see someone expanding the functionality of the plugin.  Instead
of altering SuperDateTime's plugin.pm SDT does expose some functions via
an API for making a independent plugin that adds a data provider to SDT
to easily add its own display content.

If you search the forums I've provided some details on the API in the
past, you can also look at
http://gregbrown.net/squeeze/SuperDateTime/OceanTides/OceanTides1-1-0.zip
for a dated (may need tweaks to work with latest Squeeze Server)
example.  There are a couple more examples at
http://code.google.com/p/mdmplugins/

Like you said instead of bloating SDT for something like this it'd be
best to create a simple plugin that SDT calls when it's doing refreshes
that will handle the new parsing and pass back the additional display
info.

Cheers
-Greg


-- 
GoCubs

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

2010-04-17 Thread GoCubs

JAD1;536245 Wrote: 
 Greg, have you ever thought about adding an audible alarm to warn of
 severe weather?
Yeah I actually did think of it.  I figured I'd get the initial
functionality out there and see what kind of response I get from
users.

I'm not sure how useful it would be for people though, especially if
they're using a non-boom player that doesn't have a receiver always
turned on or controlled by an IR sensor.  In that case they wouldn't
hear the audible alert.  We'll see though...

-Greg


-- 
GoCubs

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

2010-04-17 Thread GoCubs

copperstate;536251 Wrote: 
 Doesn't it work with 7.6? It seems to have vanished from my
 Advanced/Plugins page ...

You'll need to change install.xml to say 7.6+ instead of 7.5+.

-Greg


-- 
GoCubs

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

2010-03-07 Thread GoCubs

I've gone ahead and posted 5.8.15 to www.gregbrown.net.

What's new:
-Improved reliability for international weather identifiers.
-Updated weather periods logic to reflect weather.com's recent
changes.
-Updated MLB date range to include spring training.
---

** Please support the plugin by starting all your Amazon.com shopping
via clicking through the Amazon.com links on www.gregbrown.net or by
making a PayPal donation. ***

I have a SuperDateTime repository available to make
downloading/updating easy. This repo is usually updated faster than the
main repo provided by Slim Devices.

Please give it a shot by adding:
http://gregbrown.net/squeeze/repo.xml
via Settings - Advanced - Extension Downloader

Thanks
-Greg


-- 
GoCubs

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

2010-03-06 Thread GoCubs

Hi guys-

Please try this version out-
It should deal with international identifiers better.
Now that weather.com has changed their web page to show 3 periods like
they used to I've changed the plugin behavior accordingly.
Changed MLB date window to include this month for pre-season.

If no issues are found I'll go ahead and post it to the masses.

Thanks
-Greg


-- 
GoCubs

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

2010-03-06 Thread GoCubs

natemorriss;521153 Wrote: 
 Howdy-
 
 I've been using this plugin for a couple of years now.  When
 SnowLeopard came out and I had to upgrade to 7.4 SuperDateTime no longer
 worked.  I miss it...
 
 I turned on debug and I get the message over and over in the log:
 
 
 [10-02-27 10:01:45.6427] Slim::Buttons::Common::pushMode (2094) Error:
 Couldn't push into new mode: [OFF.superdatetime] !: Undefined subroutine
 Slim::Display::Graphics::setCustomChar called at
 /var/folders/Uz/Uzs36FYL2Rqc7E+F76ST5U+++TI/-Tmp-/par-nmorriss/cache-4bf510a8f17b04a788ee30e0fe7d37ab7e49ac9b/e2108727.pm
 line 5595.
 
 [10-02-27 10:01:46.6446] Slim::Buttons::Common::pushMode (2094) Error:
 Couldn't push into new mode: [OFF.superdatetime] !: Undefined subroutine
 Slim::Display::Graphics::setCustomChar called at
 /var/folders/Uz/Uzs36FYL2Rqc7E+F76ST5U+++TI/-Tmp-/par-nmorriss/cache-4bf510a8f17b04a788ee30e0fe7d37ab7e49ac9b/e2108727.pm
 line 5599.
 
 
 Any suggestions?
 
 Cheers,
 NATE

I think there have been posts in the past about this...  try turning
off the Icon on the player config.

-Greg


-- 
GoCubs

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

2010-03-06 Thread GoCubs

fsommer1968;520213 Wrote: 
 greetings
 
 Frank

What happens when you try to run the latest version of SDT?

-Greg


-- 
GoCubs

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

2010-03-06 Thread GoCubs

eyeguy;520110 Wrote: 
 I'm a new user, and I downloaded the plug in for my SB radio. I am
 understanding correctly that it only displays the current temp and
 weather without a forecast or sports scores at present? Any idea when
 that functionality will be available for the radio?

You should be able to access the additional data from the 'Extras'
menu.

-Greg


-- 
GoCubs

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


  1   2   3   4   5   6   7   >