Documentation for 'ifoutput' and 'ifnotoutput'

Whats the correct syntax for the two new web sources framework functions
'ifoutput' and 'ifnotoutput'.

Is there an argument to be used along with them?

My try:

outputto "ARTIST"
ifoutput "ALBUMARTIST"
say "something smart"

Yes. They both take the name of a previously used output as parameter and have to be closed with endif.

outputto "coverurl"
ifoutput "TMP_SECONDARY"
    set "coverurl"
    sayoutput "TMP_SECONDARY"
    set "TMP_SECONDARY"
endif

I'll update the documentation accordingly.

QUOTE (Florian @ Jul 1 2017, 06:07) <{POST_SNAPBACK}>
Yes. They both take the name of a previously used output as parameter and have to be closed with endif.
outputto "coverurl"
ifoutput "TMP_SECONDARY"
    set "coverurl"
    sayoutput "TMP_SECONDARY"
    set "TMP_SECONDARY"
endif

I'll update the documentation accordingly.


Sweet. Thanks.