Announcement

Collapse
No announcement yet.

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

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

    Here is an edited version of something I do for a HTTP GET using Slim::Networking::SimpleAsyncHTTP


    Code:
    my %headers;
    
    $headers{'Content-Type'} = 'application/json';
    
    my $http = Slim::Networking::SimpleAsyncHTTP->new(
                        sub {
                            $meta->{ $station } = parseContent($client, shift->content, $station, $url, V_SONGDATA);
                        },
                        sub {
                            # in case of an error, don't try too hard...
                            $meta->{ $station } = parseContent($client, '', $station, $url, V_SONGDATA);
                        },
                    );​
    
    $http->get($sourceUrl, %headers);
    ​
    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 View Post
      Here is an edited version of something I do for a HTTP GET using Slim::Networking::SimpleAsyncHTTP


      Code:
      my %headers;
      
      $headers{'Content-Type'} = 'application/json';
      
      my $http = Slim::Networking::SimpleAsyncHTTP->new(
      sub {
      $meta->{ $station } = parseContent($client, shift->content, $station, $url, V_SONGDATA);
      },
      sub {
      # in case of an error, don't try too hard...
      $meta->{ $station } = parseContent($client, '', $station, $url, V_SONGDATA);
      },
      );​
      
      $http->get($sourceUrl, %headers);
      ​
      Thank you this is very helpful. I have successfully retrieved JSON data from API-FOOTBALL.

      I will work on making European Football (Soccer) scores available through SDT in a future release. There is so much data available (969 Leagues/Cups) I need to narrow the scope to a few leagues at first. I plan to start with the following:
      • Premier League - UK
      • Major League Soccer (MLS) - US
      • Bundesliga - DE
      • La Liga - ES
      • Eredivisie - NL
      • Canadian Premier League - CA
      Do these make sense to start with? Are there any requests for additional leagues or cups?


      Last edited by BoomX2; 2023-04-17, 04:23.

      Comment


        SDT Stocks are no longer working.

        For those of you have been using the Stocks feature of SDT you may want to clear any stock symbols in the Settings>Advanced>SDT tab of LMS. This will keep your server log from filling up with entries similar to the following.

        Code:
        [23-04-19 22:58:42.7638] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6940) error getting https://query1.finance.yahoo.com/v7/finance/quote?&symbols=VIAV&formatted=true&crumb=yO6ZatsgG 4N&lang=en-US&region=US&fields=symbol,shortName,longName,regu larMarketOpen,regularMarketPrice,regularMarketChan ge,regularMarketChangePercent,regularMarketDayHigh ,regularMarketDayLow,regularMarketVolume,fiftyTwoW eekRange
        [23-04-19 22:58:42.7647] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6941) 401 Unauthorized
        [23-04-19 22:58:42.7655] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6977) Trying getStocks again.
        ​
        I think I know what is needed to restore stock prices to SDT, but could use some advice on how to include cookies in an HTTPS request with Perl.

        Comment


          Hello everybody,

          SDT ist working fine on my Radios and one Touch. But I have two questions:

          1. As I am living in Germany, the times for sunset and dawn are one hour behind when we switched to daylight saving time. For today sunset is at 21.06 daylight saving time. Indicated is 20.06. Is there a chance to change this? My data comes from Wunderground.
          2. The texting is in English. Is there a chance to change it into German?

          Thanks for help

          Paytheprice

          Comment


            Originally posted by Paytheprice View Post
            Hello everybody,

            SDT ist working fine on my Radios and one Touch. But I have two questions:

            1. As I am living in Germany, the times for sunset and dawn are one hour behind when we switched to daylight saving time. For today sunset is at 21.06 daylight saving time. Indicated is 20.06. Is there a chance to change this? My data comes from Wunderground.
            Sunset and Sunrise times are not included in the Wunderground data. What you are seeing comes from Weather.com.

            Double check your weather.com station selection and make sure the station is close to where you live. If you did not make a selection it defaults to Chicago Illinois USA. I think this is your issue. I have pasted the JSON data for today's Sunset time in Chicago below. It matches what you are seeing.

            Code:
            "sunset": ["2023-05-17T20:06:12-0500",​
            2. The texting is in English. Is there a chance to change it into German?
            What text is in English that you would like to see in German?

            SDT presents text in the Language selected in the Language setting under LMS > Settings > Basic Settings. Most text that comes from the SDT plugin has translations for Dutch and German. Other languages have fewer translations.

            In addition, the language of the text from weather.com is based on the entry in the LANGUAGE setting under LMS > Settings > Advanced > SDT. If you did not change that setting it defaults to US English.

            Comment


              1. Worked nice. I forgot to add the data for weather.com
              2. It still indicates Thursday 18 May .....

              Klicke auf die Grafik für eine vergrößerte Ansicht  Name: image.png Ansichten: 3 Größe: 14,5 KB ID: 1639022

              Maybe gm-GM is wrong for German? I used to have de-DE there, that did not change anything. ​

              I tried to change it into French, but it did not change anything. Language stays in English.
              Last edited by Paytheprice; 2023-05-18, 20:20.

              Comment


                Originally posted by Paytheprice View Post
                2. It still indicates Thursday 18 May .....

                Maybe gm-GM is wrong for German? I used to have de-DE there, that did not change anything. ​

                I tried to change it into French, but it did not change anything. Language stays in English.
                de-DE is correct to get German language text from weather.com. Check "Brief Forecast" (macro variables %v or %_0) to see what language text you are getting.

                I'll check into translations for dates. I may have missed that.​

                Comment


                  Originally posted by BoomX2 View Post

                  de-DE is correct to get German language text from weather.com. Check "Brief Forecast" (macro variables %v or %_0) to see what language text you are getting.

                  I'll check into translations for dates. I may have missed that.​
                  Thanks a lot for your help and development and maintenance SDT. I will see if a German version will appear.

                  Check "Brief Forecast" (macro variables %v or %_0) to see what language text you are getting.

                  Where shall I check this? Under Player SDT or under Plugins Custom Clock Helper? Under Plugin SDT i cannot find it.

                  Comment


                    I found two old installs of SDT and CCH in C:\PROGRA~2\SQUEEZ~1\server\Plugins, deleted those, re-installed CCH on my Radio, then enabled latest SDT. It's working again.



                    I'm having issues with getting data from the providers for SDT. I started investigating a different issue (next track, previous track in LMS Material jumping to random tracks within the queue). When I saw all these errors I disabled SDT and customclockhelper, and the next/previous track functions work as expected. Here's a snip of the server log:

                    Code:
                    [23-05-27 06:51:53.3129] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:51:53.3136] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:51:56.4298] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:51:56.4303] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:51:59.5546] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:51:59.5551] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:02.6630] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:52:02.6632] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:05.8085] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:52:05.8090] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:08.9163] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:52:08.9164] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:14.0357] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:52:14.0364] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:17.1507] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:52:17.1512] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:20.2928] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:52:20.2932] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:23.4000] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:52:23.4001] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:26.5246] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:52:26.5248] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:26.5249] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWeatherNow.
                    [23-05-27 06:52:26.6790] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1dailyforecast?apiKey=6532d6454b8aa370768e63d6ba 5a832e&format=json&language=en-US&units=e&geocode=44.537,-122.907
                    [23-05-27 06:52:26.6796] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:26.6800] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWeatherToday.
                    [23-05-27 06:52:26.7894] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/pws/observations/current?apiKey=6532d6454b8aa370768e63d6ba5a832e&st ationId=KORLEBAN82&numericPrecision=decimal&format =json&units=e
                    [23-05-27 06:52:26.7895] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:52:26.7896] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWunderground.
                    [23-05-27 06:52:44.8574] Plugins::SuperDateTime::Plugin::doneDrawing (4792) Data refresh completed with errors.
                    [23-05-27 06:53:01.3400] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:01.3405] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:06.4933] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:06.4939] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:09.6158] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:09.6160] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:12.7446] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:12.7451] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:15.8714] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:15.8716] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:18.9938] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:18.9943] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:24.1354] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:24.1359] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:27.2572] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:27.2577] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:30.3657] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:30.3662] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:33.4828] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:33.4833] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:36.6482] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                    [23-05-27 06:53:36.6487] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:36.6491] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWeatherNow.
                    [23-05-27 06:53:36.7754] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1dailyforecast?apiKey=6532d6454b8aa370768e63d6ba 5a832e&format=json&language=en-US&units=e&geocode=44.537,-122.907
                    [23-05-27 06:53:36.7759] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:36.7764] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWeatherToday.
                    [23-05-27 06:53:37.4119] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/pws/observations/current?apiKey=6532d6454b8aa370768e63d6ba5a832e&st ationId=SYNO3&numericPrecision=decimal&format=json &units=e
                    [23-05-27 06:53:37.4124] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                    [23-05-27 06:53:37.4128] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWunderground.
                    [23-05-27 06:53:55.2561] Plugins::SuperDateTime::Plugin::doneDrawing (4792) Data refresh completed with errors.
                    I've verified that LMS has access through the firewall. I'm at a loss on how to resolve. Thanks for any help you can provide.

                    Last edited by mikehd; 2023-05-28, 03:34.

                    Comment


                      Originally posted by mikehd View Post
                      I found two old installs of SDT and CCH in C:\PROGRA~2\SQUEEZ~1\server\Plugins, deleted those, re-installed CCH on my Radio, then enabled latest SDT. It's working again.



                      I'm having issues with getting data from the providers for SDT. I started investigating a different issue (next track, previous track in LMS Material jumping to random tracks within the queue). When I saw all these errors I disabled SDT and customclockhelper, and the next/previous track functions work as expected. Here's a snip of the server log:

                      Code:
                      [23-05-27 06:51:53.3129] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:51:53.3136] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:51:56.4298] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:51:56.4303] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:51:59.5546] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:51:59.5551] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:02.6630] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:52:02.6632] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:05.8085] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:52:05.8090] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:08.9163] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:52:08.9164] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:14.0357] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:52:14.0364] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:17.1507] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:52:17.1512] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:20.2928] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:52:20.2932] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:23.4000] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:52:23.4001] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:26.5246] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:52:26.5248] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:26.5249] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWeatherNow.
                      [23-05-27 06:52:26.6790] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1dailyforecast?apiKey=6532d6454b8aa370768e63d6ba 5a832e&format=json&language=en-US&units=e&geocode=44.537,-122.907
                      [23-05-27 06:52:26.6796] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:26.6800] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWeatherToday.
                      [23-05-27 06:52:26.7894] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/pws/observations/current?apiKey=6532d6454b8aa370768e63d6ba5a832e&st ationId=KORLEBAN82&numericPrecision=decimal&format =json&units=e
                      [23-05-27 06:52:26.7895] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:52:26.7896] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWunderground.
                      [23-05-27 06:52:44.8574] Plugins::SuperDateTime::Plugin::doneDrawing (4792) Data refresh completed with errors.
                      [23-05-27 06:53:01.3400] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:01.3405] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:06.4933] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:06.4939] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:09.6158] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:09.6160] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:12.7446] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:12.7451] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:15.8714] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:15.8716] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:18.9938] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:18.9943] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:24.1354] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:24.1359] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:27.2572] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:27.2577] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:30.3657] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:30.3662] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:33.4828] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:33.4833] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:36.6482] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1observation?apiKey=6532d6454b8aa370768e63d6ba5a 832e&units=e&language=en-US&format=json&geocode=44.537,-122.907
                      [23-05-27 06:53:36.6487] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:36.6491] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWeatherNow.
                      [23-05-27 06:53:36.7754] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/turbo/vt1dailyforecast?apiKey=6532d6454b8aa370768e63d6ba 5a832e&format=json&language=en-US&units=e&geocode=44.537,-122.907
                      [23-05-27 06:53:36.7759] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:36.7764] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWeatherToday.
                      [23-05-27 06:53:37.4119] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6957) error getting https://api.weather.com/v2/pws/observations/current?apiKey=6532d6454b8aa370768e63d6ba5a832e&st ationId=SYNO3&numericPrecision=decimal&format=json &units=e
                      [23-05-27 06:53:37.4124] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6958) 401 Unauthorized
                      [23-05-27 06:53:37.4128] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP (6962) Network error count reached during getWunderground.
                      [23-05-27 06:53:55.2561] Plugins::SuperDateTime::Plugin::doneDrawing (4792) Data refresh completed with errors.
                      I've verified that LMS has access through the firewall. I'm at a loss on how to resolve. Thanks for any help you can provide.

                      That makes sense. Your server log entries indicate an older version of SDT was running. Deleting the folder with the old version and then reenabling SDT should have brought you up to the current version, 5.11.30.

                      Comment


                        Originally posted by Paytheprice View Post

                        Thanks a lot for your help and development and maintenance SDT. I will see if a German version will appear.

                        Check "Brief Forecast" (macro variables %v or %_0) to see what language text you are getting.

                        Where shall I check this? Under Player SDT or under Plugins Custom Clock Helper? Under Plugin SDT i cannot find it.
                        Custom Clock Helper is the easiest way to check on a Touch or Radio.

                        To do this add an sdttext Itemtype. Enter %v or %_0 in the sdtformat field of that item.

                        Comment

                        Working...
                        X