Post Reply 
Feature Request: Re-Scan/inotify
24-04-2012, 14:54
Post: #6
RE: Feature Request: Re-Scan/inotify
(24-04-2012 12:03)KoS Wrote:  So i'm back from my holidays :-)

I hope you had a great time!

Quote:that works as expected. but is there a way to restart the server directly from command line, in a non-interactive way, e.g. used by a cron script?

i tried the following which obviously doesn't work:
Code:
echo 'restart' | java -jar /opt/minimserver/lib/minimwatch.jar
MinimWatch 0.31, Copyright (c) 2012 Simon Nash. All rights reserved.
Enter command (? for help), or null to exit:
>Command not available while waiting for media server: restart
>command input not available
Remote media server application is active
MinimServer is running

This is caused by the "restart" command arriving before MinimWatch has located the MinimServer instance that it's controlling.

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?

Quote:e.g. Kinksy on Windows & iOS

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.

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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Feature Request: Re-Scan/inotify - simoncn - 24-04-2012 14:54

Forum Jump:


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