copyparty/bin/hooks
2023-01-29 18:28:53 +00:00
..
discord-announce.py docs + chmod 2023-01-29 18:28:53 +00:00
notify.py hook/notify: add android support 2023-01-29 15:14:22 +00:00
README.md hook/notify: add android support 2023-01-29 15:14:22 +00:00
reject-extension.py docs + chmod 2023-01-29 18:28:53 +00:00
reject-mimetype.py docs + chmod 2023-01-29 18:28:53 +00:00
wget.py docs + chmod 2023-01-29 18:28:53 +00:00

standalone programs which are executed by copyparty when an event happens (upload, file rename, delete, ...)

these programs either take zero arguments, or a filepath (the affected file), or a json message with filepath + additional info

note: in addition to event hooks (the stuff described here), copyparty has another api to run your programs/scripts while providing way more information such as audio tags / video codecs / etc and optionally daisychaining data between scripts in a processing pipeline; if that's what you want then see mtp plugins instead

after upload

before upload

on message

  • wget.py lets you download files by POSTing URLs to copyparty