[New Feature] Executing scripts from settings page

Discuss newly added features or request new features.
Post Reply
hugbug
Developer & Admin
Posts: 6717
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

[New Feature] Executing scripts from settings page

Post by hugbug » 31 Mar 2017, 10:56

Script authors now can define custom buttons on settings page.

Sometimes it may be helpful to be able to execute extension scripts from settings page. For example pp-script EMail.py could use a button "Send test email". For other scripts something like "Validate settings" or "Cleanup database" may be useful too.

Example of a button appearing on script settings page:
script-command.png
script-command.png (10.02 KiB) Viewed 239 times
Progress dialog shown during script execution:
command-progress.png
command-progress.png (9.73 KiB) Viewed 239 times
Docs: Custom-commands.

Related tracker issue: Execute extension scripts from settings page.

This requires v19.0-r1926.

kloaknet
Posts: 316
Joined: 23 Jul 2014, 08:52

Re: [New Feature] Executing scripts from settings page

Post by kloaknet » 01 Apr 2017, 17:31

This is really great hugbug! lets hope l2g adds it to the subliminal script! ;)

clintonhall
Posts: 449
Joined: 15 Dec 2012, 01:52
Location: Australia
Contact:

Re: [New Feature] Executing scripts from settings page

Post by clintonhall » 04 Apr 2017, 11:26

Great work as always hugbug...

I'm just going to grab my ankles and wait for the requests to add this to nzbToMedia to validate all of the user's settings ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest