NAS Synology does't go into sleep mode.
I noticed, that after installing Serviio, stopped working NAS sleep mode. NAS simply does not have time to go to sleep. Perhaps, periodical scan for new files (5 min) prevents NAS goes to sleep (set to 30 min)? If you set the scan time to 30 min and sleep mode to 10 min, NAS falls asleep, but wakes up after 30 minutes.
And i think, it may be better to use inotify to determine real changes in the file system (as system events)? Inotify can be used as a condition to run periodic scans or even instead it. I know, that this Linux kernel subsystem successfully working on Synology NAS and used by Synology Media Server and minidlna. I'm certainly not a programmer, but I think, to the function of a periodic scan, you can add a condition to scan for a new files only after a real changes occurred in the shared directories, this will prevent the empty requests. The same function, you can track changes of the existing files in the shared directories. What do you think, will it work?
P.S: Sorry for my "english"
Yuriy.
And i think, it may be better to use inotify to determine real changes in the file system (as system events)? Inotify can be used as a condition to run periodic scans or even instead it. I know, that this Linux kernel subsystem successfully working on Synology NAS and used by Synology Media Server and minidlna. I'm certainly not a programmer, but I think, to the function of a periodic scan, you can add a condition to scan for a new files only after a real changes occurred in the shared directories, this will prevent the empty requests. The same function, you can track changes of the existing files in the shared directories. What do you think, will it work?
P.S: Sorry for my "english"

Yuriy.