Announcement

Collapse
No announcement yet.

[Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • SDT Release 5.11.30
    • Updated Macro Variables listing. See LMS->Settings->Player->SDT.
    • Updated SDT Extras menu to show Moonrise and Moonset in 12 Hour format when Fahrenheit selected.
    • Removed leading zeros from weather.com forecast period dates.

    Comment


    • Originally posted by Pommes

      Hi,
      thank you, i am using FRXX0076:1:FR.
      https://weather.com/fr-FR/temps/aujour/l/FRXX0076:1:FR
      On webpage it is the center, on my PicoreScreen it is the center, but on my touch it is on the right side.
      I am able to use the height parameter to get it centered, but after 2 minutes or so it decenters back to default.
      I am using the local zoom
      I see what you're talking about. The height and width of the RADAR image is 600 by 800. I expect the Touch is clipping the right size of the image rather than resizing it. The size is in the parameters of the URL used to retrieve the image. You can try to find a combination of parameters that return a smaller image. I you're successful, let me know. I can add them as an option in a future release of SDT.

      Code:
      https://api.weather.com/v2/maps/dynamic?geocode=49.0,2.5&h=600&w=800&lod=7&product=radarFcst&map=light&format=jpg&language=en&apiKey=21d8a80b3d6b444998a80b3d6b1449d3​​

      Comment


      • Originally posted by BoomX2
        SDT Release 5.11.30
        • Removed leading zeros from weather.com forecast period dates.
        Just to satisfy my inquisitive nature, this is not a variable, correct? It just takes place under the hood as I don't see it on the updated list. One less thing to tweak.

        Thanks for making it happen.

        Comment


        • Originally posted by BoomX2

          I see what you're talking about. The height and width of the RADAR image is 600 by 800. I expect the Touch is clipping the right size of the image rather than resizing it. The size is in the parameters of the URL used to retrieve the image. You can try to find a combination of parameters that return a smaller image. I you're successful, let me know. I can add them as an option in a future release of SDT.

          Code:
          https://api.weather.com/v2/maps/dynamic?geocode=49.0,2.5&h=600&w=800&lod=7&product=radarFcst&map=light&format=jpg&language=en&apiKey=21d8a80b3d6b444998a80b3d6b1449d3​​
          thank you, the touch display has a resolution of 272*480…

          The Earth Has Music For Those Who Listen

          Comment


          • Originally posted by phred
            Just to satisfy my inquisitive nature, this is not a variable, correct? It just takes place under the hood as I don't see it on the updated list. One less thing to tweak.

            Thanks for making it happen.
            Correct. Leading zeroes are removed from the forecast dates. You do not need to make any changes to the macro variables you are using.

            Comment


            • Originally posted by Pommes

              thank you, the touch display has a resolution of 272*480…
              I played around with the Custom Clock settings for displaying the RADAR image. I found setting "posx" to 60 and "height" to 272 works well.

              Comment


              • Originally posted by BoomX2

                I played around with the Custom Clock settings for displaying the RADAR image. I found setting "posx" to 60 and "height" to 272 works well.
                Thank you, i had black bars on the right and left side, but with height 360 and pos x 0 it is perfect now and stays this way.
                I just have one more question: on my touch and my Picore, sometimes the rain radar looks different( one shows a lot of clouds, the other one not).
                I think it might be different timeslots, one from the morning, the other one from the afternoon for example.
                Is there a way, to tell SDT to only download the now map, or is there a way to download a couple of timeslots and create some kind of slow animation with lets say 5 pictures in a row?

                Thank you

                Edit: the screen on the touch has reset itself again, so Paris is on the right side again, even though I have still the edited values
                Last edited by Pommes; 2023-03-19, 12:56.
                The Earth Has Music For Those Who Listen

                Comment


                • Originally posted by BoomX2
                  Correct. Leading zeroes are removed from the forecast dates. You do not need to make any changes to the macro variables you are using.
                  Thanks for the confirmation.

                  Comment


                  • I use:

                    geocode=52.5,13.5&h=400&w=600&lod=7&product=radar

                    and adjust the screen by changing the geocode and lod
                    It is cropped automatic.
                    400x400 screensize is acepted too, I use it for the radar picture in Playing-Now-screen of the piCorePLayer alternately with the album cover.
                    3xPi3B-7" | pCP 7.0.1 | LMS 8.2.1 | Transporter | 2xTouch | 2xClassic | 2xRadio | Boom | iPeng

                    Comment


                    • Originally posted by Pommes

                      Thank you, i had black bars on the right and left side, but with height 360 and pos x 0 it is perfect now and stays this way.
                      I just have one more question: on my touch and my Picore, sometimes the rain radar looks different( one shows a lot of clouds, the other one not).
                      I think it might be different timeslots, one from the morning, the other one from the afternoon for example.
                      Is there a way, to tell SDT to only download the now map, or is there a way to download a couple of timeslots and create some kind of slow animation with lets say 5 pictures in a row?

                      Thank you

                      Edit: the screen on the touch has reset itself again, so Paris is on the right side again, even though I have still the edited values
                      The solution(s) for the issues you have will likely need to be resolved in the Custom Clock Applet or Helper plugin. SDT only provides the URL for the RADAR map. Custom Clock takes care of downloading and displaying the image. The issue with different images being displayed on different devices sounds like they were downloaded at different times and then cached mages are being displayed rather than being freshly downloaded.

                      I'm not sure why your image position is resetting. I have had my Touch set to "posx" to 60 and "height" to 272 for more than 24 hours without seeing it reset.

                      PS - We have not had any weather this weekend so I do not know if it is pulling a new image from the web or showing a cached image.

                      Comment


                      • Originally posted by Pommes

                        Thank you, i had black bars on the right and left side, but with height 360 and pos x 0 it is perfect now and stays this way.
                        I just have one more question: on my touch and my Picore, sometimes the rain radar looks different( one shows a lot of clouds, the other one not).
                        I think it might be different timeslots, one from the morning, the other one from the afternoon for example.
                        Is there a way, to tell SDT to only download the now map, or is there a way to download a couple of timeslots and create some kind of slow animation with lets say 5 pictures in a row?

                        Thank you

                        Edit: the screen on the touch has reset itself again, so Paris is on the right side again, even though I have still the edited values
                        Originally posted by BoomX2

                        The solution(s) for the issues you have will likely need to be resolved in the Custom Clock Applet or Helper plugin. SDT only provides the URL for the RADAR map. Custom Clock takes care of downloading and displaying the image. The issue with different images being displayed on different devices sounds like they were downloaded at different times and then cached mages are being displayed rather than being freshly downloaded.

                        I'm not sure why your image position is resetting. I have had my Touch set to "posx" to 60 and "height" to 272 for more than 24 hours without seeing it reset.

                        PS - We have not had any weather this weekend so I do not know if it is pulling a new image from the web or showing a cached image.
                        I set SDT on one of my LMS servers​ to FRXX0077:1:FR. I also created 3 Custom Clock screens for the Touch with the SDT Weather RADAR Map. One for each zoom level with height set to 300 and posx set to 40. This results in the map being nearly full size and centered with relatively small black bars on each side. I have attached the files to this post.

                        Using the Screen Switcher applet I created a screensaver sequence that rotates through each zoom level, switching every 30 seconds.

                        I have left this screen saver active since Monday. The settings have stayed at 300 H and posx 40 and the images have always shown the current RADAR map. (i.e. not cached)

                        I do not know what is causing your system to reset the Custom Clock size and position settings or display cached images. I was unable to reproduce it. Maybe someone else can help.

                        PS - Regarding your other question... I do not know of a way to download maps from different timeslots, only the current map.
                        Attached Files

                        Comment


                        • Originally posted by BoomX2



                          I set SDT on one of my LMS servers​ to FRXX0077:1:FR. I also created 3 Custom Clock screens for the Touch with the SDT Weather RADAR Map. One for each zoom level with height set to 300 and posx set to 40. This results in the map being nearly full size and centered with relatively small black bars on each side. I have attached the files to this post.

                          Using the Screen Switcher applet I created a screensaver sequence that rotates through each zoom level, switching every 30 seconds.

                          I have left this screen saver active since Monday. The settings have stayed at 300 H and posx 40 and the images have always shown the current RADAR map. (i.e. not cached)

                          I do not know what is causing your system to reset the Custom Clock size and position settings or display cached images. I was unable to reproduce it. Maybe someone else can help.

                          PS - Regarding your other question... I do not know of a way to download maps from different timeslots, only the current map.
                          Thank you so much for taking the extra time and effort to help me.
                          i just uninstalled and reinstalled sdt.
                          I think this resolved the cache issues I experienced.
                          Thank you
                          The Earth Has Music For Those Who Listen

                          Comment


                          • I wonder if this set of APIs would be interesting to integrate?
                            Restful API for Football data +1 000 competitions, Livescore, standings, teams, odds, bookmakers, fixtures, events, line-ups, players, statistics, predictions, widgets

                            They provide info on lots of sports - not just football (soccer) and have a free tier that allows 100 queries per day.
                            Paul Webster
                            Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
                            and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

                            Comment


                            • Originally posted by Paul Webster
                              I wonder if this set of APIs would be interesting to integrate?
                              Restful API for Football data +1 000 competitions, Livescore, standings, teams, odds, bookmakers, fixtures, events, line-ups, players, statistics, predictions, widgets

                              They provide info on lots of sports - not just football (soccer) and have a free tier that allows 100 queries per day.
                              Thanks for sharing. I will look into this. During the most recent World Cup I briefly looked at adding football (soccer) scores to SDT. In my limited searches I didn't find any good data sources. This looks promising.

                              PS - I did notice that even at the free level they require a payment method to subscribe. They also charge $0.005 for each request over the daily limit of 100.

                              Comment


                              • Originally posted by Paul Webster
                                I wonder if this set of APIs would be interesting to integrate?
                                Restful API for Football data +1 000 competitions, Livescore, standings, teams, odds, bookmakers, fixtures, events, line-ups, players, statistics, predictions, widgets

                                They provide info on lots of sports - not just football (soccer) and have a free tier that allows 100 queries per day.


                                Originally posted by BoomX2

                                Thanks for sharing. I will look into this. During the most recent World Cup I briefly looked at adding football (soccer) scores to SDT. In my limited searches I didn't find any good data sources. This looks promising.

                                PS - I did notice that even at the free level they require a payment method to subscribe. They also charge $0.005 for each request over the daily limit of 100.
                                Can anyone give me advice on how to setup an HTTP request with Headers in an LMS plugin?

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎