I've done a lot of searching and cannot find something that works:
AFter SAB downloads new shows and movies to my diskstation, the disk station does not auto-index because it did not come from a windows upload or other native feature.
I need a script that tells the diskstation to immediately index what was just downloaded and moved into my TV show or Movie directory without re-indexing the whole server, which takes over an hour.
Synology Disk Station Auto Index
-
- Newbie
- Posts: 1
- Joined: August 26th, 2013, 10:11 pm
Re: Synology Disk Station Auto Index
Hi
I'm at work at the mo so can't try it; have a look here. I've been searching for this too, synoindex seems to be the key. I think I have seen it used by sickbeard(??), however I don't use sickbeard so unable to confirm.
mookydudz
I'm at work at the mo so can't try it; have a look here. I've been searching for this too, synoindex seems to be the key. I think I have seen it used by sickbeard(??), however I don't use sickbeard so unable to confirm.
mookydudz
Re: Synology Disk Station Auto Index
yeah, sadly Synology doesnt index files from which are moved/added over terminal
you got two options for that:
1. Use sickbeard which has an notify option for Synologys Media Server
2. build your own script
building a own script should not be that difficult you just need the full path to the file or folder afther that you can simple call
synoindex with that parameters
examlpe lets say your newly downloaded file is in: /volume1/downloads/new_download/my_new_download.mp4
then you just call:and the file gets added to the DiskStations Mediaserver index
if you have a folder with more than one file in it, you can run this:
you can get a list of available options by just typing synoindex
you got two options for that:
1. Use sickbeard which has an notify option for Synologys Media Server
2. build your own script
building a own script should not be that difficult you just need the full path to the file or folder afther that you can simple call
synoindex with that parameters
examlpe lets say your newly downloaded file is in: /volume1/downloads/new_download/my_new_download.mp4
then you just call:
Code: Select all
synoindex -a /volume1/downloads/new_download/my_new_download.mp4
if you have a folder with more than one file in it, you can run this:
Code: Select all
synoindex -A /volume1/downloads/new_download/
Re: Synology Disk Station Auto Index
You may have a look into my signature. I developed a script for Synology which correct special character issue but also optionally index the files.
Synology Model: DS-916+
Firmware Version: DSM 6.2.3-25426 Update 2
HDD Model: 3xSeagate ST4000VN008 4To - SHR + 1x256Go SSD - cache
Firmware Version: DSM 6.2.3-25426 Update 2
HDD Model: 3xSeagate ST4000VN008 4To - SHR + 1x256Go SSD - cache