Post process scripting on Synology
Posted: September 4th, 2009, 3:50 pm
Hi All,
I have SABnzbd running on a Synology Diskstation and am looking for a little help with a post processing script. On a diskstation there is a binary file (synoindex) that can be used to update the uPnP database, if I copied the files to the NAS normally this process would run and update the uPnP database. However because the SABnzbd process moves them directly to the disk the process doesn't run.
The usage for synoindex is described below:
Add: synoindex -a filename
Delete: synoindex -d filename
Add folder: synoindex -A folder
Delete folder: synoindex -D folder
Rename/move file/folder: synoindex -N newfullpath oldfullpath
Update Photo Images: synoindex -U photo
Get from DB: synoindex -g filename -t [video|music|photo|playlist]
So I guess what I'm after is something to run /user/syno/bin/synoindex -a
I have plenty of experience with vbscript in windows but have no idea where to start with a post processing script running on linux
I have SABnzbd running on a Synology Diskstation and am looking for a little help with a post processing script. On a diskstation there is a binary file (synoindex) that can be used to update the uPnP database, if I copied the files to the NAS normally this process would run and update the uPnP database. However because the SABnzbd process moves them directly to the disk the process doesn't run.
The usage for synoindex is described below:
Add: synoindex -a filename
Delete: synoindex -d filename
Add folder: synoindex -A folder
Delete folder: synoindex -D folder
Rename/move file/folder: synoindex -N newfullpath oldfullpath
Update Photo Images: synoindex -U photo
Get from DB: synoindex -g filename -t [video|music|photo|playlist]
So I guess what I'm after is something to run /user/syno/bin/synoindex -a
I have plenty of experience with vbscript in windows but have no idea where to start with a post processing script running on linux