Post Reply 
Feature Request: Re-Scan/inotify
24-04-2012, 17:55
Post: #7
RE: Feature Request: Re-Scan/inotify
(24-04-2012 14:54)simoncn Wrote:  I hope you had a great time!
sailing in the carribean, it was great. haven't done any sailing before so it was really exciting!

Quote:A simple solution would be to add a new MinimWatch command "sleep <n>" to sleep for <n> seconds. You could include this in the echo string to provide the necessary delay. Would this be suitable?
i thought also about that, but somehow i don't know how to combine the two so that i works like it should:

Code:
sleep 5; echo 'restart' | java -jar /opt/minimserver/lib/minimwatch.jar
the sleep here delays the whole execution/start of minimwatch and not only the echo command :-(
if there are multiple minimserver on the network, will then always the local one be choosen as the first? so that the restart command restart the local one?
or would it be possible to make it like for other unix daemons where a SIGHUP signal to the minimserver would force it to reload, or rescan, the media library?

Quote:Kinsky works as you say on Windows. On iOS, if you browse up the hierarchy, Kinsky doesn't refresh what's displayed. So if you're looking at the contents of an album, and you browse up to the list of all albums, you'll see an old list of albums instead of a current list. If you browse down the hierarchy, Kinsky iOS does refresh the contents.
hmm.. strange, i'll test it again on my setup here with the iPad because i was sure it was refreshing the whole list.

Quote:I've been thinking about auto-refresh, and I can see that this would be a useful addition to MinimServer (when using a control point that does the same thing). Unfortunately it would be a lot of work to implement this because of some aspects of the design of MinimServer, so I can't say if or when it would be supported.
i think i can live with it if it's possible to force the rescan by a script. so i can write an inotify-script that then forces the rescan.

i'll add some bug reports & feature requests as separate threads, i hope thats fine?

thanks for your help!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Feature Request: Re-Scan/inotify - KoS - 24-04-2012 17:55

Forum Jump:


User(s) browsing this thread: 1 Guest(s)