Page 2 of 6

Re: Temperature Announcement

Posted: 11 Apr 2017 22:56
by radio42
So far you just said "it is not working" - so I am not sure anymore what exactly is not working and so far you did not mention anything about humidity. However...
Currently the following weather macros are available:
${weathercurrenttemperature} and ${weathercurrentcondition}

I might add to a next version also the following:
${weathercurrentclouds} : the current weather clouds (as a string)
${weathercurrentprecipitation} : the current weather precipitation (as a string)
${weathercurrentpressure} : the current weather pressure (as a string)
${weathercurrentwinddirection} : the current weather wind direction (as a string)
${weathercurrentwindspeed} : the current weather wind speed (as a string)
${weathercurrenthumidity} : the current weather humidity (as a string)

I am still not sure, if that will help, as in order to automatically report the weather, you would need to record hundred of files - one for each possible combination of any of the needed attributes... but that is all I can do ;-)

Re: Temperature Announcement

Posted: 11 Apr 2017 23:12
by vsolivie
:idea: :mrgreen: Ok actually I just need to make this macro $ {Weathercurrenttemperature} work the current temperature but in several attempts I do not succeed

Re: Temperature Announcement

Posted: 11 Apr 2017 23:14
by radio42
The macro is called ${weathercurrenttemperature}
and it needs to be without a capital W - all small letters and no spaces in between.
And again: HAVE YOU TESTED YOUR script in a playlist ???
WHAT filenames are resolved??? please see my posts above...

Re: Temperature Announcement

Posted: 12 Apr 2017 04:52
by vsolivie
I really do not think I knew how to express myself, I apologize and I would like you to look at these images, I followed everything as you told me.

Re: Temperature Announcement

Posted: 12 Apr 2017 04:56
by vsolivie
Realmente acho que não estava sabendo me espressar peço desculpas e gostaria que olhase para estas imagens segui tudo conforme você me disse

Re: Temperature Announcement

Posted: 12 Apr 2017 07:12
by radio42
Why do you not listen to what I suggest?!
Instead you always do something new and different.
So again:
Open a new and empty playlist.
Then just right-click into the playlist and select 'Add -> 1 random Track -> Script -> yourscriptname)...
And what filename was resolved to the playlist?!
And can you play this item?

After we successfully tested this scenario we can continue.
But I believe that this is already failing, because your FileName a are not matching!

So please test the above first !

Re: Temperature Announcement

Posted: 12 Apr 2017 17:13
by vsolivie
Ok i did exactly as described so nothing happens nothing appears in the playlist

Re: Temperature Announcement

Posted: 12 Apr 2017 17:38
by radio42
Then you have done something fundamentally wrong in your script ;-)
Please send me your .pfs script file to take a look at!

Re: Temperature Announcement

Posted: 12 Apr 2017 18:55
by vsolivie
Ok I had to send zipped ok?

Re: Temperature Announcement

Posted: 12 Apr 2017 19:50
by vsolivie
Ok I had to send zipped ok?