Page 1 of 1
How to let serviio passively watch the shared folders?

Posted:
Fri Feb 08, 2013 11:38 am
by tylerdurden83
Probably a silly question, but I don't understand how to let serviio create a watcher service on the folders that I selected.
If, under Library Status, i tick the checkbox:
Keep library automatically updated Refresh interval (minutes): 5
Then if I add a new file to one of my shared folders it will show up via my ps3 dlna server, but that will cause ffmpeg to run regularly thus preventing my hdd to ever spin down.
If i untick that checkbox, my hdd spin down, but it will never be added to serviio's library.
This happens on my Qnap nas (x86) using the following, most recent, qpkg:
Serviio v1.1_b10 - Release date - 24.12.2012
What am I doing wrong?
Thanks all,
TD
Re: How to let serviio passively watch the shared folders?

Posted:
Fri Feb 08, 2013 12:48 pm
by zip
This is how it works. The automated check will check your shared folders for any new/updated files actively.
Re: How to let serviio passively watch the shared folders?

Posted:
Fri Feb 08, 2013 1:34 pm
by tylerdurden83
So you mean that I have to choose between disks never spinning down / staying asleep for the hours I spend at work and dont use the nas and manually updating the library every time I add one more file to the shares?
My currently active twonkymedia has push updated and don't prevent hdd spindowns, I can't achieve the same with serviio?
Re: How to let serviio passively watch the shared folders?

Posted:
Fri Feb 08, 2013 7:02 pm
by zip
No you can't, it's a java app and doesn't have low level OS access
Re: How to let serviio passively watch the shared folders?

Posted:
Sat Feb 09, 2013 3:46 am
by grolschie
You can set the update interval to be longer than 5 minutes, e.g once a day. Or disable the automatic refresh and manually refresh as needed.
Re: How to let serviio passively watch the shared folders?

Posted:
Sun Feb 10, 2013 8:35 pm
by tylerdurden83
zip wrote:No you can't, it's a java app and doesn't have low level OS access
I've developed software with watchers jars found on the net under jdk 6, and now with 7 it's even part of the official jdk. Do you plan to add said feature? Shouldn't be the hardest thing I reckon
Re: How to let serviio passively watch the shared folders?

Posted:
Tue Feb 12, 2013 5:35 pm
by zip
tylerdurden83 wrote:zip wrote:No you can't, it's a java app and doesn't have low level OS access
I've developed software with watchers jars found on the net under jdk 6, and now with 7 it's even part of the official jdk. Do you plan to add said feature? Shouldn't be the hardest thing I reckon
There is an open ticket to do something like that. BUt the JDK7 functionality ha been deemed as not suitable, as it doesn't pick up file events os remote drives (someone on the forum posted about it)
edit: here is the link:
viewtopic.php?f=3&t=5340#p38164