Temperature Announcement

You have a question or need an advice about how to do something? Ask it here!
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Temperature Announcement

Post 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 ;-)
vsolivie
Posts: 45
Joined: 30 Dec 2016 01:34
Re: Temperature Announcement

Post 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
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Temperature Announcement

Post 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...
vsolivie
Posts: 45
Joined: 30 Dec 2016 01:34
Re: Temperature Announcement

Post 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.
Attachments
03-capture-20170411-232904.png
02-capture-20170411-232818.png
01-capture-20170411-232701.png
vsolivie
Posts: 45
Joined: 30 Dec 2016 01:34
Re: Temperature Announcement

Post 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
Attachments
05-capture-20170411-233049.png
04-capture-20170411-232958.png
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Temperature Announcement

Post 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 !
vsolivie
Posts: 45
Joined: 30 Dec 2016 01:34
Re: Temperature Announcement

Post by vsolivie »

Ok i did exactly as described so nothing happens nothing appears in the playlist
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Temperature Announcement

Post by radio42 »

Then you have done something fundamentally wrong in your script ;-)
Please send me your .pfs script file to take a look at!
vsolivie
Posts: 45
Joined: 30 Dec 2016 01:34
Re: Temperature Announcement

Post by vsolivie »

Ok I had to send zipped ok?
Attachments
script.rar
(2.63 KiB) Downloaded 333 times
vsolivie
Posts: 45
Joined: 30 Dec 2016 01:34
Re: Temperature Announcement

Post by vsolivie »

Ok I had to send zipped ok?
Attachments
_synced_.rar
(2.64 KiB) Downloaded 319 times

Post Reply