Not entirely follow these: is it working well, or not?
For me the last posted skin is working. Didn't let it too long, but as long as I left, it did work:
No it's still NOK.
I'm just waiting to fill an entire log page with the "rewritten" code I promised yesterday - stay tuned. By the way, you'll see, once I post the screenshot of it working on my system, that it has no problems when some other program is downloading around 6 MB/s - no freeze, no delays, no issues whatsoever. Of course, the real test will be on your system, since apparently there are some differences between the results of our tests in your case vs mine and balala's. Who knows, maybe our connection is better?
Ok, here is the code I used in my tests (based on your initial version of "RadarPlus", not the second one you posted). Don't forget to set back the UpdateWebParser to 600 or as many seconds you want it to be, and to uncomment back the X and Y lines from [MeterBackground] if you like (I commented them as they prevented me from moving the skin upwards on the screen, but for your integration in the other skin they might serve a purpose, after all):JamX wrote: ↑June 29th, 2020, 3:54 pm No it's still NOK.
The skin worked with only the rain radar.
Then I added the Lightning radar code to it and it get stuck
Then I adjusted the coding from Yincognito with the "Update" suggestion and the code did not get stuck anymore
Only thing my 'special computer' now has is the fact that after the extraction some png file are "corrupted' or something like that.
Maybe due to overlapping gif2frames.exe executions but Even when I put in Delay=5000 it still does not work as it was intended.
Try to simulate as I did. First remove all the current.gif and png files from the download directory.
Then Load the skin and see what happens in the download directory during the process
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
BackgroundColor=0,0,0,50
BackgroundColor2=0,0,0,160
UpdateInterval=1000
UpdateWebParser=60
Delay=0
---Measures WebParser---
[MeasureImage]
Measure=WebParser
URL=https://image.buienradar.nl/2.0/image/animation/RadarMapRainNL?height=500&width=500&extension=gif&renderBackground=True&renderBranding=False&renderText=True&history=3&forecast=6&skip=1
Download=1
DownloadFile=current.gif
ForceReload=1
UpdateRate=1
UpdateDivider=(#UpdateWebParser#*1000/#UpdateInterval#)
FinishAction=[!Log "Rain Download Finished"][!Delay #Delay#][!PauseMeasure "MeasureAnimLoop"][!CommandMeasure MeasureExtract "Run"]
OnConnectErrorAction=[!Log "Rain Connection Error"][!Delay #Delay#][!PauseMeasure "MeasureAnimLoop"][!CommandMeasure MeasureExtract "Run"]
OnDownloadErrorAction=[!Log "Rain Download Error"][!Delay #Delay#][!PauseMeasure "MeasureAnimLoop"][!CommandMeasure MeasureExtract "Run"]
DynamicVariables=1
---Measures RunCommand---
[MeasureExtract]
Measure=Plugin
Plugin=RunCommand
Parameter=gif2frames.exe current.gif
StartInFolder=#CURRENTPATH#DownloadFile
State=Hide
OutputType=ANSI
Timeout=5000
FinishAction=[!Log "Rain Extraction Finished"][!Delay #Delay#][!EnableMeasure "MeasureImageLight"][!CommandMeasure MeasureImageLight "Update"]
DynamicVariables=1
[MeasureImageLight]
Disabled=1
Measure=WebParser
URL=https://image.buienradar.nl/2.0/image/animation/RadarMapLightningNL?height=500&width=500&extension=gif&renderBackground=True&renderBranding=False&renderText=True&history=3&forecast=0&skip=1
Download=1
DownloadFile=current.gif
ForceReload=1
UpdateRate=-1
UpdateDivider=(#UpdateWebParser#*1000/#UpdateInterval#)
FinishAction=[!Log "Light Download Finished"][!Delay #Delay#][!CommandMeasure MeasureExtractLight "Run"]
OnConnectErrorAction=[!Log "Light Connection Error"][!Delay #Delay#][!CommandMeasure MeasureExtractLight "Run"]
OnDownloadErrorAction=[!Log "Light Download Error"][!Delay #Delay#][!CommandMeasure MeasureExtractLight "Run"]
DynamicVariables=1
---Measures RunCommand---
[MeasureExtractLight]
Measure=Plugin
Plugin=RunCommand
Parameter=gif2frames.exe current.gif
StartInFolder=#CURRENTPATH#DownloadFile
State=Hide
OutputType=ANSI
Timeout=5000
FinishAction=[!Log "Light Extraction Finished"][!Delay #Delay#][!UnpauseMeasure MeasureAnimLoop]
DynamicVariables=1
---Measures Rainmeter---
[MeasureAnimLoop]
Paused=1
Measure=Calc
Formula=((MeasureAnimLoop%9)+1)
RegExpSubstitute=1
Substitute="^(.*)$":"0000\1","^.*(.{5})$":"\1"
DynamicVariables=1
---Meters---
[MeterBackground]
Meter=Shape
Shape=Rectangle 0,0,236,236,5 | Fill Color #Backgroundcolor2# | StrokeWidth 1.5 | Stroke Color #Backgroundcolor#
;X=315
;Y=596
[MeterAnimLoop]
Meter=Image
ImagePath=#CURRENTPATH#DownloadFile
ImageName=current[MeasureAnimLoop].png
PreserveAspectRatio=1
;SolidColor=0,0,0,160
Imagetint=255,255,255,155
X=2r
Y=2r
W=232
H=232
DynamicVariables=1
I have no idea why that happens either. Since for me it works without any kind of issues, it's a bit hard (to put it mildly) to "fix" what simply doesn't happen in my case. I would very much like to help you further with this, but I'm sort of blindfolded now with the issue you have. Maybe balala will come up with a suggestion, something that maybe has been missed by both of us?
Yeah, indeed. Just tested with the explorer window open to see the "changes" like in your videos (as I almost never open Explorer otherwise, I use another file manager), and besides one single very short "update" of current.gif that happened only once while looking at it, it's like the download/extraction never happens, I'm not seeing any "no image" icons at any time in the Explorer window. So it either happens very fast and I don't get the chance to see it, or my explorer doesn't "auto-refresh" itself like in your videos.
Code: Select all
https://image.buienradar.nl/2.0/image/sprite/RadarMapRainNL?extension=png&width=550&height=512&renderText=True&renderBranding=False&renderBackground=True&history=3&forecast=12&skip=0
Code: Select all
https://image.buienradar.nl/2.0/image/sprite/RadarMapLightningNL?extension=png&width=550&height=512&renderText=True&renderBranding=False&renderBackground=True&history=3&forecast=12&skip=0
Code: Select all
https://image.buienradar.nl/2.0/image/sprite/RadarMapRainNL?extension=png&width=232&height=232&renderText=True&renderBranding=False&renderBackground=True&history=3&forecast=12&skip=0
Code: Select all
https://image.buienradar.nl/2.0/image/sprite/RadarMapLightningNL?extension=png&width=232&height=232&renderText=True&renderBranding=False&renderBackground=True&history=3&forecast=12&skip=0