Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 356 1231151101 ... LastLast
Results 1 to 10 of 3560
  1. #1
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570

    SuperDateTime Screensaver - Updates, discussion, and troubleshooting

    *** THE LATEST VERSION OF THIS PLUGIN CAN BE FOUND AT www.gregbrown.net/squeeze ***
    The latest version of the plugin has graphical weather icons and optionally shows game score and time information for MLB, NBA, NHL, NFL, and college football and basketball as well as stock/market information from Yahoo finance.
    ************************************************** *********************

    Attached to this message is a new version of SuperDateTime screensaver plugin which is now fully configurable. The plugin has been tested for v6.x of SlimServer. See below for installation instructions.

    This is a screen saver based on the datetime screensaver. It shows the current date/time along with the current temperature and "feels like" temperature for a given city.

    The screen saver also optionally checks to see if a particular baseball team has a game scheduled. If there is one, the game time or score and inning information are displayed instead of the date/time every x seconds.

    The city, team, and all related settings are user-configurable via the SlimServer server plugin settings web interface.

    Please let me know if you have any questions.

    ALSO - Could someone at SlimDevices please add this screensaver to the SlimDevices plugin page? Thanks!

    TO INSTALL:
    # 1. Unzip superdatetime.pm file into SlimServer\server\Plugins\SuperDateTime folder.
    # 2. Restart slimserver.
    # 3. Ensure plugin is enabled from Server Settings / Plugins web page.
    # 4. Configure custom plugin settings (City, Team, etc.) from Server Setttings / Plugins web page.
    # 5. Enable screensaver for when a player is turned off from Player Settings web page.
    Last edited by GoCubs; 2007-04-23 at 18:09.

  2. #2
    Senior Member davep's Avatar
    Join Date
    Apr 2005
    Location
    Singapore
    Posts
    630
    GoCubs

    Nice idea for a screensaver - I like to be able to see the temperature at a glance.

    Couple of comments:
    1. Is is possible to set the default to metric (i.e. centigrade) somewhere?

    2. For some reason the maximum +ve offset from EST in the web interface is +9. There are places (like mine) where this can be +12 (or even +13 in winter). Having said that it doesn't seem to make any difference to the actual time displayed, which appears to be correct whatever offset is selected.

    3. I think that music playback on the SB2 is being interrupted for a couple of seconds during the time that the plugin goes to goes to fetch the upadtes. This seems pretty consistent in my quick test.

    Running Mandrake 10.2

    davep

  3. #3
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570
    Quote Originally Posted by davep
    1. Is is possible to set the default to metric (i.e. centigrade) somewhere?
    Good idea. I'll add another setting for that.

    Quote Originally Posted by davep
    2. For some reason the maximum +ve offset from EST in the web interface is +9. There are places (like mine) where this can be +12 (or even +13 in winter). Having said that it doesn't seem to make any difference to the actual time displayed, which appears to be correct whatever offset is selected.
    The time offset is only used when displaying baseball game times. If you're not using this functionality the setting wont be used at all. I didn't think anyone that cared about American baseball would be in such a large offset. I'll go ahead and add more offsets.

    Quote Originally Posted by davep
    3. I think that music playback on the SB2 is being interrupted for a couple of seconds during the time that the plugin goes to goes to fetch the upadtes. This seems pretty consistent in my quick test.
    Hmmmm. Are there multiple SB's in your configuration, some turned on and some off when this happens? Or are you using the screensaver while the music is playing? The plugin is designed to only fetch updates when it is actually displaying information. Even if it were though, I wouldnt think the script would generate that much server load to blow through the HUGE audio cache on the SB2.

    Please let me know.

  4. #4
    Senior Member davep's Avatar
    Join Date
    Apr 2005
    Location
    Singapore
    Posts
    630
    Quote Originally Posted by GoCubs
    The time offset is only used when displaying baseball game times. If you're not using this functionality the setting wont be used at all. I didn't think anyone that cared about American baseball would be in such a large offset. I'll go ahead and add more offsets.
    That explains why the time was correct for me - I wasn't using the baseball scores feature. I wouldn't assume that people this far east have no interest, there are a lot of American expats around.

    Quote Originally Posted by GoCubs
    Hmmmm. Are there multiple SB's in your configuration, some turned on and some off when this happens? Or are you using the screensaver while the music is playing? The plugin is designed to only fetch updates when it is actually displaying information. Even if it were though, I wouldnt think the script would generate that much server load to blow through the HUGE audio cache on the SB2.
    Actually I miswrote - the SB I was testing on last night was one of my SB1's not my SB2, so no huge buffer. I did have only 1 out of 3 SB's on at the time and was using the screensaver while the music was playing.

    Were you thinking that this would primarily be used as the "power off" screensaver? Actually that's probably how I'll use it anyway as I much prefer to see the Now Playing info whilst listening to music.

    davep

  5. #5
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570
    Quote Originally Posted by davep
    Actually I miswrote - the SB I was testing on last night was one of my SB1's not my SB2, so no huge buffer. I did have only 1 out of 3 SB's on at the time and was using the screensaver while the music was playing.

    Were you thinking that this would primarily be used as the "power off" screensaver? Actually that's probably how I'll use it anyway as I much prefer to see the Now Playing info whilst listening to music.

    davep
    Yeah. I figured most people would use it as an off saver. I'll see if I can reproduce any audio problems when data refreshes occur. If I can, I'll see if I can figure out a way to fix it.

    Thanks again for the feedback.

  6. #6
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570

    Updated version, now with celsius support

    Attached in an updated version, now with Celsius support and additional time zone offsets.

  7. #7
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570

    Minor bugfix

    Oops, somehow I introduced a new display bug with the latest versions...

    # 3.0.6 03/20/05 Fixed display bug when displaying final game scores that trigger scrolling due to their length.

  8. #8
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570

    Minor fixes.

    # 3.0.8 06/01/05 Minor bug/display fixes. No longer displays "feels like" temperature if the same.
    # 3.0.7 05/20/05 Fixed timezone bug where a data refresh resets offset setting.

  9. #9
    Junior Member
    Join Date
    May 2005
    Location
    Boston, MA
    Posts
    9
    GoCubs,

    I really liked this screensaver once I got it going (Note: Winzip has some problems opening that zip file. Had to use alternate means.)

    I was wondering if you could modify it to show more than just one team... so when it pulls the info from the page, it uses an array to store all of the scheduled games/games in progresss and displays them one at a time running through until the next refresh time. I think with a refresh of 5 minutes you could get through all of the games easily enough...

    the reasoning behind the request is, while the game I am interested in is on, the TV is on

    Also, maybe in the fall mod it to do NFL scores, NBA scores or NHL scores...or all of the above? That would rock.

    Thanks for the work so far!

  10. #10
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570
    Quote Originally Posted by cdfreak
    GoCubs,
    I really liked this screensaver once I got it going (Note: Winzip has some problems opening that zip file. Had to use alternate means.)
    Thanks. Hmmm. I used the native Win XP .ZIP file support. I'll have to look into this.

    Quote Originally Posted by cdfreak
    I was wondering if you could modify it to show more than just one team... so when it pulls the info from the page, it uses an array to store all of the scheduled games/games in progresss and displays them one at a time running through until the next refresh time. I think with a refresh of 5 minutes you could get through all of the games easily enough...
    I knew it would only be a matter of time before someone would ask for multiple team support. Had I thought ahead I could have easily implemented this from the beginning, but I had not programmed in Perl before and I jumped into coding quick. This feature is next on my list of enhancements.

    Quote Originally Posted by cdfreak
    Also, maybe in the fall mod it to do NFL scores, NBA scores or NHL scores...or all of the above? That would rock.
    Yeah yeah yeah. Time permitting I'll try to get these added. NFL and NBA would come first. I haven't looked at the HTML behind those web pages, hopefully they're easy to parse. Some random inconsistencies in the MLB ones took some playing with to get working right.

    Thanks for the feedback. It's good to know people like the script/are using it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •