Writing using nerocmd, but i dont care if cdr or dvdr

I am using nerocmd to write a data disk, from a script and i dont want the script to care what kind of writable media is in the drive.

i’ve tried options like

–media_type media_dvd_any+media_cdr

but without success (wont work with a cdr in this case).

Any clues what to do?