Announcement

Collapse
No announcement yet.

Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver

    *** 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-24, 02:09.

    #2
    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

    Comment


      #3
      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.

      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.

      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.

      Comment


        #4
        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.

        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

        Comment


          #5
          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.

          Comment


            #6
            Updated version, now with celsius support

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

            Comment


              #7
              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.

              Comment


                #8
                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.

                Comment


                  #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!

                  Comment


                    #10
                    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.

                    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.

                    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.

                    Comment


                      #11
                      Version 3.2.0 - Now with multiple team support and humidity display!

                      # 3.2.0 06/09/05
                      Added support for tracking of multiple baseball teams.
                      Added option to display humidity level.

                      Please test this version out. I cleaned up the code quite a bit and hopefully didn't introduce any new bugs. The new version should also make it easier for me to add additional sports in the future

                      Comment


                        #12
                        Unable to extract

                        I'm trying to user SuperDateTime, and I can't unzip it. I've tried WinZip on Windows, gunzip & unzip on linux, all without any luck. What the heck can I use to unzip this thing?

                        Paul

                        Comment


                          #13
                          Originally posted by peecee
                          I'm trying to user SuperDateTime, and I can't unzip it. I've tried WinZip on Windows, gunzip & unzip on linux, all without any luck. What the heck can I use to unzip this thing?
                          This is really weird. I post to other forums at other websites that utilize the same forum software backend with no problems at all. Perhaps the files are being saved as ascii and not binary? I'll try attaching again using a different computer, but I'm not sure what else to do. Opening the file using winzip on my system works fine.

                          BTW- This version has NBA support. I just added it, so until the next live game I'm not sure if it will work.

                          Comment


                            #14
                            Temp Solution For Downloading Zip

                            Okay- I could be wrong, but I think something is set up wrong on the forum software. I have tried uploading the zip file using both IE and Moxilla Firefox. Upon uploading, if I download the file using IE (which most people use), it comes in corrupts. However, if I use FireFox (www.getfirefox.com), it downloads fine.

                            My guess is that the forum software is treating .txt and .zip files the same, and is saving them as ascii. Firefox somehow figures this out and converts the file back to binary.

                            Comment


                              #15
                              GoCubs, that appears to be a correct assessment of the problem. I couldn't get it to download correctly using IE, but downloading via GetRight (a downloader program) was just fine. Strange.

                              Oh, and great program by the way. Even though I don't use it, the integration of sport scores is a very slick idea.

                              Comment

                              Working...
                              X