this one guy really wants something like the following:
upload a file to some location using sharex (meaning it'd be a bput to copyparty)
depending on filename / filetype, it ends up in a different folder or volume
the link that's returned to sharex must obviously be correct, and also keep file indexing in mind
sharex only lets you specify a single custom upload target for each upload type; sharex#3992 doesn't seem to be happening so that's why we need serverside magic instead
(and the guy in question refuses to upgrade past sharex v12 anyways (understandable))
the best approach is probably to handle this as an xbu/xau plugin, since that's hella flexible, can do file analysis and whatnot, and not make it limited to just filename/type (which would've been way easier)
so roughly,
make plugins able to return signaling json on stdout to tell copyparty what do (the easy part)
somehow alter the upload destination based on that json without too much spaghetti
so i don't forget --
this one guy really wants something like the following:
sharex only lets you specify a single custom upload target for each upload type; sharex#3992 doesn't seem to be happening so that's why we need serverside magic instead
(and the guy in question refuses to upgrade past sharex v12 anyways (understandable))
the best approach is probably to handle this as an xbu/xau plugin, since that's hella flexible, can do file analysis and whatnot, and not make it limited to just filename/type (which would've been way easier)
so roughly,