I use both NZBs and other means of automatic download.
So, there are two parameters here:
$(NZBFILE)
and
$(FILENAME)
However, what I actually need is a smart one that combines them both.
i.e., something like
$(NZBORFILENAME)= IF
$(NZBFILE)!="" then $(FILENAME) else
$(NZBFILE)
What would $(NZBFILE) do if there is no NZB and the download was initiated by automatic downloads (with regex filters)?