View Single Post
  #1360  
Old 12.05.2020, 11:55
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,549
Default

Quote:
Originally Posted by OCHer View Post
... run a simple script on Synology after each download is completed and unzipped ... Synchronous execution would also be an advantage.
Settings > Advanced Settings > EventScripter.scripts

Code:
[{
	"eventTrigger": "ON_ARCHIVE_EXTRACTED",
	"enabled": true,
	"name": "2020.05.12 ",
	"script": "disablePermissionChecks();\ncallSync(\"synoindex\", \"-R\", \"video\");",
	"eventTriggerSettings": {
		"isSynchronous": true
	},
	"id": 1589276857812
}]
Reply With Quote