[WS] Discogs (pone mod)

the script offers only YYYY-MM-DD and DD.MM.YYYY as easy option.

But you can use the TEXT OPTION: FREE WEB SOURCES SCRIPT CODE... fields for that.

Set DISCOGS_DATE to "no" and add the following code to
TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR DJ SETS IN ONE FILE TRACKLIST SCRIPT
TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR MULTISONG-TRACKS TRACKLIST SCRIPT
TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR STANDARD SCRIPTS

outputto "date"
gotoline 3
findline "class=\"head\">Released:" 1 1
findline "&year=" 1 1
findinline "&year" 1 1
if "="
    joinuntil "</a>"
    unspace
    regexpreplace "<[^>]+>" ""
    replace "Jan" "-01-"
    replace "Feb" "-02-"
    replace "Mar" "-03-"
    replace "Apr" "-04-"
    replace "May" "-05-"
    replace "Jun" "-06-"
    replace "Jul" "-07-"
    replace "Aug" "-08-"
    replace "Sep" "-09-"
    replace "Oct" "-10-"
    replace "Nov" "-11-"
    replace "Dec" "-12-"
    regexpreplace "[^-0-9]" ""
    
    regexpreplace "(\d\d)-(\d\d)-(\d\d\d\d)" "$3-$2-$1"
    regexpreplace "-(\d\d)-(\d\d\d\d)" "$2-$1-00"
    regexpreplace "(\d\d\d\d)$" "$1-00-00"
    regexpreplace "(\d\d\d\d)-(\d\d)-(\d\d)" "$2$3"
    sayrest
endif

This gives you MMDD as date, with 00 for missing day or month.

Discogs Master Release pages don't offer a release date, the have only year.
So you can only add

outputto "date"
say "0000"

to TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR MASTER SCRIPTS if you want that.